[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20141021154815.1ae4c879@bbrezillon>
Date: Tue, 21 Oct 2014 15:48:15 +0200
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Ezaul Zillmer <ezaulzillmer@...il.com>
Cc: linux-sunxi@...glegroups.com, computersforpeace@...il.com,
dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, yassinjaffer@...il.com,
maxime.ripard@...e-electrons.com
Subject: Re: [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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists