[PATCH 3/3] ARM: k3: k3-r5_defconfig: limit image size to maximum available space
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon May 18 02:37:15 PDT 2026
Hello,
On 5/18/26 11:26 AM, Sascha Hauer wrote:
> On the AM62x we have 0x3e000 bytes available for SBL usage. The upper
What's a SBL?
> 0x1000 bytes are used by the DMDATA, so set maximum image size to
> 0x3d000.
Cheers,
Ahmad
>
> 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
>
--
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