From 621b0589fb5cc1cbab826deb1614009fb60ad995 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Wed, 16 Mar 2022 17:34:24 +0100 Subject: [PATCH] ipq806x: fix TP-Link Archer VR2600v bootlooping Timo Schroeder reported: "The TP-Link Archer VR2600v is stuck in a boot loop on written snapshot image. It's able to boot using the snapshot uimage though, but there ath10k firmware can't be found. 21.02.2 release version doesn't have either problem." The VR2600v has a 512 byte header at the beginning of the firmware that needs to be accounted for. Fixes: f6a01d7f5c3d ("ipq806x: convert TP-Link Archer VR2600v to denx,uimage") Reported-by: Timo Schroeder References: Signed-off-by: Christian Lamparter --- .../ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8fa0a5d291..27d9fc84b3 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 @@ -257,7 +257,8 @@ partition@320000 { label = "firmware"; reg = <0x320000 0xc60000>; - compatible = "denx,uimage"; + compatible = "openwrt,uimage"; + openwrt,offset = <512>; /* account for pad-extra 512 */ }; /* hole 0xf80000 - 0xfaf100 */ -- 2.30.2