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