u-boot reports ecc error on blocks written by nandwrite
James
jamessteward at optusnet.com.au
Mon Jun 2 18:18:59 EDT 2008
On Mon, 2008-06-02 at 14:56 -0700, Mark Roths wrote:
> Yes, u-boot can erase, write, and read with no problems on its own.
> I use the u-boot nand utilities to build my flash with bootloader, u-boot,
> linux and initrd. All that works fantastically.
>
> The only time I have problems is when I write a block in my boot partition
> using nandwrite, and then subsequently read it with u-boot on the next boot.
> And the completely strange behavior is that if I request 1 byte using 'nand
> read', it fails the 1st time and then succeeds - all reads succeed after
> that with no ecc errors.
Sounds almost like a cache problem.
> Both the mtdchar driver and u-boot are configured for soft ecc, or so I
> believe from my reading of the code.
Likely.
I've had a plethora of problems using the NAND MT29F2G08AACWP on some
AT91SAM9263-EK boards. I now feel it might be a timing issue. Maybe
yours is too!
Regards,
James.
More information about the linux-mtd
mailing list