[U-Boot] NAND ECC mixup?

Gary Thomas gary at mlbassoc.com
Fri Apr 16 17:55:19 CEST 2010


I'm having trouble with NAND ECC on my OMAP/3530 platform.  It
seems that U-Boot and Linux don't agree on the ECC patterns for
a given set of data.

In particular, if I create the U-Boot environment in NAND, then
update it via fw_setconfig in Linux, U-Boot is no longer happy
with the ECC bits.

I noticed that the file drivers/mtd/nand/nand_ecc.c has changed
dramatically in the Linux sources.  Could this be the problem?

My code is based on git://git.denx.de/u-boot.git
   15fba3279b56333bdb65ead366f82c945ed320d1 ppc/85xx: Disable all async interrupt sources when we boot
My Linux kernel is 2.6.31 or newer

I looked in the latest tree and didn't see anything relevant.
Am I missing something?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the U-Boot mailing list