[OpenWrt-Devel] [RFC v2] [zynq] Add new target zynq

Felix Fietkau nbd at openwrt.org
Tue Jan 19 03:59:08 EST 2016

On 2016-01-19 08:46, Jason Wu wrote:
> Hi Felix,
> Thanks for reviewing the patch. please see my reply inline.

>> If you adjust your other scripts to be able to deal with names like
>> "xlnx,zynq-zc702", you can drop this script and let the default sysinfo
>> script take care of things.
> Sorry for the newbie question, so the sysinfo get this board name base 
> on the dts root node's compatible binding?

> This file will be removed and i will make the network script to read 
> /tmp/sysinfo/board_name if board variable is empty. e.g
> board=${board:-$(cat /tmp/sysinfo/board_name)}
If you remove the zynq.sh, the variable will always be empty. So you can
just do:
case "$(cat /tmp/sysinfo/board_name)" in

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list