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

Mike Frysinger vapier at gentoo.org
Sun Mar 15 22:47:23 CET 2009


On Sunday 15 March 2009 14:29:59 Wolfgang Denk wrote:
> In message Jean-Christophe PLAGNIOL-VILLARD 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.

i dont really see the value in moving the load addr from the u-boot build env 
to the board env automatically, but moving the definitions from 
examples/Makefile to the top level $arch_config.mk sounds sane to me.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090315/88522392/attachment.pgp 


More information about the U-Boot mailing list