[OpenWrt-Devel,4/4] firmware-utils: tplink-safeloader: switch RE350 to dynamic partitions
diff mbox series

Message ID 20180620135622.25543-4-monkeh@monkeh.net
State Accepted
Delegated to: John Crispin
Headers show
Series
  • [OpenWrt-Devel,1/4] firmware-utils: mktplinkfw: add rootfs offset for combined images
Related show

Commit Message

Alex Maclean June 20, 2018, 1:56 p.m. UTC
Use the new dynamic partition split in tplink-safeloader so we no longer
have to worry about kernel size increases.

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
---
 tools/firmware-utils/src/tplink-safeloader.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Patch
diff mbox series

diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index 1d011446f5..38825bfaa1 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -889,14 +889,10 @@  static struct device_info boards[] = {
 		.support_trail = '\x00',
 		.soft_ver = NULL,
 
-		/**
-			The original os-image partition is too small,
-			so we enlarge it to 1.75M
-		*/
+		/** We're using a dynamic kernel/rootfs split here */
 		.partitions = {
 			{"fs-uboot", 0x00000, 0x20000},
-			{"os-image", 0x20000, 0x1c0000},
-			{"file-system", 0x1e0000, 0x420000},
+			{"firmware", 0x20000, 0x5e0000},
 			{"partition-table", 0x600000, 0x02000},
 			{"default-mac", 0x610000, 0x00020},
 			{"pin", 0x610100, 0x00020},