firmware-utils: tplink-safeloader: switch RE350 to dynamic partitions
authorAlex Maclean <[email protected]>
Wed, 20 Jun 2018 13:56:22 +0000 (14:56 +0100)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:32:19 +0000 (17:32 +0100)
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 <[email protected]>
(backported from 97da92b1277a40fa7daf354ed52b8ea25e06a779)

tools/firmware-utils/src/tplink-safeloader.c

index a9602364b8886ee20c2de702f378432ef1280ca6..eda4ea53a5a798803d3cf4a07751d876f5b9284c 100644 (file)
@@ -981,14 +981,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},