NAND timeout issues with blank chip and Marvell NFC

Miquel Raynal miquel.raynal at bootlin.com
Wed Apr 25 06:32:52 PDT 2018


Hi Chris,

On Tue, 24 Apr 2018 05:31:39 +0000, Chris Packham
<Chris.Packham at alliedtelesis.co.nz> wrote:

> Hi,
> 
> We're in the process of qualifying new NAND chips (Macronix 
> MX30LF2G18AC) for one of our Armada-385 based devices and we're 
> experiencing some long startup times on units with factory fresh NAND 
> chips. Anecdotally I think I've also seen this behaviour on the old 
> chips as well (Micron MT29F2G08ABAEAWP-ITX:E).
> 
> On 4.17.0-rc2 with the newly re-written NAND infrastructure we see
> 
> nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
> nand: Macronix MX30LF2G18AC
> nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
> marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000080)
> marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000280)

I just sent a patch (and forgot to add you in copy) [1]. This should
remove these two timeouts. I don't think it will improve your (first)
boot time though.

The patch is within a short series fixing various portion of the same
chunk of code, I suggest you to take them all.

[1] http://lists.infradead.org/pipermail/linux-mtd/2018-April/080537.html

Regards,
Miquèl

-- 
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-mtd mailing list