Can ID the NAND chip, but every erase block is bad?

Bill Gatliff bgat at billgatliff.com
Sat Jan 2 00:05:52 EST 2010


Guys:


I have a platform with an ancient Linux kernel that I'm updating, and
I'm having some problems.  The platform has a Freescale MPC5200, a
Samsung K9 NAND flash chip, and it all works fine under 2.6.20, I'm
trying to bring it up to 2.6.32.

Simply put, when I register the gen_nand device for this chip under
2.6.32, it successfully identifies the chip but then says that every
single eraseblock in the chip is bad.  When I reboot to the 2.6.20
kernel, I don't get any complaints there.  I see the same problem both
with and without CONFIG_MTD_NAND_ECC_SMC.

Anyone have any ideas on where I should look for the problem?  Thanks!


b.g.

-- 
Bill Gatliff
Embedded systems training and consulting
http://billgatliff.com
bgat at billgatliff.com




More information about the linux-mtd mailing list