diff options
author | Stefan Lippers-Hollmann <s.l-h@gmx.de> | 2018-05-18 03:10:18 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-24 17:24:31 +0200 |
commit | 742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0 (patch) | |
tree | 34137a23eb67c2c25b01dbf41db22abde1783025 /target/linux/ipq806x | |
parent | 66871d9c6211afc1ae35d537d007798b2254d727 (diff) | |
download | upstream-742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0.tar.gz upstream-742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0.tar.bz2 upstream-742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0.zip |
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)
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r-- | target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts index a4fd13429c..02b1e7b1c9 100644 --- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts +++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts @@ -231,12 +231,12 @@ os-image@1f0000 { label = "os-image"; - reg = <0x1f0000 0x200000>; + reg = <0x1f0000 0x400000>; }; - rootfs@3f0000 { + rootfs@5f0000 { label = "rootfs"; - reg = <0x3f0000 0x1b00000>; + reg = <0x5f0000 0x1900000>; }; defaultmac: default-mac@1ef0000 { |