[PATCH v2 13/13] configs: stm32mp25: increase SYS_MALLOC_F_LEN to 0x60000

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Jun 3 19:36:46 CEST 2025


Hi,

On 5/27/25 15:27, Patrice Chotard wrote:
> Due activation of SCMI, we need to increase SYS_MALLOC_F_LEN value
> to avoid following message:
>
> U-Boot 2025.04-01224-g75b77a2a6d31-dirty (Apr 25 2025 - 11:23:30 +0200)
>
> alloc space exhausted ptr 400040 limit 400000
> alloc space exhausted ptr 400020 limit 400000
> alloc space exhausted ptr 400060 limit 400000
> alloc space exhausted ptr 400060 limit 400000
>
> Set SYS_MALLOC_F_LEN to 0x60000 to fix this issue.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
>
> ---
>
> (no changes since v1)
>
>   configs/stm32mp25_defconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig
> index 317a6d5ecd6..acb48f4ec72 100644
> --- a/configs/stm32mp25_defconfig
> +++ b/configs/stm32mp25_defconfig
> @@ -1,6 +1,6 @@
>   CONFIG_ARM=y
>   CONFIG_ARCH_STM32MP=y
> -CONFIG_SYS_MALLOC_F_LEN=0x400000
> +CONFIG_SYS_MALLOC_F_LEN=0x600000
>   CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x90000000
>   CONFIG_ENV_OFFSET=0x900000
>   CONFIG_ENV_SECT_SIZE=0x40000



Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick




More information about the U-Boot mailing list