mpc85xx: fix WS-AP3710i boot
authorDavid Bauer <mail@david-bauer.net>
Sun, 9 Jun 2024 17:34:46 +0000 (19:34 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 10 Jun 2024 01:37:03 +0000 (03:37 +0200)
commit3001d3c5d446bf53fc222640d49a4cc79e04a2f3
tree21b5ecc2c2a1ffe41b047435518cb9bf1682ba7e
parentd0620706f05bf8d4e4eabeb3063d61dcc579b643
mpc85xx: fix WS-AP3710i boot

On master, the bootwrapper link-address for all simpleImage targets was
relocated to 0x15000000 due to growing kernel size.

This was not done on OpenWrt 23.05, as the decompressed kernel still
fits. However, with the wrapper for the WS-AP3710i, the bootloader
attempts execute in-place with the uImage load-address of 0x1000000. As
the image is compiled without the uImage header in mind, this naturally
fails.

In order to fix this, link the WS-AP3715i simpleImage at 0x15000000 as
done in master. This will force the bootloader to relocate the code to
the proper address and skip XIP.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/mpc85xx/image/p1020.mk
target/linux/mpc85xx/patches-5.15/106-powerpc-85xx-ws-ap3710i-support.patch
target/linux/mpc85xx/patches-5.15/107-powerpc-85xx-add-ws-ap3825i-support.patch
target/linux/mpc85xx/patches-5.15/109-powerpc-85xx-add-ws-ap3715i-support.patch
target/linux/mpc85xx/patches-5.15/110-powerpc-85xx-br200-wp-support.patch
target/linux/mpc85xx/patches-5.15/111-powerpc-85xx-hpe-msm-support.patch