[U-Boot] NAND flash - bad blocks

Scott Wood scottwood at freescale.com
Tue Jan 15 18:33:20 CET 2013


On 01/15/2013 05:09:16 AM, Dimitar Penev wrote:
> Hi Scott,
> 
> I have tried to do some more tests on the board with the NAND chip I  
> have scrub-ed
> 
> -I have done 'nand erase.chip clean'

Don't specify "clean".  That will cause jffs2 cleanmarkers to be  
written.  Not all NAND chips can handle partial programming, and in any  
case it's an unnecessary variable for figuring out the bad block  
situation.

> and tried to probe different nand regions
> (I have 128MB RAM and 1GB NAND and I am not sure how I could dump the  
> whole NAND at once)
> It seems the whole NAND is 0xFF

Including OOB?

> So I tend to think that nand scrub did a good think for me.

No, it didn't.  You are ignoring the problem.

-Scott


More information about the U-Boot mailing list