[U-Boot-Users] NAND driver issue

Dave Ellis DGE at sixnetio.com
Fri Dec 9 22:31:58 CET 2005


Thursday, December 08, 2005 11:33 AM Aubrey wrote:

> But "nand read" and "nand write" failed because of ECC. So I try to
> remove the macro "CONFIG_MTD_NAND_ECC" from the file
> "common/cmd_nand.c", now it works. I can run "nand read" and "nand
> write" successfully. The data wrote into the NAND flash and read back
> is the same.

I think the ECC code used to be broken unless CONFIG_MTD_NAND_ECC_JFFS2
is set in your board config file.

Dave Ellis

~~~~~~~~~~~~~~~~~~~~~~~~~~
SIXNET - "Leading the Industrial Ethernet Revolution"
331 Ushers Road,   P.O. Box 767, Clifton Park, NY 12065 USA
Tel +1 (518) 877-5173   Fax +1 (518) 877-8346
Email me at: dge at sixnetio.com 
Detailed product info: www.sixnetio.com 
~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the U-Boot mailing list