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 <s...@chromium.org>
> Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@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 <ycli...@andestech.com>

Reply via email to