public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Incorrect detection of Micron MT29F32G08
@ 2013-09-17  7:02 Andrei Andreyanau
  2013-09-17 12:30 ` Gupta, Pekon
  0 siblings, 1 reply; 6+ messages in thread
From: Andrei Andreyanau @ 2013-09-17  7:02 UTC (permalink / raw)
  To: linux-mtd

Hi,
I've faced a problem with the Micron NAND MT29F32G08,
which is 4GiBs, 8K blocks per LUN, 224b OOB, 512K erase size,
has two planes 4k blocks each. In the kernel (I use v3.0.35)
it is detected as 2GiB device. Only when I disable part of the
code which belongs to ONFI detection, add definition for this
device in nand_ids.c (device has id=0x48), add 224b OOB table,
I can see that it's a 4GiBs device, but when I'm trying formatting
the largest partition (I have 4 partitions - barebox, env, kernel,
rootfs <- the largest) - it drops an I/O error about bad blocks
(I did scan and mark all bad blocks before)...
It seems to me that the amount of pages per lun is not detected
correctly which leads to incorrect detection of device's size etc. Bad
thing is that the datasheet for a/m NAND doesn't contain what
are the values from NAND-device registers mean (or I missed something).
Could you please suggest where to dig?

Thanks in advance,
Andrei Andreyanau

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-20 13:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17  7:02 Incorrect detection of Micron MT29F32G08 Andrei Andreyanau
2013-09-17 12:30 ` Gupta, Pekon
2013-09-20 10:47   ` Andrei Andreyanau
2013-09-20 11:23     ` Gupta, Pekon
2013-09-20 11:46       ` Andrei Andreyanau
2013-09-20 13:24         ` Gupta, Pekon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox