From: Wolfgang Denk Date: Sun, 15 Mar 2009 19:29:59 +0100 Subject: [U-Boot] [PATCH V2] example/standalone: introduce STANDALONE_LOAD_ADDR In-Reply-To: <20090315105132.GC23599@game.jcrosoft.org> References: <20090308223755.62F46832E8B8@gemini.denx.de> <1237029182-23833-1-git-send-email-plagnioj@jcrosoft.com> <200903140737.29053.vapier@gentoo.org> <20090314124556.GA23599@game.jcrosoft.org> <20090314213146.122FA832E8B8@gemini.denx.de> <20090315105132.GC23599@game.jcrosoft.org> Message-ID: <20090315182959.EC263832E8B8@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090315105132.GC23599@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.