mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
mpc85xx: relocate AP3825i simpleImage loader
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
The initramfs images beginning 24.10 do not boot on the AP3825i. The space available for decompression preceeding the compressed image is not enough, crashing the system. To make existing installation instructions continue to work, link the loader at an address following the loadaddress of the U-Boot image. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
d91d4b0a74
commit
4afaacdd7f
2 changed files with 12 additions and 10 deletions
|
|
@ -83,8 +83,8 @@ define Device/extreme-networks_ws-ap3825i
|
|||
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
||||
BLOCKSIZE := 128k
|
||||
KERNEL_NAME := simpleImage.ws-ap3825i
|
||||
KERNEL_ENTRY := 0x1500000
|
||||
KERNEL_LOADADDR := 0x1500000
|
||||
KERNEL_ENTRY := 0x3000000
|
||||
KERNEL_LOADADDR := 0x3000000
|
||||
KERNEL = kernel-bin | fit none $(KDIR)/image-$$(DEVICE_DTS).dtb
|
||||
IMAGES := sysupgrade.bin
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
|
||||
|
|
|
|||
|
|
@ -55,13 +55,15 @@ WS-AP3825i AP.
|
|||
|
||||
--- a/arch/powerpc/boot/wrapper
|
||||
+++ b/arch/powerpc/boot/wrapper
|
||||
@@ -350,7 +350,8 @@ adder875-redboot)
|
||||
;;
|
||||
simpleboot-hiveap-330|\
|
||||
simpleboot-tl-wdr4900-v1|\
|
||||
-simpleboot-ws-ap3710i)
|
||||
+simpleboot-ws-ap3710i|\
|
||||
+simpleboot-ws-ap3825i)
|
||||
platformo="$object/fixed-head.o $object/simpleboot.o"
|
||||
@@ -355,6 +355,11 @@ simpleboot-ws-ap3710i)
|
||||
link_address='0x1500000'
|
||||
binary=y
|
||||
;;
|
||||
+simpleboot-ws-ap3825i)
|
||||
+ platformo="$object/fixed-head.o $object/simpleboot.o"
|
||||
+ link_address='0x3000000'
|
||||
+ binary=y
|
||||
+ ;;
|
||||
simpleboot-*)
|
||||
platformo="$object/fixed-head.o $object/simpleboot.o"
|
||||
binary=y
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue