public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce	CONFIG_SKIP_RELOCATION
Date: Thu, 8 May 2008 09:26:04 +0200	[thread overview]
Message-ID: <20080508072603.GL4326@pengutronix.de> (raw)
In-Reply-To: <20080507175625.84CD8248EC@gemini.denx.de>

On Wed, May 07, 2008 at 07:56:25PM +0200, Wolfgang Denk wrote:
> 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.

I wouldn't say broken. With a fixed mapping you get smaller code size
and for many cases it's just enough. So I vote for having both.

Regards
 Sascha

-- 
Pengutronix e.K. - Linux Solutions for Science and Industry
-----------------------------------------------------------
Kontakt-Informationen finden Sie im Header dieser Mail oder
auf der Webseite -> http://www.pengutronix.de/impressum/ <-

      parent reply	other threads:[~2008-05-08  7:26 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
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         ` Sascha Hauer [this message]

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=20080508072603.GL4326@pengutronix.de \
    --to=s.hauer@pengutronix.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