tplink-safeloader: add EAP225 v1 support
[project/firmware-utils.git] / src / tplink-safeloader.c
index 60729f23f5125e54c3f4100cd04f990dcb3393a5..0565dcc8381178de678eb38ca1665420b3f77162 100644 (file)
@@ -1532,6 +1532,32 @@ static struct device_info boards[] = {
                .last_sysupgrade_partition = "file-system"
        },
 
+       /** Firmware layout for the EAP225 v1 */
+       {
+               .id     = "EAP225-V1",
+               .support_list =
+                       "SupportList:\r\n"
+                       "EAP225(TP-LINK|UN|AC1200-D):1.0\r\n",
+               .part_trail = PART_TRAIL_NONE,
+               .soft_ver = SOFT_VER_DEFAULT,
+
+               .partitions = {
+                       {"fs-uboot", 0x00000, 0x20000},
+                       {"partition-table", 0x20000, 0x02000},
+                       {"default-mac", 0x30000, 0x01000},
+                       {"support-list", 0x31000, 0x00100},
+                       {"product-info", 0x31100, 0x00400},
+                       {"soft-version", 0x32000, 0x00100},
+                       {"firmware", 0x40000, 0xd80000},
+                       {"user-config", 0xdc0000, 0x30000},
+                       {"radio", 0xff0000, 0x10000},
+                       {NULL, 0, 0}
+               },
+
+               .first_sysupgrade_partition = "os-image",
+               .last_sysupgrade_partition = "file-system"
+       },
+
        /** Firmware layout for the EAP225 v3 */
        {
                .id     = "EAP225-V3",