[U-Boot] [RFC PATCH] Add support for Micron MT29F8G08 8Gb NAND flash MID: 0x2c, DID: 0x38

Scott Wood scottwood at freescale.com
Thu Dec 12 01:24:38 CET 2013


On Wed, 2013-12-11 at 22:16 +0100, micro1183 wrote:
> On 12/11/2013 06:22 PM, Scott Wood wrote:
> > On Wed, 2013-12-11 at 12:02 +0100, micro1183 wrote:
> >> Microns MT29F8G08 8GBit flash is not identified correctly.
> >> Manufacturer ID is 0x2c, device ID is 0x38
> >>
> >> Signed-off-by: Lothar Felten <lothar.felten at gmail.com>
> >> CC:  scottwood at freescale.com
> >>
> >> ---
> >>  drivers/mtd/nand/nand_ids.c |    1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
> >> index f3f0cb6..a43d0e8 100644
> >> --- a/drivers/mtd/nand/nand_ids.c
> >> +++ b/drivers/mtd/nand/nand_ids.c
> >> @@ -108,6 +108,7 @@ const struct nand_flash_dev nand_flash_ids[] = {
> >>         /* 8 Gigabit */
> >>         {"NAND 1GiB 1,8V 8-bit",        0xA3, 0, 1024, 0, LP_OPTIONS},
> >>         {"NAND 1GiB 3,3V 8-bit",        0xD3, 0, 1024, 0, LP_OPTIONS},
> >> +       {"NAND 1GiB 3,3V 8-bit",        0x38, 0, 1024, 0, LP_OPTIONS},
> >>         {"NAND 1GiB 1,8V 16-bit",       0xB3, 0, 1024, 0, LP_OPTIONS16},
> >>         {"NAND 1GiB 3,3V 16-bit",       0xC3, 0, 1024, 0, LP_OPTIONS16},
> >>
> > 
> > Is this an ONFI flash?  If so, use that instead of the ID table.
> > 
> > -Scott
> > 
> 
> Hi Scott,
> 
> yes it's an ONFI flash, but the OOB size is 224 bytes, which results in
> a data abort (see below).
>
> Apparently the supported ONFI detected OOB sizes are 8,16,64 and 128 bytes.
> I lack a nand_oob_224 struct but I don't know what the default positions
> would be.

What NAND driver are you using?  Are you using hardware ECC or software
ECC?

-Scott




More information about the U-Boot mailing list