u-boot reports ecc error on blocks written by nandwrite

James jamessteward at optusnet.com.au
Mon Jun 2 17:35:52 EDT 2008


Hi Mark,

On Mon, 2008-06-02 at 11:09 -0700, Mark Roths wrote:
> There appears to be a discrepancy between how the linux mtd driver and
> u-boot handle the ecc.  Or I am doing something
> boneheadded.

It is unlikely but possible that you have one configured for hardware
ECC, and the other software ECC.

Can U-boot erase, write and read back some data properly?
(see u-boot-1.1.5/doc/README.nand for commands)

You are erasing before writing?

Regards,
James.




More information about the linux-mtd mailing list