diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 9 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 7 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 11 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 3 |
4 files changed, 28 insertions, 2 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 2a1138c443..4490c095f0 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -115,6 +115,15 @@ cf-e316n-v2) ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt" ;; +cf-e320n-v2) + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" + ucidef_set_led_netdev "wan" "WAN" "$board:red:wan" "eth1" + ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt" + ;; +cf-e520n|\ +cf-e530n) + ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1" + ;; cpe210|\ cpe510) ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index bfd619a211..e1e76a44f6 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -86,9 +86,14 @@ get_status_led() { cap4200ag) status_led="senao:green:pwr" ;; - cf-e316n-v2) + cf-e316n-v2|\ + cf-e520n|\ + cf-e530n) status_led="$board:blue:wan" ;; + cf-e320n-v2) + status_led="$board:blue:wlan" + ;; cpe510) status_led="tp-link:green:link4" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 9495bf449a..0b82d83845 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -497,9 +497,18 @@ ar71xx_board_detect() { *CAP4200AG) name="cap4200ag" ;; - *"COMFAST CF-E316N v2") + *"CF-E316N v2") name="cf-e316n-v2" ;; + *"CF-E320N v2") + name="cf-e320n-v2" + ;; + *CF-E520N) + name="cf-e520n" + ;; + *CF-E530N) + name="cf-e530n" + ;; *"CPE210/220") name="cpe210" tplink_pharos_board_detect diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 2358c58c8f..fa12870abd 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -182,6 +182,9 @@ platform_check_image() { c-55|\ carambola2|\ cf-e316n-v2|\ + cf-e320n-v2|\ + cf-e520n|\ + cf-e530n|\ dgl-5500-a1|\ dhp-1565-a1|\ dir-505-a1|\ |