All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2] example/standalone: introduce STANDALONE_LOAD_ADDR
Date: Sun, 15 Mar 2009 17:47:23 -0400	[thread overview]
Message-ID: <200903151747.23995.vapier@gentoo.org> (raw)
In-Reply-To: <20090315182959.EC263832E8B8@gemini.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 

  parent reply	other threads:[~2009-03-15 21:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-04  9:11 [U-Boot] [PATCH 1/1] example: introduce EXAMPLE_LOAD_ADDR Jean-Christophe PLAGNIOL-VILLARD
2009-03-08 22:37 ` Wolfgang Denk
2009-03-14 11:13   ` [U-Boot] [PATCH V2] example/standalone: introduce STANDALONE_LOAD_ADDR Jean-Christophe PLAGNIOL-VILLARD
2009-03-14 11:37     ` Mike Frysinger
2009-03-14 12:45       ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-14 13:12         ` Mike Frysinger
2009-03-14 13:19           ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-14 13:41             ` Mike Frysinger
2009-03-14 21:31         ` Wolfgang Denk
2009-03-15 10:51           ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-15 18:29             ` Wolfgang Denk
2009-03-15 19:23               ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-15 21:47               ` Mike Frysinger [this message]
2009-03-15 21:49                 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200903151747.23995.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.