[PATCH] configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation

Sverdlin, Alexander alexander.sverdlin at siemens.com
Thu May 2 08:06:45 CEST 2024


Hi Judith!

On Mon, 2024-04-29 at 16:49 -0500, Judith Mendez wrote:
> On AM62x SK we can see a boot failure with signature "alloc space
> exhausted", so fix by increasing size of SPL_STACK_R_MALLOC_SIMPLE_LEN.
> 
> Fixes: 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images")
> Signed-off-by: Judith Mendez <jm at ti.com>

This also helped me to enable DFU on AM625, so:

Tested-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>

> ---
>  configs/am62x_evm_r5_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig
> index 4b2e57b13a0..648241488ed 100644
> --- a/configs/am62x_evm_r5_defconfig
> +++ b/configs/am62x_evm_r5_defconfig
> @@ -26,6 +26,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
>  CONFIG_SPL_BSS_START_ADDR=0x43c3b000
>  CONFIG_SPL_BSS_MAX_SIZE=0x3000
>  CONFIG_SPL_STACK_R=y
> +CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
>  CONFIG_SPL_SIZE_LIMIT=0x3A7F0
>  CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500
>  CONFIG_SPL_FS_FAT=y

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com


More information about the U-Boot mailing list