[PATCH 2/5] board: sl28: increase SPL_SYS_MALLOC_SIZE
Heiko Thiery
heiko.thiery at gmail.com
Fri Dec 13 12:06:14 CET 2024
Hi
Am Fr., 13. Dez. 2024 um 11:23 Uhr schrieb Michael Walle <mwalle at kernel.org>:
>
> Increase the malloc size to 2MiB because our FIT image exceeds the 1MiB
> limit either if BL31 mode is enabled or if another device tree is added
> to the image.
>
> Signed-off-by: Michael Walle <mwalle at kernel.org>
Tested-by: Heiko Thiery <heiko.thiery at gmail.com>
Thanks
> ---
> configs/kontron_sl28_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
> index 35894a10cbe..eae06b546da 100644
> --- a/configs/kontron_sl28_defconfig
> +++ b/configs/kontron_sl28_defconfig
> @@ -54,6 +54,7 @@ CONFIG_SPL_MAX_SIZE=0x20000
> CONFIG_SPL_BOARD_INIT=y
> # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
> CONFIG_SPL_SYS_MALLOC=y
> +CONFIG_SPL_SYS_MALLOC_SIZE=0x200000
> CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x900
> CONFIG_SPL_MPC8XXX_INIT_DDR=y
> --
> 2.39.5
>
More information about the U-Boot
mailing list