[U-Boot] Building two different "SPL" for the same board?
Albert ARIBAUD
albert.u.boot at aribaud.net
Thu May 23 11:54:13 CEST 2013
Hi Henrik,
On Thu, 23 May 2013 10:53:39 +0200, Henrik Nordström
<henrik at henriknordstrom.net> wrote:
> ons 2013-05-22 klockan 11:26 -0400 skrev Tom Rini:
>
> > If we can implement it cleanly, this isn't (at the 1000 meter view) all
> > that much different than what we do on some PowerPC platforms today
> > where everything must fit within a few kilobytes.
>
> Yes it is quite doable. The pieces I have done should be possible to fit
> without too much effort.
>
> The question is more if these kinds of board initialization only
> programs is seen as suitable for having in the u-boot tree. It's not
> really an SPL as it does not load anything, but it's 99.9% the same code
> as used in u-boot SPL.
My opinion is that such code fits in U-Boot quite well. After all, SPL
too was "that much shorter bit of code that was run before U-Boot
because U-Boot is too large to load and run directly on this platform".
Granted, SPL now tends to outgrow itself -- to the point that it becomes
more of a 'lightweight U-Boot', as Falcon mode shows -- but obviously,
there is a need for a very short code piece that can fit in e.g. a NAND
access device's read buffer.
> Regards
> Henrik
Amicalement,
--
Albert.
More information about the U-Boot
mailing list