From f6a01d7f5c3d945f031cf24ab66066806dd62db3 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 6 Feb 2022 14:24:32 +0100 Subject: ipq806x: convert TP-Link Archer VR2600v to denx,uimage The recent device-tree modification that added pre-cal nvmem-cells pushed the device's kernel+dtb over the allotted 3072k KERNEL_SIZE. > WARNING: Image file tplink_vr2600v-uImage is too big: 3147214 > 3145728 There was a previous kernel partition size upgrade: commit 0c967d92b3d9 ("ipq806x: increase kernel partition size for the TP-Link Archer VR2600v") It has been seemingly upgraded from a 2048k KERNEL_SIZE in the past. The commit talks about using the MTD_SPLIT_TPLINK_FW. But looking at the image make recipe, there is no code that adds a TPLINK header. So instead the board will use "denx,umimage". This requires MTD_SPLIT_UIMAGE_FW, but this is present thanks to some NEC devices. (Maybe the MTD_CONFIG_ARGS can be removed as well? But it could be there because of the padding at the beginning. This needs testing.) Signed-off-by: Christian Lamparter --- .../ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'target/linux/ipq806x/files/arch') diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts index 3aec856823..23fe3c9f78 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts @@ -249,15 +249,13 @@ read-only; }; - kernel@320000 { - label = "kernel"; - reg = <0x320000 0x300000>; + partition@320000 { + label = "firmware"; + reg = <0x320000 0xc60000>; + compatible = "denx,uimage"; }; - rootfs@620000 { - label = "rootfs"; - reg = <0x620000 0x960000>; - }; + /* hole 0xf80000 - 0xfaf100 */ defaultmac: default-mac@0xfaf100 { label = "default-mac"; -- cgit v1.2.3