public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Support for NAND devices > 4GB
@ 2008-12-05 15:30 Maupin, Chase
  2008-12-05 15:58 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Maupin, Chase @ 2008-12-05 15:30 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

All,

I have a Samsung NAND chip part number (K9WBG08U1M) which is a 32GB NAND chip with 4K page sizes.  It looks like it is actually 2 chips together as it is reported in the kernel as having "2 NAND chips detected".  The kernel is properly detecting the 4K page size but it seems like there is a limitation in the mtd_info structure of 4GB for the size of the NAND.  Can anyone tell me if there is support in the Linux MTD system for NAND devices greater than 4GB?  Does anyone have a patch I could look at for this?

I have tried changing the size element in the mtd_info structure to u_int64_t and then changing the code in YAFFS2 and in the add_mtd_partitions function to use do_div for the division of the size element but still no success.

I am working in a 2.6.10 kernel (which I cannot update) and will back port any patches people may have.

Again, any help that could be offered here would be greatly appreciated.

Sincerely,
Chase Maupin

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

end of thread, other threads:[~2008-12-05 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 15:30 Support for NAND devices > 4GB Maupin, Chase
2008-12-05 15:58 ` Artem Bityutskiy

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