From: Nye Liu Date: Fri, 27 Jun 2003 14:27:19 -0700 Subject: [U-Boot-Users] FADS and ICU862 Environment problems In-Reply-To: <20030626231102.59202C592A@atlas.denx.de> References: <20030626224147.GA28873@zumanetworks.com> <20030626231102.59202C592A@atlas.denx.de> Message-ID: <20030627212719.GA2109@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 Fri, Jun 27, 2003 at 01:10:57AM +0200, Wolfgang Denk wrote: > In message <20030626224147.GA28873@zumanetworks.com> you wrote: > > > > > I think this is correct. What am I missing? > > > > but that is the default environment that is copied, not the saved > > copy stored via saveenv? When is the saved environment restored? > > relocate_code() never copies it since it is AFTER __init_end due > > to the way u-boot.lds locates environment.o after .bss > > Argh... now I see. Well, I think you are right. let me know when you come up with a recommended solution; for now I have removed those ifdef's in start.S and reduced MONITOR_LEN such that ENV_IS_EMBEDDED is not set. Suggestions for the ENV_IS_EMBEDDED case? -- Nye Liu nliu at mrv.com (818) 772-6235x248 "Who would be stupid enough to quote a fictitious character?" -- Don Quixote