public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Schwarz <simonschwarzcor@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL boot modes
Date: Fri, 16 Sep 2011 14:55:43 +0200	[thread overview]
Message-ID: <4E73474F.70608@gmail.com> (raw)
In-Reply-To: <20110916123157.7413213B8A28@gemini.denx.de>

On 09/16/2011 02:31 PM, Wolfgang Denk wrote:
> Dear Joel A Fernandes,
>
> In message<CAD=GYpaAUVQo3S_8FOUfDLNAyUYS5cFs-fkL5GUv3oNnG_zerA@mail.gmail.com>  you wrote:
>>
>> Just one question about one of your patches I happen to notice [1],
>> why is there a SPL build for each different boot mode such as for
>> NAND, MMC etc?. Wouldn't it be nicer to have a single SPL loader that
>> tried different boot modes one after the other, something like what
>> x-load already does? Are there are any challenges with this approach?
>
> Yes, this would be nice.  Question: how do we make this fit in - say -
> the 2 KiB code size that some processors load?  Including all the
> drivers for NAND, MMC etc.?
>
> Best regards,
>
> Wolfgang Denk
>

That's the reason for the librarys in SPL. One can build a SPL that is 
able to boot from more than one source (although it might not work yet - 
the tools are there).

If size matters: Just include the one needed

Regards
Simon

  reply	other threads:[~2011-09-16 12:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16  6:11 [U-Boot] SPL boot modes Joel A Fernandes
2011-09-16  6:12 ` Joel A Fernandes
2011-09-16  8:14 ` Simon Schwarz
2011-09-16 21:10   ` Tom Rini
2011-09-16 12:31 ` Wolfgang Denk
2011-09-16 12:55   ` Simon Schwarz [this message]
2011-09-17  1:39   ` Joel A Fernandes

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=4E73474F.70608@gmail.com \
    --to=simonschwarzcor@googlemail.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