diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 7ca7ffb0fd..4a482b38fd 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -27,6 +27,9 @@ case $board in 3g300m) set_usb_led "tenda:blue:3g" ;; + a5-v11) + ucidef_set_led_default "power" "POWER" "a5-v11:red:power" "1" + ;; air3gii) set_wifi_led "airlive:green:wlan" set_usb_led "airlive:green:mobile" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index ff8fbc079d..6510b1ae90 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -37,6 +37,12 @@ ramips_setup_interfaces() ucidef_set_interface_loopback case $board in + a5-v11) + ucidef_set_interface_lan "eth0.1" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 6t" + ;; + 3g300m | \ w150m | \ all0256n | \ @@ -252,6 +258,7 @@ ramips_setup_macs() lan_mac=$(macaddr_add "$lan_mac" -2) ;; + a5-v11 |\ bc2 |\ broadway |\ d105 |\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 88fa623d54..b2b299dc51 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -25,6 +25,9 @@ ramips_board_detect() { *"Edimax 3g-6200nl") name="3g-6200nl" ;; + *"A5-V11") + name="a5-v11" + ;; *"Airlink101 AR725W") name="ar725w" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index c9a418e790..4fe0ef46fa 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -17,6 +17,7 @@ platform_check_image() { 3g-6200n | \ 3g-6200nl | \ 3g300m | \ + a5-v11 | \ air3gii | \ all0239-3g | \ all0256n | \ |