ccmp1: reorder addresses for fitImage binaries

Move the address where the fitImage is loaded after the addresses
where the binaries in it are decompressed. This way, the fitImage
can grow without size restrictions.

The memory map now looks like this:

  0xC0000000    Start of memory
      |
      |           (32 MiB)
      v
  0xC2000000    Kernel loadaddr ($loadaddr)
      |
      |           (32 MiB)
      v
  0xC4000000    DTB/DTBO load address ($fdt_addr)
      |           (4 MiB)
      v
  0xC4400000    Init ram disk ($initrd_addr)
      |
      |
      |           (64 MiB)
      |
      v
  0xC8400000    ZIP/fitImage address ($fit_addr_r)
      |
      ~
      |
      v

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2025-06-20 20:50:22 +02:00
parent e9af98f586
commit f65dc4440e
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@ FIP_UBOOT_DTB = "u-boot"
# Include boot script into the FIT image
UBOOT_ENV = "boot"
# For FIT image usage
UBOOT_ENTRYPOINT = "0xc4000000"
UBOOT_DTB_LOADADDRESS = "0xc6000000"
UBOOT_DTBO_LOADADDRESS = "0xc6000000"
UBOOT_ENTRYPOINT = "0xc2000000"
UBOOT_DTB_LOADADDRESS = "0xc4000000"
UBOOT_DTBO_LOADADDRESS = "0xc4000000"
# Set InitRAMDisk load address to U-boot initrd_addr
UBOOT_RD_LOADADDRESS = "0xc4400000"
# U-Boot environment offset (within partition)