From 99f6f2c0b8cbeb0c6ba464e080ab039984444f1f Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sat, 11 Aug 2018 17:32:48 +0200 Subject: ar71xx: Add support for TP-Link CPE210 v3 Looks identical to the v2. This PR adds support for a popular low-cost 2.4GHz N based AP Specifications: - SoC: Qualcomm Atheros QCA9533 (650MHz) - RAM: 64MB - Storage: 8 MB SPI NOR - Wireless: 2.4GHz N based built into SoC 2x2 - Ethernet: 1x 100/10 Mbps, integrated into SoC, 24V POE IN Installation: Flash factory image through stock firmware WEB UI or through TFTP To get to TFTP recovery just hold reset button while powering on for around 4-5 seconds and release. Rename factory image to recovery.bin Stock TFTP server IP:192.168.0.100 Stock device TFTP adress:192.168.0.254 Tested-by: Adrian Schmutzler Signed-off-by: Robert Marko [Rebased, adjusted for separate tplink-safeloader entry, dynamic partitioning] Signed-off-by: Adrian Schmutzler --- target/linux/ar71xx/image/generic-tp-link.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'target/linux/ar71xx/image') diff --git a/target/linux/ar71xx/image/generic-tp-link.mk b/target/linux/ar71xx/image/generic-tp-link.mk index 7df1025eec..c38108775c 100644 --- a/target/linux/ar71xx/image/generic-tp-link.mk +++ b/target/linux/ar71xx/image/generic-tp-link.mk @@ -200,6 +200,21 @@ define Device/cpe210-v2 endef TARGET_DEVICES += cpe210-v2 +define Device/cpe210-v3 + $(Device/tplink-safeloader) + DEVICE_TITLE := TP-LINK CPE210 v3 + BOARDNAME := CPE210V3 + TPLINK_BOARD_ID := CPE210V3 + TPLINK_HWID := 0x0 + TPLINK_HWREV := 0 + MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro + IMAGE_SIZE := 7680k + KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O + KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header + DEVICE_PACKAGES := rssileds +endef +TARGET_DEVICES += cpe210-v3 + define Device/wbs210-v1 $(Device/cpe510-520-v1) DEVICE_TITLE := TP-LINK WBS210 v1 -- cgit v1.2.3