public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION
Date: Wed, 07 May 2008 19:56:25 +0200	[thread overview]
Message-ID: <20080507175625.84CD8248EC@gemini.denx.de> (raw)
In-Reply-To: Your message of "Wed, 07 May 2008 17:29:12 +0200." <20080507152912.GJ4326@pengutronix.de>

In message <20080507152912.GJ4326@pengutronix.de> you wrote:
>
> 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

-- 
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
It's a small world, but I wouldn't want to paint it.

  parent reply	other threads:[~2008-05-07 17:56 UTC|newest]

Thread overview: 11+ 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 [this message]
2008-05-07 19:41         ` [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduceCONFIG_SKIP_RELOCATION Ulf Samuelsson
2008-05-08  7:26         ` [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION Sascha Hauer

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=20080507175625.84CD8248EC@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