aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2016-10-05 02:24:58 +0200
committerJohn Crispin <john@phrozen.org>2016-11-21 10:05:40 +0100
commit31952dbd1c40a2cd015ef435bd64fa9b2bb87eec (patch)
treeffd0698c3b1af01d87e5da710413deabe48a94b4 /target/linux/ar71xx/base-files/lib
parentc380772c19f7fdc77b9aa83f98e5aedc14ac3153 (diff)
downloadupstream-31952dbd1c40a2cd015ef435bd64fa9b2bb87eec.tar.gz
upstream-31952dbd1c40a2cd015ef435bd64fa9b2bb87eec.tar.bz2
upstream-31952dbd1c40a2cd015ef435bd64fa9b2bb87eec.zip
ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N
As we already have support for CF-E316N v2 and many devices from this vendor look similar, the support was included in existing mach-*.c file, with few cleanups and fixes. All 3 devices are based on Qualcomm/Atheros QCA9531 v2. COMFAST CF-E320N v2 is a ceiling mount AP with PoE support. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, both with PoE support - 64 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x RGB LED, 1x button - UART (J1), GPIO (J9) and USB (J2) headers on PCB - external watchdog (Pericon Technology PT7A7514) COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support. They seem to have different only the front panel. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, WAN with PoE support - 1x USB 2.0 (in CF-E520N covered by panel, available on PCB) - 32 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x LED, 1x button - UART (J1) headers on PCB Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh11
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
2 files changed, 13 insertions, 1 deletions
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|\