diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2015-01-30 00:17:16 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2015-01-30 00:17:16 +0000 |
commit | 7146957461eacd64fe6e2e6a789fe854b742a655 (patch) | |
tree | 818fecc843a84a753f638ca464f003403aa8b882 /target/linux/sunxi/base-files | |
parent | 45e8630a4fd6411ac57683c92a7222a2391543fe (diff) | |
download | upstream-7146957461eacd64fe6e2e6a789fe854b742a655.tar.gz upstream-7146957461eacd64fe6e2e6a789fe854b742a655.tar.bz2 upstream-7146957461eacd64fe6e2e6a789fe854b742a655.zip |
sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44214
Diffstat (limited to 'target/linux/sunxi/base-files')
-rw-r--r-- | target/linux/sunxi/base-files/etc/uci-defaults/02_network | 6 | ||||
-rw-r--r-- | target/linux/sunxi/base-files/lib/sunxi.sh | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/sunxi/base-files/etc/uci-defaults/02_network b/target/linux/sunxi/base-files/etc/uci-defaults/02_network index d801677958..372fed9e26 100644 --- a/target/linux/sunxi/base-files/etc/uci-defaults/02_network +++ b/target/linux/sunxi/base-files/etc/uci-defaults/02_network @@ -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' ;; diff --git a/target/linux/sunxi/base-files/lib/sunxi.sh b/target/linux/sunxi/base-files/lib/sunxi.sh index d4dd9fedc4..444c7e972d 100644 --- a/target/linux/sunxi/base-files/lib/sunxi.sh +++ b/target/linux/sunxi/base-files/lib/sunxi.sh @@ -105,6 +105,10 @@ sunxi_board_detect() { board="i12-tvbox" ;; + "Lamobo R1") + board="lamobo-r1" + ;; + "Olimex A20-OLinuXino-LIME") board="olinuxino-lime" ;; |