Thread (1 message) 1 message, 1 author, 2014-10-21

[PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc

From: Boris Brezillon <hidden>
Date: 2014-10-21 13:48:20
Also in: linux-devicetree, lkml

On Tue, 21 Oct 2014 06:13:16 -0700 (PDT)
Ezaul Zillmer [off-list ref] wrote:
Hello everyone 

Boris Brezillon 

downloaded sunxi-nand-v6 now compiled for Cubieboard2 
https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6 

u-boot 
git clone https://github.com/jwrdegoede/u-boot-b sunxi.git sunxi-wip 


[1.143903] nand: Could not find valid JEDEC parameter page; aborting 
[1.150369] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd7 
[1.156766] nand: Samsung NAND 4GiB 3.3V 8-bit 
[1.161214] nand: 4096MiB, MLC, page size: 8192, OOB size: 640 
[1.167167] sunxi_nand 1c03000.nand: ECC init failed: -22 
[1.172588] sunxi_nand 1c03000.nand: failed to init nand chips 
[1.178502] sunxi_nand: probe of 1c03000.nand failed with error -22 

need some more data?
No, this is still the same problem you had last time you asked:

You haven't defined your NAND chip in the nand_ids table, and thus
strength and size fields of the nand_ecc_ctrl struct are undefined...

You'll have to retrieve the whole READ_ID sequence and add a proper
entry in the nand_ids table (see [1] for an example).

Regards,

Boris

[1]https://github.com/bbrezillon/linux-sunxi/commit/da96d64e6ece81e717bbdcad28caf0e5a9c40995

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help