2
0
forked from Ivasoft/openwrt

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 <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2017-01-04 22:19:30 +08:00
committed by Felix Fietkau
parent 5ece16fd23
commit 0ac00c931c
5 changed files with 19 additions and 153 deletions

View File

@@ -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"
;;