[PATCH 2/3] ARM: k3: am62x: make more space for r5 barebox binary

Sascha Hauer s.hauer at pengutronix.de
Mon May 18 02:26:39 PDT 2026


On the AM62x we have 0x3e000 bytes available for the initial r5 barebox
binary and the dmdata. The dmdata is currently hardcoded at offset
0x3a800 in the SRAM leaving only the space below that for the barebox
binary. The dmdata only has a size of 1362 bytes. Let's be generous and
give it 4096 bytes of maximum space, so move it up to 0x3d000 leaving
mode space for the barebox binary.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 images/Makefile.k3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile.k3 b/images/Makefile.k3
index 789f77722a..12538541b0 100644
--- a/images/Makefile.k3
+++ b/images/Makefile.k3
@@ -92,7 +92,7 @@ quiet_cmd_k3_am62x_image = K3_am62x_IMG   $@
 			$(SYSFW_$(@F)):2:0:0:00040000				\
 			$(SYSFWDATA_am625):18:0:0:00067000			\
 			$$inner							\
-			$(DMDATA_am625):17:16:0:43c3a800			\
+			$(DMDATA_am625):17:16:0:43c3d000			\
 			--key "$(KEY_$(@F))" --out $@
 
 ifdef CONFIG_FIRMWARE_K3_AM62L_OPTEE

-- 
2.47.3




More information about the barebox mailing list