[PATCH firmware-utils] tplink-safeloader: add RE365 v1
Tomasz Maciej Nowak
tmn505 at terefe.re
Thu Dec 21 13:15:01 PST 2023
From: Tomasz Maciej Nowak <tmn505 at gmail.com>
Partition layout same as RE305 v1. Values extracted from vendor
firmware. This will only be used for creating factory image.
Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
---
src/tplink-safeloader.c | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c
index 695550f287c8..3dc470d93ec7 100644
--- a/src/tplink-safeloader.c
+++ b/src/tplink-safeloader.c
@@ -2989,6 +2989,44 @@ static struct device_info boards[] = {
.last_sysupgrade_partition = "file-system"
},
+ /** Firmware layout for the RE365 v1 */
+ {
+ .id = "RE365",
+ .vendor = "",
+ .support_list =
+ "SupportList:\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:45550000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:55530000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:4a500000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:42520000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:4b520000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:41550000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:43410000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:54570000}\r\n"
+ "{product_name:RE365,product_ver:1.0.0,special_id:41530000}\r\n",
+ .part_trail = 0x00,
+ .soft_ver = SOFT_VER_DEFAULT,
+
+ .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 RE450 */
{
.id = "RE450",
--
2.43.0
More information about the openwrt-devel
mailing list