
On Thursday 08 February 2007 00:17, Ulf Samuelsson wrote:
Has anyone used the at91_nand driver on the AT91SAM9260EK?
I get bad erase blocks on every block that contaions data (written to nand flash with SAM-BA). Seems like the read_oob (read out of bounds area) function is returning data from the in bounds area.
U-boot configs the nand flash to use hw ecc (syndrome) whereas the at91_nand seems to be setup to use soft ecc.
According to recent conversations on U-Boot mailing list U-boot can do a raw copy of a flash file system, but nothing more. (Correct me if I have misunderstood)
Yes. But this copy is bad block aware.
This means that if there are faulty pages in the NAND flash, you are dead.
No. Bad blocks are handled correctly.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany =====================================================================