aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
diff options
context:
space:
mode:
authorStefan Lippers-Hollmann <s.l-h@gmx.de>2018-05-18 03:34:44 +0200
committerJohn Crispin <john@phrozen.org>2018-05-24 17:24:31 +0200
commitec7d9740551cc559a2b45b23084b1c99ffdfc25d (patch)
tree16ea5aa709c9a5852451e815323e3ad4b7c4074b /target/linux/ipq806x
parent742ac017baaa7de2fde04bf6cdd39c0e9e5f92e0 (diff)
downloadupstream-ec7d9740551cc559a2b45b23084b1c99ffdfc25d.tar.gz
upstream-ec7d9740551cc559a2b45b23084b1c99ffdfc25d.tar.bz2
upstream-ec7d9740551cc559a2b45b23084b1c99ffdfc25d.zip
ipq806x: increase kernel partition size for the TP-Link Archer VR2600v
The default image does not fit 2 MB anymore, expand kernel partition to 3 MB. Upgrading should work transparently via sysupgrade in both directions. Another option would be to merge "kernel" 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 in the absence of an actual runtime test on an affected device; the maximum for rootfs changes from 10.4 MB to 9.4 MB. This change follows the example for the TP-Link Archer C2600, but has not been runtime tested on a TP-Link Archer VR2600v. Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Cc: Sebastian Quilitz <zeraphim@x-pantion.de> (cherry picked from commit 0c967d92b3d9ca34f01f194ad0353f131b42e986)
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r--target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts6
-rw-r--r--target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts6
-rw-r--r--target/linux/ipq806x/image/Makefile2
3 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
index 561c49aaa6..e941fa420a 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
@@ -210,12 +210,12 @@
kernel@320000 {
label = "kernel";
- reg = <0x320000 0x200000>;
+ reg = <0x320000 0x300000>;
};
- rootfs@520000 {
+ rootfs@620000 {
label = "rootfs";
- reg = <0x520000 0xa60000>;
+ reg = <0x620000 0x960000>;
};
defaultmac: default-mac@0xfaf100 {
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
index 561c49aaa6..e941fa420a 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
@@ -210,12 +210,12 @@
kernel@320000 {
label = "kernel";
- reg = <0x320000 0x200000>;
+ reg = <0x320000 0x300000>;
};
- rootfs@520000 {
+ rootfs@620000 {
label = "rootfs";
- reg = <0x520000 0xa60000>;
+ reg = <0x620000 0x960000>;
};
defaultmac: default-mac@0xfaf100 {
diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index e5df7275a1..8b302b658d 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -215,7 +215,7 @@ define Device/tplink_vr2600v
KERNEL_SUFFIX := -uImage
KERNEL = kernel-bin | append-dtb | uImage none
KERNEL_NAME := zImage
- KERNEL_SIZE := 2097152
+ KERNEL_SIZE := 3145728
DEVICE_DTS := qcom-ipq8064-vr2600v
BLOCKSIZE := 128k
PAGESIZE := 2048