summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel2022-01-27 09:35:54 +0000
committerStijn Tintel2022-02-20 13:18:52 +0000
commit57d0e315cdaa34c922218e4d6851b52a71346786 (patch)
tree163ecb39a44fa7ddf12b6922e406bda94b8d5d1c
parent2ca6462e11a7e7d40654722efc95243a64c71dd2 (diff)
downloadfirmware-utils-57d0e315cdaa34c922218e4d6851b52a71346786.tar.gz
tplink-safeloader: TP-Link EAP615-Wall v1 support
Support creating images for the TP-Link EAP615-Wall v1. Original partition layout: partition fs-uboot base 0x00000 size 0x80000 partition partition-table base 0x80000 size 0x02000 partition default-mac base 0x90000 size 0x01000 partition support-list base 0x91000 size 0x00100 partition product-info base 0x91100 size 0x00400 partition soft-version base 0x92000 size 0x00100 partition os-image base 0xa0000 size 0x380000 partition file-system base 0x420000 size 0x970000 partition user-config base 0xd90000 size 0x60000 partition mutil-log base 0xf30000 size 0x80000 partition oops base 0xfb0000 size 0x40000 partition radio base 0xff0000 size 0x10000 In OpenWrt, the os-image and file-system partitions are merged into a single firmware partition. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Reviewed-by: Sander Vanheule <sander@svanheule.net>
-rw-r--r--src/tplink-safeloader.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c
index d0d345d..b5dcf73 100644
--- a/src/tplink-safeloader.c
+++ b/src/tplink-safeloader.c
@@ -1705,6 +1705,37 @@ static struct device_info boards[] = {
.last_sysupgrade_partition = "file-system"
},
+ /** Firmware layout for the EAP615-Wall v1 */
+ {
+ .id = "EAP615-WALL-V1",
+ .soft_ver = SOFT_VER_DEFAULT,
+ .soft_ver_compat_level = 1,
+ .support_list =
+ "SupportList:\r\n"
+ "EAP615-Wall(TP-Link|UN|AX1800-D):1.0\r\n"
+ "EAP615-Wall(TP-Link|CA|AX1800-D):1.0\r\n"
+ "EAP615-Wall(TP-Link|JP|AX1800-D):1.0\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 TL-WA1201 v2 */
{
.id = "TL-WA1201-V2",