NAND support for Armada 370

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jan 2 08:42:36 EST 2014


Dear Rodolfo Giometti,

The e-mail address you used for Gregory is wrong. Also, for NAND
questions, you should Cc Ezequiel Garcia (I added him), as he is our
NAND driver developer.

On Thu, 2 Jan 2014 13:44:07 +0100, Rodolfo Giometti wrote:

> I'm working on vanilla kernel 3.13-rc6 and an Armada-370 based board
> (compatible with armada-370-db) and I'm trying to get NAND support
> working.
> 
> I noticed that on my kernel is missing your patch named "[PATCH v2
> 01/27] clk: mvebu: Add Core Divider clock", however after applying it
> I get:
> 
>    pxa3xx-nand f10d0000.nand: This platform can't do DMA on this device
>    pxa3xx-nand f10d0000.nand: Wait time out!!!
>    pxa3xx-nand f10d0000.nand: Wait time out!!!
>    pxa3xx-nand f10d0000.nand: Wait time out!!!
>    No NAND device found
> 
> Do I still miss something? And what about DMA support?

The 3.13-rc kernels do not have NAND support for Armada 370/XP. The
NAND support will only arrive in 3.14. You can try the linux-next tree,
but I'm not sure it has absolutely all of the patches that are needed
(I see at least one potentially missing).

Alternatively, you can use the backport-3.10 branch at
https://github.com/MISL-EBU-System-SW/mainline-public/commits/backport-3.10.
It is based on 3.10, and has a good number of backported patches,
including NAND support.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list