From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 21 Sep 2011 13:40:42 -0500 Subject: [U-Boot] [u-boot] CRC / ECC protection of environment In-Reply-To: References: <20110920112647.30E081407969@gemini.denx.de> Message-ID: <4E7A2FAA.7010802@freescale.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 09/21/2011 04:59 AM, Arno Steffen wrote: > Thank you for clarification. Although I am estonished, that after some > time of running 2 devices come up with CRC errors (with just read > access to environment!!). > Unfortunatly I don't know a way just to change 1 bit in flash without > changing the OOB data to simulate a toogling bit. http://patchwork.ozlabs.org/patch/114262/ provides the ability to do a raw write. Copy out the good data (including OOB), erase the block, flip a bit in the RAM copy, and raw-write it all back at once. What board and nand driver are you using? -Scott