.last_sysupgrade_partition = "file-system"
},
+ /** Firmware layout for the A7-V5 */
+ {
+ .id = "ARCHER-A7-V5",
+ .support_list =
+ "SupportList:\n"
+ "{product_name:Archer A7,product_ver:5.0.0,special_id:45550000}\n"
+ "{product_name:Archer A7,product_ver:5.0.0,special_id:55530000}\n"
+ "{product_name:Archer A7,product_ver:5.0.0,special_id:43410000}\n"
+ "{product_name:Archer A7,product_ver:5.0.0,special_id:4A500000}\n"
+ "{product_name:Archer A7,product_ver:5.0.0,special_id:54570000}\n",
+ .support_trail = '\x00',
+ .soft_ver = "soft_ver:1.0.0\n",
+
+ /* We're using a dynamic kernel/rootfs split here */
+ .partitions = {
+ {"factory-boot", 0x00000, 0x20000},
+ {"fs-uboot", 0x20000, 0x20000},
+ {"firmware", 0x40000, 0xec0000}, /* Stock: name os-image base 0x40000 size 0x120000 */
+ /* Stock: name file-system base 0x160000 size 0xda0000 */
+ {"default-mac", 0xf40000, 0x00200},
+ {"pin", 0xf40200, 0x00200},
+ {"device-id", 0xf40400, 0x00100},
+ {"product-info", 0xf40500, 0x0fb00},
+ {"soft-version", 0xf50000, 0x00100},
+ {"extra-para", 0xf51000, 0x01000},
+ {"support-list", 0xf52000, 0x0a000},
+ {"profile", 0xf5c000, 0x04000},
+ {"default-config", 0xf60000, 0x10000},
+ {"user-config", 0xf70000, 0x40000},
+ {"certificate", 0xfb0000, 0x10000},
+ {"partition-table", 0xfc0000, 0x10000},
+ {"log", 0xfd0000, 0x20000},
+ {"radio", 0xff0000, 0x10000},
+ {NULL, 0, 0}
+ },
+
+ .first_sysupgrade_partition = "os-image",
+ .last_sysupgrade_partition = "file-system",
+ },
+
/** Firmware layout for the C25v1 */
{
.id = "ARCHER-C25-V1",
.last_sysupgrade_partition = "file-system",
},
+ /** Firmware layout for the C6v2 */
+ {
+ .id = "ARCHER-C6-V2",
+ .vendor = "",
+ .support_list =
+ "SupportList:\r\n"
+ "{product_name:Archer C6,product_ver:2.0.0,special_id:45550000}\r\n"
+ "{product_name:Archer C6,product_ver:2.0.0,special_id:52550000}\r\n"
+ "{product_name:Archer C6,product_ver:2.0.0,special_id:4A500000}\r\n",
+ .support_trail = '\x00',
+ .soft_ver = "soft_ver:1.0.0\n",
+
+ .partitions = {
+ {"fs-uboot", 0x00000, 0x20000},
+ {"default-mac", 0x20000, 0x00200},
+ {"pin", 0x20200, 0x00100},
+ {"product-info", 0x20300, 0x00200},
+ {"device-id", 0x20500, 0x0fb00},
+ {"firmware", 0x30000, 0x7a9400},
+ {"soft-version", 0x7d9400, 0x00100},
+ {"extra-para", 0x7d9500, 0x00100},
+ {"support-list", 0x7d9600, 0x00200},
+ {"profile", 0x7d9800, 0x03000},
+ {"default-config", 0x7dc800, 0x03000},
+ {"partition-table", 0x7df800, 0x00800},
+ {"user-config", 0x7e0000, 0x0c000},
+ {"certificate", 0x7ec000, 0x04000},
+ {"radio", 0x7f0000, 0x10000},
+ {NULL, 0, 0}
+ },
+
+ .first_sysupgrade_partition = "os-image",
+ .last_sysupgrade_partition = "file-system",
+ },
+
+
/** Firmware layout for the C60v1 */
{
.id = "ARCHER-C60-V1",
.support_list =
"SupportList:\n"
"{product_name:Archer C7,product_ver:5.0.0,special_id:00000000}\n"
- "{product_name:Archer C7,product_ver:5.0.0,special_id:55530000}\n",
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:45550000}\n"
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:55530000}\n"
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:43410000}\n"
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:4A500000}\n"
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:54570000}\n"
+ "{product_name:Archer C7,product_ver:5.0.0,special_id:52550000}\n",
.support_trail = '\x00',
.soft_ver = "soft_ver:1.0.0\n",
strcasecmp(info->id, "TLWR1043NV5") == 0) {
const char mdat[11] = {0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00};
parts[5] = put_data("extra-para", mdat, 11);
- } else if (strcasecmp(info->id, "ARCHER-C7-V4") == 0 || strcasecmp(info->id, "ARCHER-C7-V5") == 0) {
+ } else if (strcasecmp(info->id, "ARCHER-A7-V5") == 0 || strcasecmp(info->id, "ARCHER-C7-V4") == 0 || strcasecmp(info->id, "ARCHER-C7-V5") == 0) {
const char mdat[11] = {0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0xca, 0x00, 0x01, 0x00, 0x00};
parts[5] = put_data("extra-para", mdat, 11);
+ } else if (strcasecmp(info->id, "ARCHER-C6-V2") == 0) {
+ const char mdat[11] = {0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00};
+ parts[5] = put_data("extra-para", mdat, 11);
}
size_t len;