From 05c0fad1af06a641dc59f5f6656f29da91bf102c Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 11 Mar 2019 18:50:42 +0100 Subject: [PATCH] ath79: add support for TP-Link RE350K v1 TP-Link RE350K v1 (FCC ID: TE7RE350K) is a wall-plug AC1200 Wi-Fi range extender with 'Kasa Smart' support. Device is based on Qualcomm/Atheros QCA9558 + QCA9882 + AR8035 platform and is available only on US market. Specification: - 720/600/200 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of flash (SPI NOR) - 1x 1 Gbps Ethernet (AR8035) - 2T2R 2.4 GHz (QCA9558), with ext. PA (SE2565T) and LNA (SKY65971-11) - 2T2R 5 GHz (QCA9882), with ext. PA (SE5003L1-R) and LNA (SKY65981-11) - 2x U.FL connector on PCB - 2x dual-band PCB antennas - 1x LED, 2x dual-color LED (all driven by GPIO) - 3x button (app config, led, reset) - 1x mechanical on/off slide switch - 1x UART (4-pin, 2.54 mm pitch) header on PCB - 1x JTAG (8-pin, 1.27 mm pitch) header on PCB Flash instruction: Use 'factory' image directly in vendor GUI (default IP: 192.168.0.254, default credentials: admin/admin). Warning: This device does not include any kind of recovery mechanism in U-Boot. Vendor firmware access: You can access vendor firmware over serial (RX line requires jumper resistor in R306 place, near XTAL) with: root/sohoadmin credentials. Signed-off-by: Piotr Dymacz --- src/tplink-safeloader.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 075cd8a..c2aa296 100644 --- a/src/tplink-safeloader.c +++ b/src/tplink-safeloader.c @@ -1144,6 +1144,38 @@ static struct device_info boards[] = { .last_sysupgrade_partition = "file-system" }, + /** Firmware layout for the RE350K v1 */ + { + .id = "RE350K-V1", + .vendor = "", + .support_list = + "SupportList:\n" + "{product_name:RE350K,product_ver:1.0.0,special_id:00000000,product_region:US}\n", + .support_trail = '\x00', + .soft_ver = NULL, + + /** We're using a dynamic kernel/rootfs split here */ + .partitions = { + {"fs-uboot", 0x00000, 0x20000}, + {"firmware", 0x20000, 0xd70000}, + {"partition-table", 0xd90000, 0x02000}, + {"default-mac", 0xda0000, 0x00020}, + {"pin", 0xda0100, 0x00020}, + {"product-info", 0xda1100, 0x01000}, + {"soft-version", 0xdb0000, 0x01000}, + {"support-list", 0xdb1000, 0x01000}, + {"profile", 0xdb2000, 0x08000}, + {"user-config", 0xdc0000, 0x10000}, + {"default-config", 0xdd0000, 0x10000}, + {"device-id", 0xde0000, 0x00108}, + {"radio", 0xff0000, 0x10000}, + {NULL, 0, 0} + }, + + .first_sysupgrade_partition = "os-image", + .last_sysupgrade_partition = "file-system" + }, + /** Firmware layout for the RE355 */ { .id = "RE355", -- 2.30.2