qualcommax: ipq807x: fix sysupgrade for ZBT-Z800AX
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 10 Jun 2024 15:18:19 +0000 (23:18 +0800)
committerRobert Marko <robimarko@gmail.com>
Thu, 13 Jun 2024 16:01:03 +0000 (18:01 +0200)
commit0a76244a72157ff06d2c7d309b477522d4975a95
tree4ae218603c778491fd47369c68f51cdd5c24be24
parentce51f27fb0f8461e61966e01dcd3a91201b5b382
qualcommax: ipq807x: fix sysupgrade for ZBT-Z800AX

This router has two rootfs partitions and dualboot is used.
Vendor firmware may swap the rootfs partition location, u-boot append
'ubi.mtd=rootfs' in the end of cmdline. Since we use fixed-partitions,
force boot from the first rootfs partition to avoid boot failure.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/15700
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-zbt-z800ax.dts
target/linux/qualcommax/ipq807x/base-files/lib/upgrade/platform.sh