RE: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices

From: Suram Suram
Date: Fri May 15 2020 - 06:02:37 EST


+Ron who owns the test on this platform in NXP.

-----Original Message-----
From: Shivamurthy Shastri (sshivamurthy) <sshivamurthy@xxxxxxxxxx>
Sent: Friday, May 15, 2020 3:29 PM
To: Poonam Aggrwal <poonam.aggrwal@xxxxxxx>; Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
Cc: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>; shiva.linuxworks@xxxxxxxxx; Ashish Kumar <ashish.kumar@xxxxxxx>; Richard Weinberger <richard@xxxxxx>; Vignesh Raghavendra <vigneshr@xxxxxx>; Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>; Chuanhong Guo <gch981213@xxxxxxxxx>; Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>; linux-mtd@xxxxxxxxxxxxxxxxxxx; open list <linux-kernel@xxxxxxxxxxxxxxx>; Suram Suram <suram@xxxxxxx>; lkft-triage@xxxxxxxxxxxxxxxx
Subject: RE: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices

Caution: EXT Email

Hi Naresh and Poonam,

> Subject: [EXT] Re: [PATCH v7 0/6] Add new series Micron SPI NAND
> devices
>
> Hi Poonam,
>
> Poonam Aggrwal <poonam.aggrwal@xxxxxxx> wrote on Fri, 15 May 2020
> 05:29:07 +0000:
>
> > Adding Ashish.
> >
> > Regards
> > Poonam
> >
> > > -----Original Message-----
> > > From: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
> > > Sent: Friday, May 15, 2020 10:57 AM
> > > To: shiva.linuxworks@xxxxxxxxx; Miquel Raynal
> <miquel.raynal@xxxxxxxxxxx>;
> > > Shivamurthy Shastri <sshivamurthy@xxxxxxxxxx>
> > > Cc: Richard Weinberger <richard@xxxxxx>; Vignesh Raghavendra
> > > <vigneshr@xxxxxx>; Boris Brezillon
> > > <boris.brezillon@xxxxxxxxxxxxx>; Chuanhong Guo
> > > <gch981213@xxxxxxxxx>; Frieder Schrempf
> > > <frieder.schrempf@xxxxxxxxxx>; linux-mtd@xxxxxxxxxxxxxxxxxxx; open
> list <linux-
> > > kernel@xxxxxxxxxxxxxxx>; Poonam Aggrwal
> <poonam.aggrwal@xxxxxxx>;
> > > Suram Suram <suram@xxxxxxx>; lkft-triage@xxxxxxxxxxxxxxxx
> > > Subject: Re: [PATCH v7 0/6] Add new series Micron SPI NAND devices
> > >
> > > On Wed, 11 Mar 2020 at 23:28, <shiva.linuxworks@xxxxxxxxx> wrote:
> > > >
> > > > From: Shivamurthy Shastri <sshivamurthy@xxxxxxxxxx>
> > > >
> > > > This patchset is for the new series of Micron SPI NAND devices,
> > > > and the following links are their datasheets.
> > >
> > > While boot NXP ls2088 device with mainline kernel the following
> > > nand
> warning
> > > noticed. How critical this warning ?
>
> Are you sure this is the right thread? Shivamurthy added SPI-NAND
> support, you are talking about a raw NAND device.
> > >
> > > [ 1.357722] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
> > > [ 1.364085] nand: Micron MT29F16G08ABACAWP
> > > [ 1.368181] nand: 2048 MiB, SLC, erase size: 512 KiB, page size:
> > > 4096, OOB size: 224
> > > [ 1.375932] nand: WARNING: 530000000.flash: the ECC used on your
> > > system is too weak compared to the one required by the NAND chip
>
> If you are talking about this one, it is pretty self explanatory: the
> NAND chip requires a minimum correction which is not achieved here.
> Either because the ECC engine cannot reach the requested amount (you
> cannot do anything) or because you requested a too low correction with
> DT properties.
>

Minimum required ECC for this device is 8-bit. Below is the datasheet for your reference.

https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.micron.com%2F-%2Fmedia%2Fclient%2Fglobal%2Fdocuments%2Fproducts%2Fdata-sheet%2Fnand-flash%2F70-series%2Fm72a_production_datasheet_revg.pdf%3Frev%3Dbb0a4ba04a1f40f98e29dc624d178dd8&amp;data=02%7C01%7Csuram%40nxp.com%7Cf699d2102f954d4d3bd208d7f8b69d35%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637251335518803010&amp;sdata=1HP9Nx2mpttYGyURYB8t1hRsLOX6cBi05wnq8tiok64%3D&amp;reserved=0


> > >
> > > [ 1.388767] Bad block table found at page 524160, version 0x01
> > > [ 1.396833] Bad block table found at page 524032, version 0x01
> > > [ 1.403781] nand_read_bbt: bad block at 0x000002d00000
> > > [ 1.408921] nand_read_bbt: bad block at 0x000002d80000
> > > [ 1.414750] fsl,ifc-nand 530000000.nand: IFC NAND device at
> > > 0x530000000, bank 2
> > >
> > >
> > > Full test log,
> > >
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fqa-
> > > reports.linaro.org%2Flkft%2Flinux-mainline-oe%2Fbuild%2Fv5.7-rc5-5
> > > 5-
> > >
> g1ae7efb38854%2Ftestrun%2F18254%2Flog&amp;data=02%7C01%7Cpoona
> m.
> > >
> aggrwal%40nxp.com%7C146f634c869f4c70baa108d7f8909ffb%7C686ea1d3bc
> 2
> > >
> b4c6fa92cd99c5c301635%7C0%7C0%7C637251172354638298&amp;sdata=%2B
> > >
> Jhs%2Fb92%2BA56WzYdHe%2BBhXWfjk8feCGAFv%2BRzFKC9PM%3D&amp;r
> ese
> > > rved=0
> > >
> > > - Naresh
>
> Thanks,
> MiquÃl

Thanks,
Shiva