lkml.org 
[lkml]   [2014]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 2/2] mtd: nand: add sunxi NFC dt bindings doc
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT)
Ezaul Zillmer <ezaulzillmer@gmail.com> 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


\
 
 \ /
  Last update: 2014-10-21 16:21    [W:0.095 / U:2.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site