ipq806x: increase kernel partition size for the TP-Link Archer C2600
authorStefan Lippers-Hollmann <s.l-h@gmx.de>
Fri, 18 May 2018 01:10:18 +0000 (03:10 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 22 May 2018 18:34:14 +0000 (20:34 +0200)
commit0dc8ef6480ee2d508e8891b9f1c1bc1b966aae66
tree040485712e6affcdcebefac2440a14d93844e744
parent2170c1409bc7386b07ec67d171be8dd735de3276
ipq806x: increase kernel partition size for the TP-Link Archer C2600

The default image does not fit 2 MB anymore, expand os-image partition
to 4 MB.

Upgrading works transparently via sysupgrade in both directions.
Another option would have been to merge "os-image" and "rootfs" into a
single "firmware" partition using MTD_SPLIT_TPLINK_FW, but just
changing the sizes of the existing partitioning has been deemed safer
and actually tested on an affected device; the maximum for rootfs
changes from 27 MB to 25 MB.

Run-tested on TP-Link Archer C2600.

Signed-off-by: Joris de Vries <joris@apptrician.nl>
[slh: extend comments and commit message, rename rootfs]
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
src/tplink-safeloader.c