From 0ac00c931cc6f0c8a1b9a546f6d9aaa275e8959a Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 4 Jan 2017 22:19:30 +0800 Subject: sunxi: use fwtool for checking sdcard images To achieve this, device tree compatible string was used as boardname and the value of it will be checked against supported_devices list. It should be noted that we do not distinguish between sun5i-a13-olimex-som and sun5i-a13-olinuxino as they share the same dts file. The other thing is that we need to gunzip the generated firmware to do fwtool check. Signed-off-by: Yousong Zhou --- target/linux/sunxi/base-files/etc/board.d/02_network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/sunxi/base-files/etc') diff --git a/target/linux/sunxi/base-files/etc/board.d/02_network b/target/linux/sunxi/base-files/etc/board.d/02_network index 74fa2a0e6d..2b18748c6f 100755 --- a/target/linux/sunxi/base-files/etc/board.d/02_network +++ b/target/linux/sunxi/base-files/etc/board.d/02_network @@ -9,10 +9,10 @@ board_config_update case "$( sunxi_board_name )" in -"olinuxino-micro"*) +"olimex,a20-olinuxino-micro") ucidef_set_interface_lan 'wlan0' ;; -"lamobo-r1") +"lamobo,lamobo-r1") ucidef_add_switch "switch0" \ "4:lan:1" "0:lan:2" "1:lan:3" "2:lan:4" "3:wan" "8@eth0" ;; -- cgit v1.2.3