[U-Boot-Users] Dynamic location of the environment sector
Wolfgang Denk
wd at denx.de
Wed Jun 21 22:47:17 CEST 2006
In message <44998029.9020708 at inaccessnetworks.com> you wrote:
>
> Ooops, sorry I forgot to mention that with the above line changed to:
>
> static env_t *flash_addr = (env_t *)(CFG_ENV_ADDR + sizeof(unsigned long));
This cannot be correct.
> I should mention it. It would be more desirable to infer the address of
> the environment directly, but I am not sure how this can be done for the
> PXA architecture (or in a unified way for all architectures for that
> matter).
See the existing code examples / linker scripts.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
CONSUMER NOTICE: Because of the "Uncertainty Principle," It Is
Impossible for the Consumer to Find Out at the Same Time Both
Precisely Where This Product Is and How Fast It Is Moving.
More information about the U-Boot
mailing list