[PATCH v4 1/3] Makefile: Add size check for u-boot-with-spl.bin

Tom Rini trini at konsulko.com
Tue Jul 29 00:25:31 CEST 2025


On Tue, Jul 08, 2025 at 12:39:57PM +0200, Philip Oberfichtner wrote:

> Like other images, u-boot-with-spl.bin may be subject to size
> restrictions. Extend CONFIG_SPL_SIZE_LIMIT to handle this case.
> 
> Signed-off-by: Philip Oberfichtner <pro at denx.de>
> ---
> 
> Notes:
>     Changes in v4: none
>     
>     Changes in v3:
>     	Reuse existing SPL_SIZE_LIMIT instead of implementing a new option
>     
>     Changes in v2: none
> 
>  Makefile           | 1 +
>  common/spl/Kconfig | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)

This is not quite right enough, sorry. This causes a number of boards
(evb-ast2600 ibm-sbp1 stm32746g-eval_spl stm32f746-disco_spl
stm32f769-disco_spl) which have size checks and are fine to now fail
their size checks, presumably because they're checking the "wrong" file
now or similar. So if you can't see a way to fix both them and your
board then sigh, I was wrong initially and we will need another size
check method like you proposed to start with.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250728/770f724e/attachment.sig>


More information about the U-Boot mailing list