From: Sander Vanheule Date: Sun, 19 Mar 2023 09:27:33 +0000 (+0100) Subject: DONOTMERGE ath79: correct safeloader partition table for EAP120 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=61073171519c1743b1f7a2bea9269273eddcce64;p=openwrt%2Fstaging%2Fsvanheule.git DONOTMERGE ath79: correct safeloader partition table for EAP120 --- diff --git a/tools/firmware-utils/patches/0002-tplink-safeloader-EAP120-resize-partition-table.patch b/tools/firmware-utils/patches/0002-tplink-safeloader-EAP120-resize-partition-table.patch new file mode 100644 index 0000000000..66ee783a3d --- /dev/null +++ b/tools/firmware-utils/patches/0002-tplink-safeloader-EAP120-resize-partition-table.patch @@ -0,0 +1,33 @@ +From e083b61497bafc820e706d7069a9a5284a2da9d2 Mon Sep 17 00:00:00 2001 +From: Sander Vanheule +Date: Sun, 19 Mar 2023 10:22:29 +0100 +Subject: [PATCH 2/2] tplink-safeloader: EAP120: resize partition table + +--- + src/tplink-safeloader.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c +index 4ad898b2fb97..81c7168c3172 100644 +--- a/src/tplink-safeloader.c ++++ b/src/tplink-safeloader.c +@@ -1802,11 +1802,11 @@ static struct device_info boards[] = { + {"support-list", 0x31000, 0x00100}, + {"product-info", 0x31100, 0x00100}, + {"soft-version", 0x32000, 0x00100}, +- {"firmware", 0x40000, 0x780000}, +- {"user-config", 0x7c0000, 0x10000}, +- {"backup-config", 0x7d0000, 0x10000}, +- {"log", 0x7e0000, 0x10000}, +- {"radio", 0x7f0000, 0x10000}, ++ {"firmware", 0x40000, 0xf80000}, ++ {"user-config", 0xfc0000, 0x10000}, ++ {"backup-config", 0xfd0000, 0x10000}, ++ {"log", 0xfe0000, 0x10000}, ++ {"radio", 0xff0000, 0x10000}, + {NULL, 0, 0} + }, + +-- +2.39.2 +