diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 13f5353..afe123d 100644 --- a/src/tplink-safeloader.c +++ b/src/tplink-safeloader.c @@ -925,6 +925,52 @@ static struct device_info boards[] = { .first_sysupgrade_partition = "os-image", .last_sysupgrade_partition = "file-system" }, + { + .id = "C2600M64", + .vendor = "", + .support_list = + "SupportList:\r\n" + "{product_name:Archer C2600M64,product_ver:1.0.0,special_id:00000000}\r\n", + .part_trail = 0x00, + .soft_ver = SOFT_VER_DEFAULT, + + /** + We use a bigger os-image partition than the stock images (and thus + smaller file-system), as our kernel doesn't fit in the stock firmware's + 2 MB os-image since kernel 4.14. + */ + .partitions = { + {"SBL1", 0x00000, 0x20000}, + {"MIBIB", 0x20000, 0x20000}, + {"SBL2", 0x40000, 0x20000}, + {"SBL3", 0x60000, 0x30000}, + {"DDRCONFIG", 0x90000, 0x10000}, + {"SSD", 0xa0000, 0x10000}, + {"TZ", 0xb0000, 0x30000}, + {"RPM", 0xe0000, 0x20000}, + {"fs-uboot", 0x100000, 0x70000}, + {"uboot-env", 0x170000, 0x40000}, + {"radio", 0x1b0000, 0x40000}, + {"os-image", 0x1f0000, 0x400000}, /* Stock: base 0x1f0000 size 0x200000 */ + {"file-system", 0x5f0000, 0x3900000}, /* Stock: base 0x3f0000 size 0x1b00000 */ + {"default-mac", 0x3ef0000, 0x00200}, + {"pin", 0x3ef0200, 0x00200}, + {"product-info", 0x3ef0400, 0x0fc00}, + {"partition-table", 0x3f00000, 0x10000}, + {"soft-version", 0x3f10000, 0x10000}, + {"support-list", 0x3f20000, 0x10000}, + {"profile", 0x3f30000, 0x10000}, + {"default-config", 0x3f40000, 0x10000}, + {"user-config", 0x3f50000, 0x40000}, + {"qos-db", 0x3f90000, 0x40000}, + {"usb-config", 0x3fd0000, 0x10000}, + {"log", 0x3fe0000, 0x20000}, + {NULL, 0, 0} + }, + + .first_sysupgrade_partition = "os-image", + .last_sysupgrade_partition = "file-system" + }, /** Firmware layout for the A7-V5 */ {