From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Building two different "SPL" for the same board?
Date: Wed, 22 May 2013 11:26:53 -0400 [thread overview]
Message-ID: <20130522152653.GF10368@bill-the-cat> (raw)
In-Reply-To: <1368824185.12475.13.camel@localhost>
On Fri, May 17, 2013 at 10:56:25PM +0200, Henrik Nordstr?m wrote:
> fre 2013-05-17 klockan 14:17 -0400 skrev Tom Rini:
>
> > I would say you want to hypothetically add a _felboot build target for
> > the allwinner boards that instead of building out a regular
> > CONFIG_SPL_FRAMEWORK (I hope!) SPL spits out just a very tiny one that
> > does what you need for this use case. Having different builds for
> > different SPL cases is a normal thing that we do on a few boards, but
> > none are quite so drastically different sounding as this.
>
> Yes the main SPL is using CONFIG_SPL_FRAMEWORK. But the low level board
> initialization is done in s_init (via lowlevel_init).
>
> This other boot helper is basically only calling s_init() and then
> returns to the caller with the board now configured in a reasonable
> state allowing it to accept u-boot.bin to be uploaded into SDRAM.
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.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130522/276cdbce/attachment.pgp>
next prev parent reply other threads:[~2013-05-22 15:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-17 18:06 [U-Boot] Building two different "SPL" for the same board? Henrik Nordström
2013-05-17 18:17 ` Tom Rini
2013-05-17 20:56 ` Henrik Nordström
2013-05-22 15:26 ` Tom Rini [this message]
2013-05-23 8:53 ` Henrik Nordström
2013-05-23 9:54 ` Albert ARIBAUD
2013-05-23 20:39 ` Tom Rini
2013-05-24 1:14 ` Henrik Nordström
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130522152653.GF10368@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox