From: Wolfgang Denk Date: Thu, 26 Jun 2003 08:53:35 +0200 Subject: [U-Boot-Users] FADS and ICU862 Environment problems In-Reply-To: Your message of "Tue, 24 Jun 2003 17:27:49 PDT." <20030625002749.GA17011@zumanetworks.com> Message-ID: <20030626065340.AF31CC5FD7@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20030625002749.GA17011@zumanetworks.com> you wrote: > > > I see no discrepancy - ENV_IS_EMBEDDED is NOT set for ICU862 > > how does environment.o have any data; it is totally ifdef'ed out > if ENV_IS_EMBEDDED is not set...? It does not. On the ICU862 the U-Boot image is at the lower end of the enfironment, while the environment is at the upper end (IIRC this board uses top boot sector flash memory). The environment does NOT get installed when installing the U-Boot image. So there is no need to put any initialized data in it. It will be initialized as soon as the user types "saveenv" for the first time. Until then, the default environment is used. > I am totally confused now ;/ I'm sorry. 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 "Whoever undertakes to set himself up as a judge of Truth and Know- ledge is shipwrecked by the laughter of the gods." - Albert Einstein