[U-Boot] [PATCH 00/22] spl: Add features for passing info from SPL to U-Boot proper

Simon Glass sjg at chromium.org
Mon Oct 1 17:32:03 UTC 2018


Hi Lukasz,

On 1 October 2018 at 07:06, Lukasz Majewski <lukma at denx.de> wrote:
>
> Hi Simon,
>
> > At present we have no standard way of passing information from SPL to
> > U-Boot. Such information may be the size of DRAM banks or some
> > information about the reset state of the machine,for example.
> >
> > This series first adds a bloblist, which allows a list of 'blobs' to
> > be created, each with a tag so that subsystems can store data and
> > retrieve it later. Then it adds the SPL 'handoff' information, which
> > uses bloblist.
>
> I'm wondering if we could use blobs to provide information from SPL/TPL
> regarding "bootcount".
>
> It seems like a better approach than the one which we do use now (as a
> set of magic include functions for u-boot proper and SPL/TPL).

Yes, actually I added a 'handoff' struct for general stuff like that,
so it could be added there. If you like, you could try it
(u-boot-dm/spl-working).

I'm going to update this series and send a new version in a few days.

[...]

Regards,
Simon


More information about the U-Boot mailing list