diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2016-10-08 03:36:35 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-11-21 10:05:40 +0100 |
commit | e33dcd1cfe105cb0e1ad09887144e4911eac653f (patch) | |
tree | c51e1a2a3d0ffbb7f1dfb74414b9911eda6a3430 /target/linux/ar71xx/base-files | |
parent | dcceea4fd3ac40db872a4feec23f656fa60fd0b3 (diff) | |
download | upstream-e33dcd1cfe105cb0e1ad09887144e4911eac653f.tar.gz upstream-e33dcd1cfe105cb0e1ad09887144e4911eac653f.tar.bz2 upstream-e33dcd1cfe105cb0e1ad09887144e4911eac653f.zip |
ar71xx: add support for YunCore CPE830
CPE830 is a clone of AP90Q, with different type of antenna (panel)
and additional 4 LEDs for WiFi signal level indication.
Use the same flash approach as for YunCore AP90Q.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 7 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 2cf72d61d3..383695ca87 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -58,6 +58,7 @@ ap147-010) ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt" ;; ap90q|\ +cpe830|\ cpe870|\ dr531) ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" @@ -67,6 +68,7 @@ dr531) ap90q) ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" ;; + cpe830|\ cpe870) ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" ucidef_set_rssimon "wlan0" "200000" "1" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index e619749609..b18a096b59 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -48,6 +48,7 @@ get_status_led() { status_led="$board:green:power" ;; ap90q|\ + cpe830|\ cpe870|\ gl-inet) status_led="$board:green:lan" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 0d4c1e0a49..37af9d44d4 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -526,6 +526,9 @@ ar71xx_board_detect() { name="cpe510" tplink_pharos_board_detect ;; + *CPE830) + name="cpe830" + ;; *CPE870) name="cpe870" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 66f630884f..887a0f0c1e 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -188,6 +188,7 @@ platform_check_image() { cf-e380ac-v2|\ cf-e520n|\ cf-e530n|\ + cpe830|\ cpe870|\ dgl-5500-a1|\ dhp-1565-a1|\ |