diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-13 08:07:03 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-13 08:07:03 +0000 |
commit | 14147dd72bc1c54fc7369c4fadf2a41bd9b41571 (patch) | |
tree | c3db114108a295b078679b4109d0d6c32869677c /target/linux/ramips/base-files | |
parent | 2520742c318e8c010174269632060251f6798dd7 (diff) | |
download | upstream-14147dd72bc1c54fc7369c4fadf2a41bd9b41571.tar.gz upstream-14147dd72bc1c54fc7369c4fadf2a41bd9b41571.tar.bz2 upstream-14147dd72bc1c54fc7369c4fadf2a41bd9b41571.zip |
ramips:Add support for Aigale Ai-BR100
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.
Signed-off-by: 郭传鈜 <gch981213@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43681 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 12 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 bd8c779660..9c49c5cda5 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,10 @@ case $board in 3g300m) set_usb_led "tenda:blue:3g" ;; + ai-br100) + ucidef_set_led_netdev "wan" "wan" "aigale:blue:wan" "eth0.2" + set_wifi_led "aigale:blue:wlan" + ;; a5-v11) ucidef_set_led_default "power" "POWER" "a5-v11:red:power" "1" ;; 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 b519cfdd3c..80b5449e05 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -110,6 +110,7 @@ ramips_setup_interfaces() ;; 3g-6200n | \ + ai-br100 | \ dir-610-a1 | \ dir-300-b7 | \ dir-320-b1 | \ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index dfa5468205..f50ae1fe7f 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -12,6 +12,9 @@ get_status_led() { 3g300m | w150m) status_led="tenda:blue:ap" ;; + ai-br100) + status_led="aigale:blue:wlan" + ;; ar670w) status_led="ar670w:green:power" ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index ff5044c615..b4e5d91e86 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -28,6 +28,9 @@ ramips_board_detect() { *"A5-V11") name="a5-v11" ;; + *"Aigale Ai-BR100") + name="ai-br100" + ;; *"Airlink101 AR670W") name="ar670w" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 4962b8b4d0..991d3b556e 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -19,6 +19,7 @@ platform_check_image() { 3g300m | \ a5-v11 | \ air3gii | \ + ai-br100 |\ all0239-3g | \ all0256n | \ all5002 | \ |