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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Mar 15 20:23:42 CET 2009


On 19:29 Sun 15 Mar     , Wolfgang Denk wrote:
> 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.
I do not assume it that's why I've call it at the first version
EXAMPLE_LOAD_ADDR because it was only for the example
> 
> 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.
I known I just want to cleanup the example
As you describe we can run multiple app at the same time and I've done it
on some of my board

Best Regards,
J.


More information about the U-Boot mailing list