From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nye Liu Date: Tue, 24 Jun 2003 17:27:49 -0700 Subject: [U-Boot-Users] FADS and ICU862 Environment problems In-Reply-To: <20030622162208.325F8C5FD7@atlas.denx.de> References: <20030621002854.GA27308@zumanetworks.com> <20030622162208.325F8C5FD7@atlas.denx.de> Message-ID: <20030625002749.GA17011@zumanetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jun 22, 2003 at 06:22:03PM +0200, Wolfgang Denk wrote: > No. > > If you look at the u-boot.map file when building for the ICU862 board > you can see this: > > ... > 0x40f22b3c __init_end = . > 0x40f22b3c __bss_start = . > > .bss 0x40f22c00 0x417c > ... > 0x40f26c30 flash_info > 0x40f40000 . = ALIGN (0x40000) > > .ppcenv 0x40f40000 0x4000 > common/environment.o(.ppcenv) > .ppcenv 0x40f40000 0x4000 common/environment.o > 0x40f40000 environment > 0x40f44000 _end = . > 0x40f44000 PROVIDE (end, .) > > The #ifdef in "cpu/mpc8xx/start.S" makes sure that clear_bss() does > not attempt to clear any memory that belongs to the environment. but later, you write: > 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...? I am totally confused now ;/ -- Nye Liu nliu at mrv.com (818) 772-6235x248 "Who would be stupid enough to quote a fictitious character?" -- Don Quixote