From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] how can i change u-boot load address?
Date: Tue, 07 Oct 2008 16:02:23 +0200 [thread overview]
Message-ID: <20081007140223.83CD185D90E5@gemini.denx.de> (raw)
In-Reply-To: <40a670230810070536w5ab3251cm39b1a4ebd199e14a@mail.gmail.com>
Dear Roman,
In message <40a670230810070536w5ab3251cm39b1a4ebd199e14a@mail.gmail.com> you wrote:
>
> > On ARM it's being done wrong - no real relocation is preformed;
>
> What do you mean by "real relocation"? As per start.S bootcode is
> copied from ROM to RAM.
Copied to a fixed address where it is actiually already linked for.
See my previous message with a lenghty explanation why this is a poor
design when dealing with variable sized memory.
> > The problem with the ARM implementation is that the link address is
> > fixed, i. e. it cannot be adjusted to varying RAM sizes.
> Usually one ports U-Boot on a board with predefined hardware layout,
> i.e. flash, SDRAM and peripherals are fixed. If hardware changes, say
> SDRAM size, no big deal to make two/three distinct u-boot images --
> after all it ends up by changing TEXT_BASE only, as I understand.
This may be your opinion, but it is an isolated one and not shared by
*many* board vendors who offer different configurations of boards
with smaller and bigger amounts of RAM etc. For these, having only a
single binary image of U-Boot for all board configurations is a MAJOR
win. Also consider systems which use memory modules.
Just try to imagine you have to install a new version of the BIOS on
your PC just because you add or remove a memory module. Would you buy
such a PC?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
(null cookie; hope that's ok)
next prev parent reply other threads:[~2008-10-07 14:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-06 12:13 [U-Boot] how can i change u-boot load address? sahar mustafa
2008-10-06 15:13 ` Andrew Dyer
2008-10-06 23:36 ` Roman Mashak
2008-10-07 2:06 ` Roman Mashak
2008-10-07 7:36 ` Wolfgang Denk
2008-10-07 8:11 ` Hebbar
2008-10-07 9:01 ` Wolfgang Denk
2008-10-07 12:36 ` Roman Mashak
2008-10-07 14:02 ` Wolfgang Denk [this message]
2008-10-08 2:22 ` Roman Mashak
[not found] <mailman.1056.1223364979.2783.u-boot@lists.denx.de>
2008-10-07 8:38 ` Gururaja Hebbar K R
2008-10-07 9:04 ` Wolfgang Denk
2008-10-07 9:39 ` Gururaja Hebbar K R
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=20081007140223.83CD185D90E5@gemini.denx.de \
--to=wd@denx.de \
--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