ipq806x: fix TP-Link Archer VR2600v bootlooping
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 16 Mar 2022 16:34:24 +0000 (17:34 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 16 Mar 2022 19:48:01 +0000 (20:48 +0100)
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 <der.timosch@gmail.com>
References: <https://github.com/openwrt/openwrt/issues/9467>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts

index 8fa0a5d291e731deb01b1139de67bf61a36d4cee..27d9fc84b35ffa242d12955f4674ace33c4906dd 100644 (file)
                                partition@320000 {
                                        label = "firmware";
                                        reg = <0x320000 0xc60000>;
-                                       compatible = "denx,uimage";
+                                       compatible = "openwrt,uimage";
+                                       openwrt,offset = <512>; /* account for pad-extra 512 */
                                };
 
                                /* hole 0xf80000 - 0xfaf100 */