From: ezequiel.garcia@free-electrons.com (Ezequiel Garcia)
To: linux-arm-kernel@lists.infradead.org
Subject: NAND support for Armada 370
Date: Fri, 3 Jan 2014 11:53:37 -0300 [thread overview]
Message-ID: <20140103145336.GA9618@localhost> (raw)
In-Reply-To: <20140103112926.GP10251@enneenne.com>
On Fri, Jan 03, 2014 at 12:29:27PM +0100, Rodolfo Giometti wrote:
> On Thu, Jan 02, 2014 at 02:42:36PM +0100, Thomas Petazzoni wrote:
> >
> > 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.
>
> I got several patches from here:
>
> https://github.com/MISL-EBU-System-SW/mainline-public.git
>
> and now I have:
>
> pxa3xx-nand f10d0000.nand: This platform can't do DMA on this device
> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABADAWP)
> NAND device: 128MiB, SLC, page size: 2048, OOB size: 64
Great! Your NAND is now detected...
> pxa3xx-nand f10d0000.nand: ECC strength 4 at page size 2048 is not supported
> pxa3xx-nand f10d0000.nand: failed to scan nand at cs 0
>
> So I suppose I should modify function pxa_ecc_init() in file
> drivers/mtd/nand/pxa3xx_nand.c in order to support my NAND chip, is
> that right? Have you any advice for me about it? :)
>
Can you modify the above message so the ECC step size is also printed?
I'll help you prepare a suitable fix to support your NAND.
Thanks!
--
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-01-03 14:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 12:44 NAND support for Armada 370 Rodolfo Giometti
2014-01-02 13:42 ` Thomas Petazzoni
2014-01-02 13:50 ` Rodolfo Giometti
2014-01-03 11:29 ` Rodolfo Giometti
2014-01-03 14:53 ` Ezequiel Garcia [this message]
2014-01-03 15:32 ` Rodolfo Giometti
2014-01-06 15:34 ` Rodolfo Giometti
2014-01-08 23:36 ` Ezequiel Garcia
2014-01-09 16:33 ` Rodolfo Giometti
2014-01-13 11:10 ` Ezequiel Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140103145336.GA9618@localhost \
--to=ezequiel.garcia@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).