[U-Boot] [u-boot] CRC / ECC protection of environment

Scott Wood scottwood at freescale.com
Wed Sep 21 20:40:42 CEST 2011


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



More information about the U-Boot mailing list