[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 20:12:52 CET 2013


On Thu, 2013-12-12 at 09:38 +0100, micro1183 wrote:
> On 12/12/2013 01:24 AM, Scott Wood wrote:
> > 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
> >>>>
> [snip]
> >>>>
> >>>
> >>> 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?
> 
> I use the omap nand driver, the cpu is a AM335x with hw ecc elm.
> Depending on the flash type, the rom code expects BCH8 or BCH16 unless
> ECC is completely disabled.
> I'm not sure if the ecc hw is used but I see oob bytes being used. How
> can I verify this?

What version of U-Boot did you try?  In particular, are you using top of
tree which has Pekon Gupta's patchset which significantly modifies how
ECC and layouts work in that driver?

-Scott




More information about the U-Boot mailing list