From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/13] mxc nand: Add support for i.MX5
Date: Mon, 7 Jan 2013 17:55:13 +0100 (CET) [thread overview]
Message-ID: <1508003227.1049183.1357577713306.JavaMail.root@advansee.com> (raw)
In-Reply-To: <201301071742.12096.marex@denx.de>
Dear Marek Vasut,
On Monday, January 7, 2013 5:42:11 PM, Marek Vasut wrote:
> Dear Beno?t Th?baudeau,
>
> > Dear Marek Vasut,
> >
> > On Monday, January 7, 2013 4:08:45 PM, Marek Vasut wrote:
> > > Dear Fabio Estevam,
> > >
> > > > Hi Beno?t,
> > > >
> > > > On Mon, Jan 7, 2013 at 11:37 AM, Beno?t Th?baudeau
> > > >
> > > > <benoit.thebaudeau@advansee.com> wrote:
> > > > > Fabio, can you give me the reference of the NAND Flash that
> > > > > you
> > > > > will use
> > > > > for testing on i.MX53? That will allow me to adjust the NFC
> > > > > clock
> > > > > and to
> > > > > know if I also have to add support for 4-kiB pages or
> > > > > multi-CS.
> > > >
> > > > The NAND I have is a K9LAG08U0M.
> > >
> > > Do you guys happen to have include/config/<config>.h section for
> > > the
> > > MX5 NFC ?
> > > esp. this CONFIG_MXC_NAND_IP_REGS_BASE is what I don't quite get
> > > how
> > > it fits in.
> >
> > Here is this section for my custom i.MX51 board:
> >
> > #define CONFIG_SYS_MAX_NAND_DEVICE 1
> > #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR_AXI
> > #define CONFIG_NAND_MXC
> > #define CONFIG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI
> > #define CONFIG_MXC_NAND_IP_REGS_BASE NFC_BASE_ADDR
> > #define CONFIG_SYS_NAND_LARGEPAGE
> > #define CONFIG_MXC_NAND_HWECC
> > #define CONFIG_SYS_NAND_USE_FLASH_BBT
>
> Benoit, not much luck with this stuff. Am I missing something else? I
> believe I
> configured pinmux, I enabled the NAND clock too. But maybe there's
> something
> else? Can you send me some patch that enables use of this NAND driver
> on your
> MX5 platform?
Did you check that the NFC clock frequency is compatible with your NAND Flash?
Are your running this on i.MX51 or i.MX53?
Are you booting from NAND, or are you just accessing NAND after another source
of boot?
Which NAND Flash reference are you using? As I mentioned, 4-kiB pages and
multi-CS are not yet supported.
Pinmux should be NFC-ready by default (at least for CS0 on i.MX51).
What did you test and what did you get?
I don't think that I have a simple patch for what you ask. Can you instead send
me your patch, and I'll take a look at it?
Best regards,
Beno?t
next prev parent reply other threads:[~2013-01-07 16:55 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 20:47 [U-Boot] [PATCH 00/13] mxc nand: Add support for i.MX5 Benoît Thébaudeau
2012-08-13 20:48 ` [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions Benoît Thébaudeau
2012-08-14 8:37 ` Stefano Babic
2012-08-14 10:15 ` Benoît Thébaudeau
2012-08-14 10:46 ` Stefano Babic
2012-08-14 11:13 ` Benoît Thébaudeau
2012-08-14 14:02 ` Stefano Babic
2012-08-14 14:29 ` Benoît Thébaudeau
2012-08-15 18:11 ` Benoît Thébaudeau
2012-08-16 7:27 ` Stefano Babic
2012-08-14 16:01 ` Scott Wood
2012-08-13 20:48 ` [U-Boot] [PATCH 02/13] mxc nand: cosmectic: Light cleanup Benoît Thébaudeau
2012-08-14 8:41 ` Stefano Babic
2012-08-13 20:48 ` [U-Boot] [PATCH 03/13] spl mxc nand: Merge duplicated code Benoît Thébaudeau
2012-08-14 9:25 ` Stefano Babic
2012-08-13 20:49 ` [U-Boot] [PATCH 04/13] spl mxc nand: Remove " Benoît Thébaudeau
2012-08-13 20:49 ` [U-Boot] [PATCH 05/13] spl mxc nand: Set symmetric mode Benoît Thébaudeau
2012-08-13 20:49 ` [U-Boot] [PATCH 06/13] mxc nand: Access all ecc_status_result fields Benoît Thébaudeau
2012-09-18 0:39 ` Scott Wood
2012-09-18 0:50 ` Scott Wood
2012-08-13 20:49 ` [U-Boot] [PATCH 07/13] spl mxc nand: Fix broken boot for correctable ECC errors Benoît Thébaudeau
2012-08-13 20:50 ` [U-Boot] [PATCH 08/13] mtd mxc nand: Use _mxc_nand_enable_hwecc() Benoît Thébaudeau
2012-08-14 8:50 ` Stefano Babic
2012-08-14 10:04 ` Benoît Thébaudeau
2012-08-13 20:50 ` [U-Boot] [PATCH 09/13] mtd mxc nand: Fix ECC state after read_page_raw_syndrome() Benoît Thébaudeau
2012-08-13 20:50 ` [U-Boot] [PATCH 10/13] mtd mxc nand: Merge init functions Benoît Thébaudeau
2012-08-13 20:50 ` [U-Boot] [PATCH 11/13] mxc nand: Let driver detect IP revision Benoît Thébaudeau
2012-08-14 9:28 ` Stefano Babic
2012-08-13 20:50 ` [U-Boot] [PATCH 12/13] mxc nand: Homogenize IP revisions with Linux Benoît Thébaudeau
2012-08-13 20:51 ` [U-Boot] [PATCH 13/13] mxc nand: Add support for i.MX5 Benoît Thébaudeau
2012-08-13 21:04 ` Troy Kisky
2012-08-13 21:06 ` Troy Kisky
2012-08-21 21:04 ` [U-Boot] [PATCH v2 " Benoît Thébaudeau
2012-08-21 21:21 ` Scott Wood
2012-09-18 0:36 ` Scott Wood
2012-09-18 18:11 ` Tom Rini
2012-11-15 22:22 ` Scott Wood
2012-11-16 20:15 ` Benoît Thébaudeau
2012-11-16 20:18 ` Scott Wood
2012-11-16 20:19 ` Scott Wood
2012-11-16 20:28 ` Benoît Thébaudeau
2012-11-17 0:01 ` Scott Wood
2012-11-17 1:43 ` Benoît Thébaudeau
2012-11-20 23:03 ` Scott Wood
2012-11-20 23:31 ` Benoît Thébaudeau
2012-11-17 18:37 ` Fabio Estevam
2012-11-20 20:33 ` Matt Sealey
2012-09-18 1:01 ` Scott Wood
2012-09-18 10:18 ` Benoît Thébaudeau
2012-09-18 1:19 ` [U-Boot] [PATCH 00/13] " Scott Wood
2013-01-07 13:02 ` Marek Vasut
2013-01-07 13:37 ` Benoît Thébaudeau
2013-01-07 13:47 ` Marek Vasut
2013-01-08 0:49 ` Scott Wood
2013-01-08 6:59 ` Marek Vasut
2013-01-07 14:36 ` Fabio Estevam
2013-01-07 15:08 ` Marek Vasut
2013-01-07 15:30 ` Benoît Thébaudeau
2013-01-07 15:33 ` Marek Vasut
2013-01-07 16:42 ` Marek Vasut
2013-01-07 16:55 ` Benoît Thébaudeau [this message]
2013-01-08 7:15 ` Marek Vasut
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=1508003227.1049183.1357577713306.JavaMail.root@advansee.com \
--to=benoit.thebaudeau@advansee.com \
--cc=u-boot@lists.denx.de \
/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