diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 12 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 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 4eed64b6fc..d1c92c97d2 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -536,6 +536,9 @@ ar71xx_board_detect() { *"GL AR300") name="gl-ar300" ;; + *"GL-AR300M") + name="gl-ar300m" + ;; *"EnGenius EPG5000") name="epg5000" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 119537e651..c5cb4aba35 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -233,6 +233,7 @@ platform_check_image() { ew-dorin-router | \ gl-ar150 | \ gl-ar300 | \ + gl-ar300m | \ gl-domino | \ hiwifi-hc6361 | \ hornet-ub-x2 | \ |