From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 15 Mar 2009 20:23:42 +0100 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> <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> <20090315182959.EC263832E8B8@gemini.denx.de> Message-ID: <20090315192342.GD23599@game.jcrosoft.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 19:29 Sun 15 Mar , Wolfgang Denk wrote: > 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. 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.