[U-Boot] [PATCH v3 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

Tom Rini trini at konsulko.com
Thu Feb 28 18:51:29 UTC 2019


On Thu, Feb 28, 2019 at 07:14:08PM +0100, Simon Goldschmidt wrote:
> Am 27.02.2019 um 19:55 schrieb Tom Rini:
> >On Wed, Feb 27, 2019 at 11:15:23AM +0100, Simon Goldschmidt wrote:
> >>Tom,
> >>
> >>On Thu, Feb 14, 2019 at 10:20 AM Simon Goldschmidt
> >><simon.k.r.goldschmidt at gmail.com> wrote:
> >>>
> >>>On Thu, Feb 14, 2019 at 7:26 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> >>>>
> >>>>The SPL image for the Tinker Board has to fit into 32 KiB. This includes
> >>>>up to 2 KiB for the file header.
> >>>>
> >>>>A new configuration variable CONFIG_SPL_WITH_DTB_SIZE_LIMIT is introduced
> >>>>to define the board specific limit.
> >>>>
> >>>>Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> >>>
> >>>Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> >>
> >>Is this planned for v2019.04? I know we're in rc phase, but this patch
> >>adds a new config
> >>option so shouldn't interfere with boards not using it.
> >>
> >>Plus if we have this SPL size check in v2019.04, it would probably
> >>enable more board
> >>maintainers testing/fixing the SPL size check after the release.
> >
> >I really want to get the generic version of this in, yes.
> 
> Which generic version? Was there some kind of generic follow-up patch I
> missed?

No, there wasn't I believe which is why nothing has been applied.  I
don't want to add a 3rd copy of the BOARD_SIZE_CHECK logic, I want it to
be re-usable and then used by CONFIG_SPL_MAX_SIZE / CONFIG_TPL_MAX_SIZE
because as with the switch (compared to when these checks were first
introduced, pre-SPL-DM) we now have image content that's not caught by
the linker check, so we need to use those variables in the right place
now.

-- 
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/20190228/2c1783a5/attachment.sig>


More information about the U-Boot mailing list