[U-Boot] [RFC PATCH] rockchip, Makefile: add u-boot-tpl-with-spl.img target

Simon Glass sjg at chromium.org
Mon Aug 12 17:34:44 UTC 2019


Hi Mark,

On Mon, 12 Aug 2019 at 10:56, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>
> > From: Simon Glass <sjg at chromium.org>
> > Date: Mon, 12 Aug 2019 10:45:46 -0600
> >
> > Hi Mark,
> >
> > On Sun, 11 Aug 2019 at 12:53, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> > >
> > > > From: Simon Glass <sjg at chromium.org>
> > > > Date: Sun, 11 Aug 2019 12:37:13 -0600
> > > >
> > > > Hi,
> > > >
> > > > On Sun, 11 Aug 2019 at 07:51, Chris Webb <chris at arachsys.com> wrote:
> > > > >
> > > > > Matwey V. Kornilov <matwey.kornilov at gmail.com> wrote:
> > > > >
> > > > > > Here, we introduce generic u-boot-tpl-with-spl.img target which is the
> > > > > > TPL image followed by the SPL binary.
> > > > >
> > > > > Having built U-Boot TPL + SPL images over and over again for testing on
> > > > > various rk3399 hardware, something like this would certainly be a
> > > > > convenience. It would simplify instructions to end users too.
> > > >
> > > > How about using binman for rockchip? It is designed to put various
> > > > images together.
> > >
> > > For a simple concatenation?
> >
> > Well, for producing an image that works. E.g. producing a full image
> > (TPL, SPL and U-Boot) for an SD card - it would be nice to have
> > u-boot-rockchip.sd.bin or something like that.
>
> True.  That'd be an image you write at certain offset I suppose so it
> preserves the MBR/partition tables?

Well I suppose so, but I think it is also useful to write out the
whole thing, so that it at least boots.

Regards,
Simon


More information about the U-Boot mailing list