aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlex Maclean <monkeh@monkeh.net>2018-06-20 14:56:22 +0100
committerJohn Crispin <john@phrozen.org>2018-06-26 07:05:00 +0200
commit97da92b1277a40fa7daf354ed52b8ea25e06a779 (patch)
tree62869f00120e4ef1f22e067a1fbdb1f95d2ca3f3 /tools
parent2f23a0583a3092d9076ceecca16be0f8ccdce217 (diff)
downloadupstream-97da92b1277a40fa7daf354ed52b8ea25e06a779.tar.gz
upstream-97da92b1277a40fa7daf354ed52b8ea25e06a779.tar.bz2
upstream-97da92b1277a40fa7daf354ed52b8ea25e06a779.zip
firmware-utils: tplink-safeloader: switch RE350 to dynamic partitions
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index fe57905fac..1c34406251 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -977,14 +977,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},