aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSteffen Förster <nemesis@chemnitz.freifunk.net>2019-12-23 22:48:06 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-18 19:39:05 +0100
commit93a4c8afbff550886c0d8413d219d64dc63d72bf (patch)
tree5c452d9d400636ba15cdaeb359ba582615945271 /tools
parentc26b687e31b788433091a98b65ddc984e2d227c8 (diff)
downloadupstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.tar.gz
upstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.tar.bz2
upstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.zip
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 <nemesis@chemnitz.freifunk.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c36
1 files changed, 36 insertions, 0 deletions
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",