2011/9/20 Wolfgang Denk <[email protected]>: > Dear Arno Steffen, > > In message > <caacx+r1vfc7c7xvygfvd8tv+ypaqsyon_efx7vheq8r56vn...@mail.gmail.com> you > wrote: >> Assumed Uboot and environment are located in NAND flash. >> Just a short question: Is the ECC done before the CRC check, or is the >> CRC check done first? >> From my observation I would assume that first CRC is checked. But if > > Your observations are wrong. > >> so - imho in my case (environment in NAND, which is handled with ECC) >> this wouldn't make sense. >> Am I right, that in this situation I should configure uboot to NOT use >> CRC protection? > > No, you should not meddle with the CRC checking. > > 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: [email protected] > Star Trek Lives! >
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. Best regards Arno _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

