[U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

Wolfgang Denk
2014-05-15T04:26:28Z

Dear Darwin Rambo,

In message <1400105145-6628-1-git-send-email-drambo@broadcom.com> you wrote:
> If an earlier loader stage requires an image header and a specific
> offset, then u-boot's base address (CONFIG_SYS_TEXT_BASE) may be
> advanced beyond an aligned address. In this case the relocation

Sorry, I cannot parse that. CONFIG_SYS_TEXT_BASE is a compile time
constant, it cannot be "advanced" by a loader. Do you mean that some
loader loads U-Boot to an incorrect address? Well, in this case the
loader should be fixed, or?

> This change is done under CONFIG_ARM64 conditional compilation
> because it has only been tested there and may not be appropriate
> for other architectures.

In any case, any such changes (if there should be agreement that they
are actually useful) should be done in an architecture-neutral way.
Implementing it for one specific architecture only is wrong.

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
First, we must do our own personal work, then we tend the necessary
work of our family, then our community, then the world. - Lao-tzu