MTD - NAND (Micron MT29F16G08)

Ricard Wanderlof ricard.wanderlof at axis.com
Wed Feb 20 11:25:27 EST 2008


On Wed, 20 Feb 2008, Ken Chan wrote:

> Hi,
> I am trying to get my NAND Flash (Micron MT29F16G08 -- 2 GBytes NAND) going.
> Based on the data sheet, the page size is 4KB, the Spare area size (i.e.
> OOB) is 218 Bytes, the Block size is 512KB.
> I am using Linux Kernel 2.6.16 and it does not support this NAND Flash
> because of the OOB is 218 Bytes.
> I checked the Linux Kernel (2.6.24) and same thing applied.
>
> Here are my questions:
> 1) How can I build a data structure "struct nand_oobinfo nand_oob_218"?
> What shall I put for those eccpos[]?
> 2) If I don't want to create that new data structure, what is the
> alternative method to bring up that NAND Flash?
> 3) Do anyone have similar problem using that kind of NAND Flash?

Just a guess here, does it matter that the exact oob size is not 
supported? As long as there are enough bytes for what is needed (bad block 
indicator, ECC data, and jffs2 cleanmarkers if using jffs2 filesystem) it 
might not matter what the exact size is. Most flashes support reading and 
writing less than a full page or oob.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list