[U-Boot] [PATCH] cmd_elf: CONFIG_ELF_SIMPLE_LOAD: load ELFs according to PHDRs

Wolfgang Denk wd at denx.de
Sun Dec 7 01:21:16 CET 2008


Dear Mike,

in message <200812052002.18103.vapier at gentoo.org> you wrote:
>
> > ...but would it not make sense to allow to make the decision which
> > behaviour fits the user's requirements at runtime instead of compile
> > time?
> >
> > We could either make this depend on some environment variable setting,
> > or on a command line option when running the command.
> >
> >
> > If you prefer to stick with the CONFIG_ELF_SIMPLE_LOAD solution, then
> > this variable has to be documented in the README.
>
> it doesnt matter to me which route is taken so long as the default can be 
> controlled (so via env is ok as you can set the default env values).  if you 
> prefer one over the other, let me know.  otherwise simply updating the README 
> is the easiest route for me ...

Well, my preference is a command line option; I think we should move
into that direction instead of adding more and more magic environment
variables.

But if you submit a patch that uses environment variables I would not
object either.


Thanks.

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
To the systems programmer,  users  and  applications  serve  only  to
provide a test load.


More information about the U-Boot mailing list