diff options
author | Zhao Gang <gang.zhao.42@gmail.com> | 2016-07-15 10:00:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-07-20 00:21:48 +0200 |
commit | d963ddf0424a551e5fadd561c934bfdb5d198764 (patch) | |
tree | f1169f5e1ca6165d9a7953bea25625a939a524af /target/linux/ar71xx/base-files/etc | |
parent | 6c2651566cce8f5b3a3d3b976439dee2bac5e07e (diff) | |
download | upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.gz upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.tar.bz2 upstream-d963ddf0424a551e5fadd561c934bfdb5d198764.zip |
ar71xx: add support for gl-ar300m
This add initial support for gl-ar300m router.
Product page: http://www.gl-inet.com/ar300m/
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 77bed5b73e..1254c711f4 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -262,6 +262,10 @@ gl-ar300) ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt" ;; +gl-ar300m) + ucidef_set_led_wlan "wlan" "WLAN" "gl-ar300m:wlan" "phy0tpt" + ;; + gl-domino) ucidef_set_led_wlan "wlan" "WLAN" "domino:blue:wlan" "phy0tpt" ;; diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 667d228410..301304ac3b 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -391,6 +391,7 @@ alfa-ap96 |\ alfa-nx |\ ap83 |\ gl-ar150 |\ +gl-ar300m |\ gl-domino |\ gl-inet |\ jwap003 |\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f517f9bad3..71ebf89cd9 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -451,6 +451,9 @@ set_state() { done) status_led_on case $(ar71xx_board_name) in + gl-ar300m) + fw_printenv lc >/dev/null 2>&1 && fw_setenv "bootcount" 0 + ;; qihoo-c301) local n=$(fw_printenv activeregion | cut -d = -f 2) fw_setenv "image${n}trynum" 0 |