public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduceCONFIG_SKIP_RELOCATION
Date: Wed, 7 May 2008 21:41:41 +0200	[thread overview]
Message-ID: <090101c8b082$59fa6bc0$060514ac@atmel.com> (raw)
In-Reply-To: 20080507175625.84CD8248EC@gemini.denx.de

>> CONFIG_RELOCATABLE on powerpc means something different. On arm we start
>> U-Boot by running it at an address != link address and _copy_ (not
>> relocate) ourselves to the address we are linked at. On powerpc real
>> relocation is done if CONFIG_RELOCATABLE is enabled.
>> Hence the option you wanted to add should better have the name
>> CONFIG_SKIP_COPY_TO_SDRAM or something like that.
> 
> This is something that I always wanted to fix. The ARM implementation
> is broken by design - unfortunately it has been also used  for  MIPS,
> and  other  architectures.  It  would  be  much better if we had real
> relocation to a (dynamically determined) address on ARM too,  instead
> of such a fixed mapping.
> 
> Best regards,
> 
> Wolfgang Denk
> 


As more and more architectures support booting from just about
anything than a parallel flash, maybe it is better to have a 
CONFIG_COPY_TO_SDRAM than its negative form.

Whats the big benefit of beeing able to select where U-boot runs?
I could understand if there was a need for a compile time parameter.

Best Regards
Ulf Samuelsson

  reply	other threads:[~2008-05-07 19:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 11:55 [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION Menon, Nishanth
2008-05-07 12:52 ` Wolfgang Denk
2008-05-07 13:50 ` Sascha Hauer
2008-05-07 14:41   ` Menon, Nishanth
2008-05-07 15:29     ` Sascha Hauer
2008-05-07 15:38       ` Menon, Nishanth
2008-05-08 15:16         ` Sascha Hauer
2008-05-08 15:22           ` Menon, Nishanth
2008-05-07 17:56       ` Wolfgang Denk
2008-05-07 19:41         ` Ulf Samuelsson [this message]
2008-05-08  7:26         ` Sascha Hauer
     [not found] <8E8BB316C604E94AA019A54D0A5A82A201A2C94F@dlee13.ent.ti.com>
2008-05-07 13:57 ` [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduceCONFIG_SKIP_RELOCATION Gopinath, Thara

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='090101c8b082$59fa6bc0$060514ac@atmel.com' \
    --to=ulf.samuelsson@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