[U-Boot] [PATCH V2] example/standalone: introduce STANDALONE_LOAD_ADDR

Wolfgang Denk wd at denx.de
Sun Mar 15 19:29:59 CET 2009


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <20090315105132.GC23599 at game.jcrosoft.org> you wrote:
>
> > > as example generate via the config.h a env var name standalone_load_addr
> > > automaticly so the end user will just have to built it, load it and run it
> > 
> > This is error prone.  NAK.
> which error?

The load address of a standalone application cannot be known at
compile time of the U-Boot image.

Please don't assume that the code / Makefiles etc. of that application
is even part of the U-Boot source tree or build system.

Please don't assume that everybody uses the same load addresses.

Please don't asume that all standalone applications running on a
system use the same load addresses - there are cases, where several SA
apps are simultaneously loaded, etc.


Don't try to be clever when this cannot work.

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
A meeting is an event at which the minutes are kept and the hours are
lost.


More information about the U-Boot mailing list