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>
Thu, 24 May 2018 15:24:31 +0000 (17:24 +0200)
commit742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0
tree34137a23eb67c2c25b01dbf41db22abde1783025
parent66871d9c6211afc1ae35d537d007798b2254d727
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>
(cherry picked from commit b72b36653a3fc8347456ab9c45d26a3144688a4c)
target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
tools/firmware-utils/src/tplink-safeloader.c