[PATCH 1/1] configs: raise SPL_SYS_MALLOC_SIZE to 8 MiB on RISC-V
Leo Liang
ycliang at andestech.com
Mon Jun 2 10:44:21 CEST 2025
On Sun, May 25, 2025 at 12:42:48PM +0200, Heinrich Schuchardt wrote:
> [EXTERNAL MAIL]
>
> On several RISC-V boards we have seen that 1 MiB is a insufficient value
> for CONFIG_SPL_SYS_MALLOC_SIZE.
>
> For instance qemu-riscv32_spl_defconfig fails booting because u-boot.itb
> exceeds 1 MiB.
>
> 8 MiB is a reasonable value that allows adding FPGA blobs or splash images
> to main U-boot.
>
> Reported-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> common/spl/Kconfig | 2 +-
> configs/starfive_visionfive2_defconfig | 1 -
> configs/th1520_lpi4a_defconfig | 1 -
> configs/xilinx_mbv32_defconfig | 1 -
> configs/xilinx_mbv32_smode_defconfig | 1 -
> configs/xilinx_mbv64_defconfig | 1 -
> configs/xilinx_mbv64_smode_defconfig | 1 -
> 7 files changed, 1 insertion(+), 7 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list