On Friday 05 December 2008 17:21:27 Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > The current ELF loading function does a lot of work above and beyond a > > simple "loading". It ignores the real load addresses and loads things > > into their virtual (runtime) address. This is undesirable when we just > > want it to load an ELF and let the ELF do the actual C runtime init. > > I apologize for the late review... > > > +#ifdef CONFIG_ELF_SIMPLE_LOAD > > +unsigned long load_elf_image (unsigned long addr) > > ... > > ...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 ... -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot