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 <mail@david-bauer.net>
This commit is contained in:
David Bauer 2026-07-24 15:11:08 +02:00
parent 7ba90841de
commit 87940bfc69
2 changed files with 16 additions and 2 deletions

View file

@ -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

View file

@ -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