diff options
author | Alex Maclean <monkeh@monkeh.net> | 2017-07-03 21:05:44 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-25 21:02:53 +0200 |
commit | 1c7144f078c98dbf0e6c70c534b98fe6186f19d6 (patch) | |
tree | 8a46cc513bd12e8f4c60d0058760f384016920fa /tools/firmware-utils/src/tplink-safeloader.c | |
parent | ea72f22bdfa0711228a2c2f5289697c6e1ea0ea9 (diff) | |
download | upstream-1c7144f078c98dbf0e6c70c534b98fe6186f19d6.tar.gz upstream-1c7144f078c98dbf0e6c70c534b98fe6186f19d6.tar.bz2 upstream-1c7144f078c98dbf0e6c70c534b98fe6186f19d6.zip |
firmware-utils: tplink-safeloader: add support for TP-Link RE350
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
Diffstat (limited to 'tools/firmware-utils/src/tplink-safeloader.c')
-rw-r--r-- | tools/firmware-utils/src/tplink-safeloader.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c index 73543d5406..dceba75da5 100644 --- a/tools/firmware-utils/src/tplink-safeloader.c +++ b/tools/firmware-utils/src/tplink-safeloader.c @@ -744,6 +744,47 @@ static struct device_info boards[] = { .last_sysupgrade_partition = "file-system", }, + /** Firmware layout for the RE350 v1 */ + { + .id = "RE350-V1", + .vendor = "", + .support_list = + "SupportList:\n" + "{product_name:RE350,product_ver:1.0.0,special_id:45550000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:00000000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:41550000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:55530000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:43410000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:4b520000}\n" + "{product_name:RE350,product_ver:1.0.0,special_id:4a500000}\n", + .support_trail = '\x00', + .soft_ver = NULL, + + /** + The original os-image partition is too small, + so we enlarge it to 1.6M + */ + .partitions = { + {"fs-uboot", 0x00000, 0x20000}, + {"os-image", 0x20000, 0x1a0000}, + {"file-system", 0x1c0000, 0x440000}, + {"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", |