[PATCH 1/1] config: CONFIG_SPL_SIZE_LIMIT for VisionFive 2

Bo Gan ganboing at gmail.com
Tue May 16 21:33:12 CEST 2023


On 5/16/23 6:11 AM, Heinrich Schuchardt wrote:
> The size of SPL including the 1 KiB header added by spl_tool may not exceed
> 128 KiB. Without the header this leaves 127 KiB for spl/u-boot-spl.bin.
> 
> We should check this value when building to avoid oversized binaries.
> +CONFIG_SPL_SIZE_LIMIT=0x1fc00
Hi Heinrich, would you mind specify where the limit is coming from? I flashed my
vf2 board with a ~140KiB SPL without any problem.


More information about the U-Boot mailing list