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

Ahmad Fatoum a.fatoum at pengutronix.de
Mon May 18 02:41:35 PDT 2026



On 5/18/26 11:26 AM, Sascha Hauer wrote:
> 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.

more

> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Acked-by: Ahmad Fatoum <a.fatoum 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
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list