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

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Tue May 16 21:56:59 CEST 2023

On 5/16/23 21:33, Bo Gan wrote:
> 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.
> Hi Heinrich, would you mind specify where the limit is coming from? I 
> flashed my
> vf2 board with a ~140KiB SPL without any problem.


seems to have changed the limit in the tooling.


Could you, please, indicate how the 180048 bytes was derived and what is 
the physical limit for the SPL size.

Best regards


More information about the U-Boot mailing list