2
0
forked from Ivasoft/openwrt

sunxi: add support for Lamobo R1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
This commit is contained in:
Zoltan Herpai
2015-01-30 00:17:16 +00:00
parent 45e8630a4f
commit 7146957461
6 changed files with 293 additions and 1 deletions

View File

@@ -16,6 +16,12 @@ case "$( sunxi_board_name )" in
"olinuxino-micro"*)
ucidef_set_interface_lan 'wlan0'
;;
"lamobo-r1")
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "4 0 1 2 8t"
ucidef_add_switch_vlan "switch0" "2" "3 8t"
;;
*)
ucidef_set_interface_lan 'eth0'
;;

View File

@@ -105,6 +105,10 @@ sunxi_board_detect() {
board="i12-tvbox"
;;
"Lamobo R1")
board="lamobo-r1"
;;
"Olimex A20-OLinuXino-LIME")
board="olinuxino-lime"
;;