mpc85xx: use bootwrapper for ws-ap3825i
authorDavid Bauer <mail@david-bauer.net>
Mon, 20 Mar 2023 03:50:14 +0000 (04:50 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 20 Mar 2023 21:21:22 +0000 (22:21 +0100)
commited82189339b8bcecfe709f1ce8f3500fb4aedab1
tree5095748ed807b48b447196d46746d885e22eceeb
parente314f7be7e9e878d2f6470c9d9e0030cd4f1f700
mpc85xx: use bootwrapper for ws-ap3825i

The boot-procedure for the Extreme WS-AP3825I is vfragile to put it
mildly. It does not relocate the FDT properly. It currently exercises
every step manually as well as coming with a pre-padded dtb.

Use the PowerPC bootwrapper code for legacy platforms with a pre-filles
DTS instead. We still need to ship a fit image to not break the fdt
resize / relocate instructions on existing boards. This does not require
adapting the U-Boot bootcommand.

Ref: https://github.com/openwrt/openwrt/issues/12223

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts
target/linux/mpc85xx/image/p1020.mk
target/linux/mpc85xx/p1020/target.mk
target/linux/mpc85xx/patches-5.15/107-powerpc-85xx-add-ws-ap3825i-support.patch