From d72ae858ce6efbac79265930e849e753bb8efdd7 Mon Sep 17 00:00:00 2001 From: Sander Vanheule Date: Sun, 19 Mar 2023 10:15:30 +0100 Subject: [PATCH] DONOTMERGE firmware-utils: tplink-safeloader: dynamic firmware partition --- ...er-use-firmware-partition-for-EAP120.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/firmware-utils/patches/0001-tplink-safeloader-use-firmware-partition-for-EAP120.patch diff --git a/tools/firmware-utils/patches/0001-tplink-safeloader-use-firmware-partition-for-EAP120.patch b/tools/firmware-utils/patches/0001-tplink-safeloader-use-firmware-partition-for-EAP120.patch new file mode 100644 index 0000000000..887908393c --- /dev/null +++ b/tools/firmware-utils/patches/0001-tplink-safeloader-use-firmware-partition-for-EAP120.patch @@ -0,0 +1,26 @@ +From 0030c699ef495895524fe10f94d4f31e0c341523 Mon Sep 17 00:00:00 2001 +From: Sander Vanheule +Date: Sun, 19 Mar 2023 09:51:46 +0100 +Subject: [PATCH 1/2] tplink-safeloader: use firmware partition for EAP120 + +--- + src/tplink-safeloader.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c +index 8092ee3925db..4ad898b2fb97 100644 +--- a/src/tplink-safeloader.c ++++ b/src/tplink-safeloader.c +@@ -1802,8 +1802,7 @@ static struct device_info boards[] = { + {"support-list", 0x31000, 0x00100}, + {"product-info", 0x31100, 0x00100}, + {"soft-version", 0x32000, 0x00100}, +- {"os-image", 0x40000, 0x180000}, +- {"file-system", 0x1c0000, 0x600000}, ++ {"firmware", 0x40000, 0x780000}, + {"user-config", 0x7c0000, 0x10000}, + {"backup-config", 0x7d0000, 0x10000}, + {"log", 0x7e0000, 0x10000}, +-- +2.39.2 + -- 2.30.2