From 93a4c8afbff550886c0d8413d219d64dc63d72bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=B6rster?= Date: Mon, 23 Dec 2019 22:48:06 +0100 Subject: ramips: add support for TP-Link RE305 v1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Specification: SoC: MediaTek MT7628AN RAM: 64MiB Flash: 8MiB Wifi: - 2.4GHz: MT7628AN - 5GHz: MT7612EN LAN: 1x 10/100 Mbps Flash instructions: Flash factory image through stock firmware WEB UI. Back to stock is possible by using TFTP and stripping down the Firmware provided by TP-Link to a initramfs. The flash space between 0x650000 and 0x7f0000 is blank in the stock firmware so I left it out as well. Signed-off-by: Steffen Förster --- tools/firmware-utils/src/tplink-safeloader.c | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'tools/firmware-utils/src/tplink-safeloader.c') diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c index 29ffae80ff..3b17eba0b1 100644 --- a/tools/firmware-utils/src/tplink-safeloader.c +++ b/tools/firmware-utils/src/tplink-safeloader.c @@ -1437,6 +1437,42 @@ static struct device_info boards[] = { .last_sysupgrade_partition = "file-system", }, + /** Firmware layout for the RE305 v1 */ + { + .id = "RE305-V1", + .vendor = "", + .support_list = + "SupportList:\n" + "{product_name:RE305,product_ver:1.0.0,special_id:45550000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:55530000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:4a500000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:42520000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:4b520000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:41550000}\n" + "{product_name:RE305,product_ver:1.0.0,special_id:43410000}\n", + .support_trail = '\x00', + .soft_ver = NULL, + + .partitions = { + {"fs-uboot", 0x00000, 0x20000}, + {"firmware", 0x20000, 0x5e0000}, + {"partition-table", 0x600000, 0x02000}, + {"default-mac", 0x610000, 0x00020}, + {"pin", 0x610100, 0x00020}, + {"product-info", 0x611100, 0x01000}, + {"soft-version", 0x620000, 0x01000}, + {"support-list", 0x621000, 0x01000}, + {"profile", 0x622000, 0x08000}, + {"user-config", 0x630000, 0x10000}, + {"default-config", 0x640000, 0x10000}, + {"radio", 0x7f0000, 0x10000}, + {NULL, 0, 0} + }, + + .first_sysupgrade_partition = "os-image", + .last_sysupgrade_partition = "file-system" + }, + /** Firmware layout for the RE350 v1 */ { .id = "RE350-V1", -- cgit v1.2.3