From f65dc4440e66c182e0fa0fbe7b99629ee38b9d41 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Fri, 20 Jun 2025 20:50:22 +0200 Subject: [PATCH] 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 --- meta-digi-arm/conf/machine/include/ccmp1.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-digi-arm/conf/machine/include/ccmp1.inc b/meta-digi-arm/conf/machine/include/ccmp1.inc index f2d8f7166..9467dfce2 100644 --- a/meta-digi-arm/conf/machine/include/ccmp1.inc +++ b/meta-digi-arm/conf/machine/include/ccmp1.inc @@ -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)