public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Henrik Nordström" <henrik@henriknordstrom.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Building two different "SPL" for the same board?
Date: Fri, 17 May 2013 22:56:25 +0200	[thread overview]
Message-ID: <1368824185.12475.13.camel@localhost> (raw)
In-Reply-To: <20130517181719.GW32163@bill-the-cat>

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.

Regards
Henrik

  reply	other threads:[~2013-05-17 20:56 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 [this message]
2013-05-22 15:26     ` Tom Rini
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=1368824185.12475.13.camel@localhost \
    --to=henrik@henriknordstrom.net \
    --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