From 09714323a623829df403d8b3eee18826eb0c4549 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 23 May 2025 08:57:52 +0200 Subject: [PATCH] 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 --- meta-digi-arm/conf/machine/include/ccmp1.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/conf/machine/include/ccmp1.inc b/meta-digi-arm/conf/machine/include/ccmp1.inc index 46450e26c..9260f2a37 100644 --- a/meta-digi-arm/conf/machine/include/ccmp1.inc +++ b/meta-digi-arm/conf/machine/include/ccmp1.inc @@ -22,8 +22,9 @@ FIP_UBOOT_DTB = "u-boot" # Include boot script into the FIT image UBOOT_ENV = "boot" # For FIT image usage -UBOOT_DTB_LOADADDRESS = "0xc4000000" -UBOOT_DTBO_LOADADDRESS = "0xc4000000" +UBOOT_ENTRYPOINT = "0xc4000000" +UBOOT_DTB_LOADADDRESS = "0xc6000000" +UBOOT_DTBO_LOADADDRESS = "0xc6000000" # Set InitRAMDisk load address to U-boot initrd_addr UBOOT_RD_LOADADDRESS = "0xc4400000" # U-Boot environment offset (within partition)