DENALI: can't detect NAND chip
Philipp Rosenberger
p.rosenberger at linutronix.de
Mon Mar 12 07:29:46 PDT 2018
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.
Best regards,
Philipp
More information about the linux-mtd
mailing list