From: timnoack Date: Sun, 13 Oct 2024 08:49:14 +0000 (+0200) Subject: tplink-safeloader: add support for cpe710-v2 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ca444f1fa5d58255f5663d0705ccbdab024017df;p=project%2Ffirmware-utils.git tplink-safeloader: add support for cpe710-v2 TP-Link CPE710-v2 is an outdoor wireless CPE for 5 GHz with one Ethernet port based on the AP152 reference board. In contrast to the CPE710-v1, the factory firmware updater expects the software version to be > 0.0.X and the compatibility level to be >= 1. Specifications: - SoC: QCA9563-AL3A MIPS 74kc @ 775MHz, AHB @ 258MHz - RAM: 128MiB DDR2 @ 650MHz - Flash: 16MiB SPI NOR Based on the GD25Q128 - Wi-Fi 5Ghz: ath10k chip (802.11ac for up to 867Mbps on 5GHz wireless data rate), based on the QCA9896 - Ethernet: one 1GbE port - 23dBi high-gain directional 2×2 MIMO parabolic antenna - Power, LAN, WLAN5G Blue LEDs Flashing instructions: 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 30-40 seconds and release. Rename factory image to recovery.bin Stock TFTP server IP:192.168.0.100 Stock device TFTP address:192.168.0.254 Signed-off-by: Tim Noack --- diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index af6211b..9b2f7d0 100644 --- a/src/tplink-safeloader.c +++ b/src/tplink-safeloader.c @@ -669,6 +669,44 @@ static struct device_info boards[] = { .first_sysupgrade_partition = "os-image", .last_sysupgrade_partition = "support-list", }, + /** Firmware layout for the CPE710 V2 */ + { + .id = "CPE710V2", + .vendor = "CPE710(TP-LINK|UN|AC866-5|00000000):2.0\r\n", + .support_list = + "SupportList:\r\n" + "CPE710(TP-LINK|UN|AC866-5|00000000):2.0\r\n" + "CPE710(TP-LINK|EU|AC866-5|45550000):2.0\r\n" + "CPE710(TP-LINK|US|AC866-5|55530000):2.0\r\n" + "CPE710(TP-LINK|UN|AC866-5):2.0\r\n" + "CPE710(TP-LINK|EU|AC866-5):2.0\r\n" + "CPE710(TP-LINK|US|AC866-5):2.0\r\n", + .part_trail = 0xff, + .soft_ver = SOFT_VER_NUMERIC(1, 0, 0), + .soft_ver_compat_level = 1, + + .partitions = { + {"fs-uboot", 0x00000, 0x50000}, + {"partition-table", 0x50000, 0x02000}, + {"default-mac", 0x60000, 0x00020}, + {"serial-number", 0x60100, 0x00020}, + {"product-info", 0x61100, 0x00100}, + {"device-info", 0x61400, 0x00400}, + {"signature", 0x62000, 0x00400}, + {"device-id", 0x63000, 0x00100}, + {"firmware", 0x70000, 0xf40000}, + {"soft-version", 0xfb0000, 0x00100}, + {"support-list", 0xfb1000, 0x01000}, + {"user-config", 0xfc0000, 0x10000}, + {"default-config", 0xfd0000, 0x10000}, + {"log", 0xfe0000, 0x10000}, + {"radio", 0xff0000, 0x10000}, + {NULL, 0, 0} + }, + + .first_sysupgrade_partition = "os-image", + .last_sysupgrade_partition = "support-list", + }, { .id = "WBS210",