[U-Boot-Users] FADS and ICU862 Environment problems
Wolfgang Denk
wd at denx.de
Thu Jun 26 08:50:27 CEST 2003
In message <20030624235953.GA16810 at zumanetworks.com> you wrote:
>
> > I don't know who designed it that way (because I don't care about the
> > FADS board), but according to "board/fads/u-boot.lds" the environment
> > on this board is aligned on a 256kB boundary _after_ the U-Boot
> > image. So MONITOR_LENGTH must not include the environment, and
> > ENV_IS_EMBEDDED shall not be set.
>
> In which case NOTHING in environment.c is compiled, and "environment"
> goes unresolved....
But this is normal for a non-embedded environment. If you don;t embed
it with the U-Boot image it will not be initialized after installing
the image anyway (because it is not included), so there is little
sense initializing it at compile time.
There are several other options: in cases where the environment is
directly adjecent to the U-Boot image (it looks as if the FADS is
such a configuration) you can "include" the environment, producing a
bigger image which then contains an initialized environment.
It is up for the board maintainer to decide what he wants.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
All I ask is a chance to prove that money can't make me happy.
More information about the U-Boot
mailing list