[PATCH 3/3] ARM: k3: k3-r5_defconfig: limit image size to maximum available space
Sascha Hauer
s.hauer at pengutronix.de
Mon May 18 02:26:40 PDT 2026
On the AM62x we have 0x3e000 bytes available for SBL usage. The upper
0x1000 bytes are used by the DMDATA, so set maximum image size to
0x3d000.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/configs/k3-r5_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/k3-r5_defconfig b/arch/arm/configs/k3-r5_defconfig
index ece3d00947..6d8391c55e 100644
--- a/arch/arm/configs/k3-r5_defconfig
+++ b/arch/arm/configs/k3-r5_defconfig
@@ -8,7 +8,7 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_NAME="k3-r5_defconfig"
CONFIG_ENVIRONMENT_VARIABLES=y
CONFIG_IMAGE_COMPRESSION_XZKERN=y
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x10000000
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x3d000
CONFIG_MALLOC_SIZE=0x0
CONFIG_MALLOC_TLSF=y
CONFIG_KALLSYMS=y
--
2.47.3
More information about the barebox
mailing list