From ea43ccfc584933866591e538834b2803a270aa70 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Tue, 26 Jun 2018 20:43:28 +0300 Subject: [PATCH] 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 --- src/tplink-safeloader.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/tplink-safeloader.c b/src/tplink-safeloader.c index 1c34406..f1883cd 100644 --- a/src/tplink-safeloader.c +++ b/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}, -- 2.30.2