From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Relocatable U-Boot
Date: Wed, 30 May 2007 19:54:15 +0200 [thread overview]
Message-ID: <018d01c7a2ef$45c7bd70$0302a8c0@atmel.com> (raw)
In-Reply-To: 200705301721.49566.sr@denx.de
>> > > A handful of projects I have worked on use multiple copies of u-boot
>> > > stored in different locations of flash and a small assembly stub
>> > > determines which to boot. Currently, to do that u-boot has to be
>> > > compiled two different times with different settings to accommodate
>> > > the different base addresses.
>> > >
>> > > Is there a way to use a single build of u-boot which can be placed at
>> > > two different addresses in flash? That seems to me that it would be a
>> > > useful general feature.
>> >
>> > If you copy your U-Boot to RAM, you can have multiple U-Boots
>> > each linked to the same location.
>> > You need a small utility which runs before U-Boot which
>> > determines which version to use.
>>
>> Hm... yes. Though I think that is more of a workaround than a truly
>> relocatable u-boot.
>
I don't think having relocatable U-Boot is a good goal.
Having the possiblility to choose between several different U-boot image is...
Copying the image to SDRAM is one method to do this.
If you don't want to copy to SDRAM, then you can
enable a MMU (when this is available) as an alternative.
Best Regards
Ulf Samuelsson
next prev parent reply other threads:[~2007-05-30 17:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-29 16:52 [U-Boot-Users] Relocatable U-Boot Josh Boyer
2007-05-29 7:30 ` Ulf Samuelsson
2007-05-30 14:39 ` Josh Boyer
2007-05-30 15:21 ` Stefan Roese
2007-05-30 17:54 ` Ulf Samuelsson [this message]
2007-05-30 17:54 ` Ulf Samuelsson
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='018d01c7a2ef$45c7bd70$0302a8c0@atmel.com' \
--to=ulf@atmel.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