From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 15 Mar 2009 17:47:23 -0400 Subject: [U-Boot] [PATCH V2] example/standalone: introduce STANDALONE_LOAD_ADDR In-Reply-To: <20090315182959.EC263832E8B8@gemini.denx.de> References: <20090308223755.62F46832E8B8@gemini.denx.de> <20090315105132.GC23599@game.jcrosoft.org> <20090315182959.EC263832E8B8@gemini.denx.de> Message-ID: <200903151747.23995.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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