From: Wolfgang Denk Date: Wed, 17 Nov 2010 22:40:49 +0100 Subject: [U-Boot] fw_setenv broken? In-Reply-To: References: <1290011424.2927.1123.camel@quadra> <4CE4092B.7090209@denx.de> <20101117173933.665FE14EA7E@gemini.denx.de> <20101117204722.E34FC14EA7E@gemini.denx.de> Message-ID: <20101117214049.52CA614EA7E@gemini.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 Dear Steve Sakoman, In message you wrote: > > readenv: offset = 240000 > readenv: nand_read failure = -117 > *** Warning - readenv() failed, using default environment > > I then immediately tried to use the nand read command to read the same > block, and it was successful! Hm... any chance that - for example - your timers are not working correctly before relocation (maybe because they try to write to the not yet available data segment) ? This could cause timeouts or delays to be too short, so the NAND driver is misbehaving? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Q: Do you know what the death rate around here is? A: One per person.