public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Relocatable U-Boot
Date: Wed, 30 May 2007 17:21:49 +0200	[thread overview]
Message-ID: <200705301721.49566.sr@denx.de> (raw)
In-Reply-To: <625fc13d0705300739u6fb2eaf0m84418542417a162c@mail.gmail.com>

Hi Josh,

On Wednesday 30 May 2007, Josh Boyer wrote:
> On 5/29/07, Ulf Samuelsson <ulf@atmel.com> wrote:
> > > 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.

Yes, the relocation in U-Boot still is a big problem. There was a series of 
mails some time ago that at least described how it could be done correctly. 
Unfortunately no real acceptable patch till now.

IIRC, Grant Likely had some relocation fixes in his patch queue too. But he is 
most likely busy with other high priority stuff too (as we all are, 
right? ;)).

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2007-05-30 15:21 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 [this message]
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=200705301721.49566.sr@denx.de \
    --to=sr@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