[U-Boot] [RFC 1/1] configs: rk3288: SPL file must fit into 32 KiB

Tom Rini trini at konsulko.com
Wed Feb 13 20:21:22 UTC 2019


On Wed, Feb 13, 2019 at 09:13:05PM +0100, Heinrich Schuchardt wrote:

> The SPL image for the rk3288 boards has to fit into 32 KiB. This includes
> 4 KiB for the device tree and up to 2 KiB for the file header.
> 
> Without the patch we missed to see that the TinkerBoard
> spl/u-boot-spl-dtb.bin file is too big.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

NAK.  To repeat myself in what I said after this patch was already sent,
but for the record, we need to leverage CONFIG_SPL_MAX_SIZE (and
CONFIG_TPL_MAX_SIZE) with the BOARD_SIZE_CHECK logic (and use said logic
more widely) so that we catch this problem everywhere.  A guess at max
DTB size is not enough.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190213/766f51af/attachment.sig>


More information about the U-Boot mailing list