[U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduce CONFIG_SKIP_RELOCATION

Wolfgang Denk wd at denx.de
Wed May 7 19:56:25 CEST 2008


In message <20080507152912.GJ4326 at 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.




More information about the U-Boot mailing list