diff options
author | John Crispin <john@openwrt.org> | 2014-10-29 11:01:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-29 11:01:17 +0000 |
commit | d0bf15f235951973836da586c05693c0563ed4f2 (patch) | |
tree | f6768a2a467f63d8c8a3b48a5970fb7ca70e8d83 /target/linux/ramips/base-files | |
parent | 9762c549149e1226a3affe43df71aa14379bd5d5 (diff) | |
download | upstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.gz upstream-d0bf15f235951973836da586c05693c0563ed4f2.tar.bz2 upstream-d0bf15f235951973836da586c05693c0563ed4f2.zip |
ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission)
Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)
Signed-off-by: Gareth Bryan <gareth@mx9.org>
SVN-Revision: 43102
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 | \ |