aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sunxi/base-files')
-rw-r--r--target/linux/sunxi/base-files/etc/uci-defaults/02_network6
-rw-r--r--target/linux/sunxi/base-files/lib/sunxi.sh4
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"
;;