summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-11 12:05:33 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-05-22 11:38:03 +0200
commitdfe2cea9cd1526dec04e941d710308ca4d6026a4 (patch)
tree09316033f554222b332e6b78502b51a8d1635fc5 /tools
parent0bef8f8011d11c66f02551f16b7740c735f188d1 (diff)
downloadmtk-20170518-dfe2cea9cd1526dec04e941d710308ca4d6026a4.zip
mtk-20170518-dfe2cea9cd1526dec04e941d710308ca4d6026a4.tar.gz
mtk-20170518-dfe2cea9cd1526dec04e941d710308ca4d6026a4.tar.bz2
firmware-utils: tplink-safeloader: add support for Archer C5 V2
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index 89a6787..4e3d205 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -293,6 +293,40 @@ static struct device_info boards[] = {
.last_sysupgrade_partition = "file-system"
},
+ /** Firmware layout for the C5 */
+ {
+ .id = "ARCHER-C5-V2",
+ .vendor = "",
+ .support_list =
+ "SupportList:\r\n"
+ "{product_name:ArcherC5,"
+ "product_ver:2.0.0,"
+ "special_id:00000000}\r\n",
+ .support_trail = '\x00',
+
+ .partitions = {
+ {"fs-uboot", 0x00000, 0x40000},
+ {"os-image", 0x40000, 0x200000},
+ {"file-system", 0x240000, 0xc00000},
+ {"default-mac", 0xe40000, 0x00200},
+ {"pin", 0xe40200, 0x00200},
+ {"product-info", 0xe40400, 0x00200},
+ {"partition-table", 0xe50000, 0x10000},
+ {"soft-version", 0xe60000, 0x00200},
+ {"support-list", 0xe61000, 0x0f000},
+ {"profile", 0xe70000, 0x10000},
+ {"default-config", 0xe80000, 0x10000},
+ {"user-config", 0xe90000, 0x50000},
+ {"log", 0xee0000, 0x100000},
+ {"radio_bk", 0xfe0000, 0x10000},
+ {"radio", 0xff0000, 0x10000},
+ {NULL, 0, 0}
+ },
+
+ .first_sysupgrade_partition = "os-image",
+ .last_sysupgrade_partition = "file-system"
+ },
+
/** Firmware layout for the C9 */
{
.id = "ARCHERC9",