From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Relocation
Date: Fri, 14 Mar 2014 15:47:35 +0100 [thread overview]
Message-ID: <E1WOTOa-00019D-By@janus> (raw)
In-Reply-To: <1394804314090-175974.post@n7.nabble.com>
Hi mahsmak,
On Fri, 14 Mar 2014 06:38:34 -0700 (PDT), mahsmak
<kshamim.pk@gmail.com> wrote:
> Hi,
>
> Can anyone please explain how relocation address is calculated in uboot ?
U-Boot tries to relocate itself as high in RAM as possible so that the
lower area is available to e.g. the Linux kernel it will chainload.
Therefore, the usual process is that U-Boot first reserves whatever
amount of memory it needs at end of RAM, then relocates itself just
below that.
> Also, I want to know whether relocation will happen or not when uboot is
> running from RAM already? If yes, then can it be disabled ?
Relocation will always happen, and there is no provision for avoiding
it.
> Thank you,
Amicalement,
--
Albert.
next prev parent reply other threads:[~2014-03-14 14:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 13:38 [U-Boot] Relocation mahsmak
2014-03-14 14:47 ` Albert ARIBAUD [this message]
2014-03-17 2:29 ` TigerLiu at via-alliance.com
2014-03-17 6:23 ` Wolfgang Denk
2014-03-17 8:08 ` TigerLiu at via-alliance.com
2014-03-17 13:12 ` Wolfgang Denk
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=E1WOTOa-00019D-By@janus \
--to=albert.u.boot@aribaud.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