aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-26 20:43:28 +0300
committerMathias Kresin <dev@kresin.me>2018-06-27 08:42:54 +0200
commit4ec9763ee93243464af9943f360e945e7ce9faed (patch)
tree2c48f4d913bbed047efc060a394aca08ab90e56e /tools
parent52a9edb1bfaf51c250a33303beacba95dd1dbc05 (diff)
downloadupstream-4ec9763ee93243464af9943f360e945e7ce9faed.tar.gz
upstream-4ec9763ee93243464af9943f360e945e7ce9faed.tar.bz2
upstream-4ec9763ee93243464af9943f360e945e7ce9faed.zip
firmware-utils: tplink-safeloader: switch tl-wr1043nd-v4 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: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index 1c34406251..f1883cd636 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -860,15 +860,10 @@ static struct device_info boards[] = {
.support_trail = '\x00',
.soft_ver = NULL,
- /**
- We use a bigger os-image partition than the stock images (and thus
- smaller file-system), as our kernel doesn't fit in the stock firmware's
- 1MB os-image.
- */
+ /* We're using a dynamic kernel/rootfs split here */
.partitions = {
{"fs-uboot", 0x00000, 0x20000},
- {"os-image", 0x20000, 0x200000},
- {"file-system", 0x220000, 0xd30000},
+ {"firmware", 0x20000, 0xf30000},
{"default-mac", 0xf50000, 0x00200},
{"pin", 0xf50200, 0x00200},
{"product-info", 0xf50400, 0x0fc00},