]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mpc85xx: relocate simpleImage for WS-AP3710i
authorDavid Bauer <mail@david-bauer.net>
Fri, 24 Jul 2026 13:11:08 +0000 (15:11 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 24 Jul 2026 14:10:32 +0000 (16:10 +0200)
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>
target/linux/mpc85xx/image/p1020.mk
target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch

index ba41e17b9adbbad02b10a2966dd73478697c1bc7..9e989891bc4ba7dc235284335db35e81bce45ad1 100644 (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
index bef2052b1f4f0636be452e9cbbce37cdda0f3977..3e6edc3576dae4aaec876374ea4967d29c1b9458 100644 (file)
  # 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