mpc85xx: p1010: change wrapper address of simple image devices

Kernel and initramfs size grows. Now uncompressed initramfs image and
regular kernel image overlaps configured area:

Initramfs:
  WRAP    arch/powerpc/boot/simpleImage.br200-wp
INFO: Uncompressed kernel (size 0x1428688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1500000)
  WRAP    arch/powerpc/boot/simpleImage.tl-wdr4900-v1
INFO: Uncompressed kernel (size 0x1428688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1500000)
  WRAP    arch/powerpc/boot/simpleImage.ws-ap3715i
INFO: Uncompressed kernel (size 0x1428688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1500000)

Regular image:
  WRAP    arch/powerpc/boot/simpleImage.br200-wp
INFO: Uncompressed kernel (size 0x10e0688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1100000)
  WRAP    arch/powerpc/boot/simpleImage.tl-wdr4900-v1
INFO: Uncompressed kernel (size 0x10e0688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1100000)
  WRAP    arch/powerpc/boot/simpleImage.ws-ap3715i
INFO: Uncompressed kernel (size 0x10e0688) overlaps the address of the
wrapper(0x1000000)
INFO: Fixing the link_address of wrapper to (0x1100000)

Let's change wrapper address to safe value.

Tested on: TL-WDR4900, BR200-WP

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
This commit is contained in:
Pawel Dembicki 2024-02-19 13:39:10 +01:00 committed by Christian Lamparter
parent 894ff58067
commit 6a8b831593
5 changed files with 10 additions and 10 deletions

View File

@ -21,8 +21,8 @@ define Device/aerohive_br200-wp
KERNEL_NAME := simpleImage.br200-wp KERNEL_NAME := simpleImage.br200-wp
KERNEL := kernel-bin | uImage none KERNEL := kernel-bin | uImage none
KERNEL_INITRAMFS := kernel-bin | uImage none KERNEL_INITRAMFS := kernel-bin | uImage none
KERNEL_ENTRY := 0x1000000 KERNEL_ENTRY := 0x1500000
KERNEL_LOADADDR := 0x1000000 KERNEL_LOADADDR := 0x1500000
KERNEL_SIZE := 8m KERNEL_SIZE := 8m
IMAGES := fdt.bin sysupgrade.bin IMAGES := fdt.bin sysupgrade.bin
IMAGE/fdt.bin := append-dtb IMAGE/fdt.bin := append-dtb
@ -39,8 +39,8 @@ define Device/enterasys_ws-ap3715i
DEVICE_MODEL := WS-AP3715i DEVICE_MODEL := WS-AP3715i
BLOCKSIZE := 64k BLOCKSIZE := 64k
KERNEL_NAME := simpleImage.ws-ap3715i KERNEL_NAME := simpleImage.ws-ap3715i
KERNEL_ENTRY := 0x1000000 KERNEL_ENTRY := 0x1500000
KERNEL_LOADADDR := 0x1000000 KERNEL_LOADADDR := 0x1500000
KERNEL = kernel-bin | lzma | uImage lzma KERNEL = kernel-bin | lzma | uImage lzma
IMAGES := sysupgrade.bin IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
@ -60,8 +60,8 @@ define Device/tplink_tl-wdr4900-v1
KERNEL_NAME := simpleImage.tl-wdr4900-v1 KERNEL_NAME := simpleImage.tl-wdr4900-v1
KERNEL_INITRAMFS := KERNEL_INITRAMFS :=
KERNEL := kernel-bin | uImage none -M 0x4f4b4c49 | spi-loader-okli $(1) KERNEL := kernel-bin | uImage none -M 0x4f4b4c49 | spi-loader-okli $(1)
KERNEL_ENTRY := 0x1000000 KERNEL_ENTRY := 0x1500000
KERNEL_LOADADDR := 0x1000000 KERNEL_LOADADDR := 0x1500000
SUPPORTED_DEVICES += tl-wdr4900-v1 SUPPORTED_DEVICES += tl-wdr4900-v1
COMPILE := loader-$(1) COMPILE := loader-$(1)
COMPILE/loader-$(1) := spi-loader-okli-compile COMPILE/loader-$(1) := spi-loader-okli-compile

View File

@ -44,7 +44,7 @@ Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
;; ;;
+simpleboot-tl-wdr4900-v1) +simpleboot-tl-wdr4900-v1)
+ platformo="$object/fixed-head.o $object/simpleboot.o" + platformo="$object/fixed-head.o $object/simpleboot.o"
+ link_address='0x1000000' + link_address='0x1500000'
+ binary=y + binary=y
+ ;; + ;;
simpleboot-*) simpleboot-*)

View File

@ -62,4 +62,4 @@ WS-AP3825i AP.
+simpleboot-ws-ap3825i|\ +simpleboot-ws-ap3825i|\
simpleboot-tl-wdr4900-v1) simpleboot-tl-wdr4900-v1)
platformo="$object/fixed-head.o $object/simpleboot.o" platformo="$object/fixed-head.o $object/simpleboot.o"
link_address='0x1000000' link_address='0x1500000'

View File

@ -44,7 +44,7 @@ Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
;; ;;
+simpleboot-tl-wdr4900-v1) +simpleboot-tl-wdr4900-v1)
+ platformo="$object/fixed-head.o $object/simpleboot.o" + platformo="$object/fixed-head.o $object/simpleboot.o"
+ link_address='0x1000000' + link_address='0x1500000'
+ binary=y + binary=y
+ ;; + ;;
simpleboot-*) simpleboot-*)

View File

@ -62,4 +62,4 @@ WS-AP3825i AP.
+simpleboot-ws-ap3825i|\ +simpleboot-ws-ap3825i|\
simpleboot-tl-wdr4900-v1) simpleboot-tl-wdr4900-v1)
platformo="$object/fixed-head.o $object/simpleboot.o" platformo="$object/fixed-head.o $object/simpleboot.o"
link_address='0x1000000' link_address='0x1500000'