From: Steffen Förster Date: Mon, 23 Dec 2019 21:48:06 +0000 (+0100) Subject: ramips: add support for TP-Link RE305 v1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c8d5efea4f5d635579fe750c9e72fb9cb2eb2b6;p=project%2Ffirmware-utils.git ramips: add support for TP-Link RE305 v1 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 --- diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 29ffae8..3b17eba 100644 --- a/src/tplink-safeloader.c +++ b/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",