From: David Bauer Date: Fri, 24 Jul 2026 13:11:08 +0000 (+0200) Subject: mpc85xx: relocate simpleImage for WS-AP3710i X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87940bfc69f41cf83a2c23aca6ce7f08f990e874;p=thirdparty%2Fopenwrt.git mpc85xx: relocate simpleImage for WS-AP3710i The initramfs image for Snapshots exceed the available space when booting. Relocate the simpleImage loader to a different offset to fix booting the initramfs. Signed-off-by: David Bauer --- diff --git a/target/linux/mpc85xx/image/p1020.mk b/target/linux/mpc85xx/image/p1020.mk index ba41e17b9ad..9e989891bc4 100644 --- a/target/linux/mpc85xx/image/p1020.mk +++ b/target/linux/mpc85xx/image/p1020.mk @@ -68,8 +68,8 @@ define Device/enterasys_ws-ap3710i DEVICE_MODEL := WS-AP3710i BLOCKSIZE := 128k KERNEL_NAME := simpleImage.ws-ap3710i - KERNEL_ENTRY := 0x1500000 - KERNEL_LOADADDR := 0x1500000 + KERNEL_ENTRY := 0x3000000 + KERNEL_LOADADDR := 0x3000000 KERNEL = kernel-bin | uImage none KERNEL_INITRAMFS := kernel-bin | uImage none IMAGES := sysupgrade.bin diff --git a/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch b/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch index bef2052b1f4..3e6edc3576d 100644 --- a/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch +++ b/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch @@ -46,3 +46,17 @@ # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 +--- a/arch/powerpc/boot/wrapper ++++ b/arch/powerpc/boot/wrapper +@@ -348,6 +348,11 @@ adder875-redboot) + platformo="$object/fixed-head.o $object/redboot-8xx.o" + binary=y + ;; ++simpleboot-ws-ap3710i) ++ platformo="$object/fixed-head.o $object/simpleboot.o" ++ link_address='0x3000000' ++ binary=y ++ ;; + simpleboot-*) + platformo="$object/fixed-head.o $object/simpleboot.o" + binary=y