tplink-safeloader: add Archer A6 v2 (RU)
[project/firmware-utils.git] / src / tplink-safeloader.c
index 9f0bb418b6eba63fff4c0dc20c23ed761f87a431..994aed5d1c96932b8cc5b374be71909f71c8b733 100644 (file)
@@ -407,6 +407,7 @@ static struct device_info boards[] = {
                        "CPE510(TP-LINK|UN|N300-5):1.1\r\n"
                        "CPE510(TP-LINK|UN|N300-5):1.1\r\n"
                        "CPE510(TP-LINK|US|N300-5):1.1\r\n"
+                       "CPE510(TP-LINK|CA|N300-5):1.1\r\n"
                        "CPE510(TP-LINK|EU|N300-5):1.1\r\n"
                        "CPE520(TP-LINK|UN|N300-5):1.1\r\n"
                        "CPE520(TP-LINK|US|N300-5):1.1\r\n"
@@ -1218,6 +1219,7 @@ static struct device_info boards[] = {
                .support_list =
                        "SupportList:\r\n"
                        "{product_name:Archer A6,product_ver:2.0.0,special_id:45550000}\r\n"
+                       "{product_name:Archer A6,product_ver:2.0.0,special_id:52550000}\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",
@@ -1371,7 +1373,8 @@ static struct device_info boards[] = {
                .vendor = "",
                .support_list =
                        "SupportList:\n"
-                       "{product_name:Archer C6U,product_ver:1.0.0,special_id:45550000}\n",
+                       "{product_name:Archer C6U,product_ver:1.0.0,special_id:45550000}\n"
+                       "{product_name:Archer C6U,product_ver:1.0.0,special_id:52550000}\n",
                .part_trail = 0x00,
                .soft_ver = SOFT_VER_TEXT("soft_ver:1.0.2\n"),
 
@@ -1755,6 +1758,87 @@ static struct device_info boards[] = {
                .last_sysupgrade_partition = "file-system",
        },
 
+       /** Firmware layout for the Deco M5 */
+       {
+               .id = "DECO-M5",
+               .vendor = "",
+               .support_list =
+                       "SupportList:\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:55530000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:45550000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:43410000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:4A500000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:41550000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:4B520000}\n"
+                       "{product_name:M5,product_ver:1.0.0,special_id:49440000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:55530000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:45550000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:43410000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:4A500000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:41550000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:4B520000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:49440000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:53570000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:42340000}\n"
+                       "{product_name:M5,product_ver:3.0.0,special_id:54570000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:55530000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:45550000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:43410000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:4A500000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:41550000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:4B520000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:49440000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:53570000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:42340000}\n"
+                       "{product_name:M5,product_ver:3.2.0,special_id:54570000}\n",
+               .part_trail = 0x00,
+               .soft_ver = SOFT_VER_DEFAULT,
+
+               .partitions = {
+                       {"SBL1", 0x00000, 0x30000},
+                       {"boot-config_0", 0x30000, 0x10000},
+                       {"MIBIB", 0x40000, 0x10000},
+                       {"boot-config_1", 0x50000, 0x10000},
+                       {"QSEE", 0x60000, 0x60000},
+                       {"CDT", 0xc0000, 0x10000},
+                       {"DDRPARAMS", 0xd0000, 0x10000},
+                       {"uboot-env", 0xe0000, 0x10000},
+                       {"fs-uboot@0", 0xf0000, 0x80000},
+                       {"radio", 0x170000, 0x0fff0},
+                       {"bluetooth-XTAL", 0x17fff0, 0x00010},
+                       {"default-mac", 0x180000, 0x01000},
+                       {"device-id", 0x182000, 0x01000},
+                       {"product-info", 0x183000, 0x05000},
+                       {"support-list", 0x190000, 0x10000},
+                       {"user-config", 0x200000, 0x10000},
+                       {"device-config", 0x210000, 0x10000},
+                       {"group-info", 0x220000, 0x10000},
+                       {"partition-table@0", 0x230000, 0x02000},
+                       {"os-image@0", 0x240000, 0x300000},
+                       {"file-system@0", 0x540000, 0x790000},
+                       {"soft-version@0", 0xcd0000, 0x10000},
+                       {"profile@0", 0xce0000, 0x10000},
+                       {"default-config@0", 0xcf0000, 0x10000},
+                       {"partition-table@1", 0xd00000, 0x02000},
+                       {"fs-uboot@1", 0xd10000, 0x80000},
+                       {"os-image@1", 0xd90000, 0x400000},
+                       {"file-system@1", 0x1190000, 0xc40000},
+                       {"soft-version@1", 0x1dd0000, 0x10000},
+                       {"profile@1", 0x1de0000, 0x10000},
+                       {"default-config@1", 0x1df0000, 0x10000},
+                       {"tm-sig", 0x1e00000, 0x200000},
+                       {NULL, 0, 0}
+               },
+
+               .partition_names.partition_table = "partition-table@1",
+               .partition_names.soft_ver = "soft-version@1",
+               .partition_names.os_image = "os-image@1",
+               .partition_names.file_system = "file-system@1",
+
+               .first_sysupgrade_partition = "os-image@1",
+               .last_sysupgrade_partition = "file-system@1"
+       },
+
        /** Firmware layout for the Deco S4 v2 */
        {
                .id     = "DECO-S4-V2",
@@ -2039,6 +2123,39 @@ static struct device_info boards[] = {
                .last_sysupgrade_partition = "file-system"
        },
 
+       /** Firmware layout for the EAP610 v3/EAP613 v1 */
+       {
+               .id = "EAP610-V3",
+               .soft_ver = SOFT_VER_DEFAULT,
+               .soft_ver_compat_level = 1,
+               .support_list =
+                       "SupportList:\r\n"
+                       "EAP610(TP-Link|UN|AX1800-D):3.0\r\n"
+                       "EAP610(TP-Link|JP|AX1800-D):3.0\r\n"
+                       "EAP610(TP-Link|EG|AX1800-D):3.0\r\n"
+                       "EAP610(TP-Link|CA|AX1800-D):3.0\r\n"
+                       "EAP613(TP-Link|UN|AX1800-D):1.0 JP\r\n",
+               .part_trail = PART_TRAIL_NONE,
+
+               .partitions = {
+                       {"fs-uboot", 0x00000, 0x80000},
+                       {"partition-table", 0x80000, 0x02000},
+                       {"default-mac", 0x90000, 0x01000},
+                       {"support-list", 0x91000, 0x00100},
+                       {"product-info", 0x91100, 0x00400},
+                       {"soft-version", 0x92000, 0x00100},
+                       {"firmware", 0xa0000, 0xcf0000},
+                       {"user-config", 0xd90000, 0x60000},
+                       {"mutil-log", 0xf30000, 0x80000},
+                       {"oops", 0xfb0000, 0x40000},
+                       {"radio", 0xff0000, 0x10000},
+                       {NULL, 0, 0}
+               },
+
+               .first_sysupgrade_partition = "os-image",
+               .last_sysupgrade_partition = "file-system"
+       },
+
        /** Firmware layout for the EAP615-Wall v1 */
        {
                .id = "EAP615-WALL-V1",
@@ -2310,6 +2427,9 @@ static struct device_info boards[] = {
                        "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:41550000}\n"
                        "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:45550000}\n"
                        "{product_name:TL-WPA8631P,product_ver:3.0.0,special_id:55530000}\n"
+                       "{product_name:TL-WPA8631P,product_ver:4.0.0,special_id:41550000}\n"
+                       "{product_name:TL-WPA8631P,product_ver:4.0.0,special_id:45550000}\n"
+                       "{product_name:TL-WPA8631P,product_ver:4.0.0,special_id:55530000}\n"
                        "{product_name:TL-WPA8635P,product_ver:3.0.0,special_id:46520000}\n",
                .part_trail = 0x00,
                .soft_ver = SOFT_VER_DEFAULT,