From: Tomasz Maciej Nowak Date: Thu, 21 Dec 2023 21:15:01 +0000 (+0100) Subject: tplink-safeloader: add RE365 v1 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=9067281d17dab45f88f0b87dc762e6314cdfb275;p=project%2Ffirmware-utils.git tplink-safeloader: add RE365 v1 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 --- diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 695550f..3dc470d 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",