
16 May
2023
16 May
'23
9:56 p.m.
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/8c5acc4e5eb7e4ad012463b05a5e3d...
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