DENALI: can't detect NAND chip
Masahiro Yamada
yamada.masahiro at socionext.com
Tue Mar 13 01:48:01 PDT 2018
2018-03-12 23:29 GMT+09:00 Philipp Rosenberger <p.rosenberger at linutronix.de>:
> Hi,
>
> I'm currently porting Linux 4.14 to a Altera Cyclone V based board. The
> Denali NAND Driver isn't able to detect the NAND chip Micron MT29F4G08) correctly.
>
> [ 0.862242] nand: device found, Manufacturer ID: 0x00, Chip ID: 0x2c
> [ 0.868604] nand: Unknown denali-nand
> [ 0.872253] nand: bus width 8 instead of 16 bits
> [ 0.876899] nand: No NAND device found
> [ 0.880688] denali-nand-dt: probe of ff900000.nand failed with error -22
>
> The correct ManufID is 0x2c and the DevID is 0xdc. Currently we are
> running a 4.1 kernel with the "old" denali driver without this problem.
> While researching the issue I found the following Mail in the
> Rocketboards archive, which seems to be the same issue.
>
> https://lists.rocketboards.org/pipermail/rfi/2017-September/003627.html
>
>
> We also tested Linux 4.16-rc5 without any additional patches with the same behavior.
>
I got a similar report before for SOCFPGA.
The reporter found a problem in his clock setting:
http://linux-mtd.infradead.narkive.com/MMBF5wzm/nand-denali-issue-with-4-13
--
Best Regards
Masahiro Yamada
More information about the linux-mtd
mailing list