ccmp1: adjust memory layout for FIT image support

This commit updates the memory layout to properly allocate space for the
different FIT image components, while ensuring total memory usage stays below
128 MiB. This avoids overlaps and ensures correct loading on memory-constrained
variants.

Final memory map:

  Start of memory:        #  0xC0000000
                          #   |
                          #   | 32 MiB reserved
                          #   v
  FIT image load address: #  0xC2000000
                          #   |
                          #   | 32 MiB for FIT image
                          #   v
  Kernel load address:    #  0xC4000000
                          #   |
                          #   | 32 MiB for Kernel
                          #   v
  DTB/DTBO load address:  #  0xC6000000
                          #   |
                          #   | Size for DTB/DTBO
                          #   v

Total memory mapped: 96 MiB

https://onedigi.atlassian.net/browse/DEL-9634

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2025-05-23 08:57:52 +02:00
parent 0335333727
commit 09714323a6
1 changed files with 3 additions and 2 deletions

View File

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