public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] Info on NAND-SPL
Date: Mon, 28 Feb 2011 12:43:20 +0100	[thread overview]
Message-ID: <4D6B8A58.9040609@free.fr> (raw)
In-Reply-To: <20110227181128.BACE4D0B123@gemini.denx.de>

Hi Wolfgang,
Le 27/02/2011 19:11, Wolfgang Denk a ?crit :

> nand_spl loads the U-Boot code into RAM, and then relocates it (which
> includes copying it to the final location). There is no relocation
> done twice, only the copying, and this cannot be avoided as the
> bootstrap loader cannot determine the final position of the image
> yet.  If you are sure that you have a static system with a fixed
> memory map you can configure nand_spl such that it copies U-Boot to
> the final location, one copy operation can be saved (you still need
> the relocation, though).

Note that in the case of ARM -- don't know about other archs -- if the 
final U-Boot location is known in advance, then one could try linking 
U-boot to that final location, in which case the relocation would not be 
needed either and should normally be skipped by the code currently in 
start.S.

Amicalement,
-- 
Albert.

  reply	other threads:[~2011-02-28 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 11:34 [U-Boot] Info on NAND-SPL Hatim Ali
2011-02-27 18:11 ` Wolfgang Denk
2011-02-28 11:43   ` Albert ARIBAUD [this message]
2011-03-07 22:02   ` Scott Wood
2011-03-01  5:53 ` Aneesh V

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=4D6B8A58.9040609@free.fr \
    --to=albert.aribaud@free.fr \
    --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