[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.
>> +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.
https://github.com/starfive-tech/Tools/commit/8c5acc4e5eb7e4ad012463b05a5e3dbbfed1c38d
seems to have changed the limit in the tooling.
@Samin,
Could you, please, indicate how the 180048 bytes was derived and what is
the physical limit for the SPL size.
Best regards
Heinrich
More information about the U-Boot
mailing list