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

Wolfgang Denk wd at denx.de
Tue Sep 20 13:26:47 CEST 2011


Dear Arno Steffen,

In message <CAACX+R1vfc7C7XvygfVD8TV+ypaqSyON_EFX7VheQ8R56vncaA at 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: wd at denx.de
Star Trek Lives!


More information about the U-Boot mailing list