public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Relocatable U-Boot
Date: Tue, 29 May 2007 09:30:11 +0200	[thread overview]
Message-ID: <465BD683.3010202@atmel.com> (raw)
In-Reply-To: <625fc13d0705290952y5e8cecc1gdf837749974026f8@mail.gmail.com>


> 
> 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.

> 
> josh
> 


-- 
Best Regards,
Ulf Samuelsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulf.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070529/29946c79/attachment.vcf 

  reply	other threads:[~2007-05-29  7:30 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 [this message]
2007-05-30 14:39   ` Josh Boyer
2007-05-30 15:21     ` Stefan Roese
2007-05-30 17:54       ` Ulf Samuelsson
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=465BD683.3010202@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