Skip to content

mxc nand: Add support for i.MX5

Benoît Thébaudeau u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 13 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/13] mxc nand: Add support for i.MX5

Dear Marek Vasut,

Quoted 41 lines · Marek Vasut

Dear Beno?t Th?baudeau,

Quoted 30 lines

Dear Marek Vasut,

Quoted 16 lines · Marek Vasut

Dear Fabio Estevam,

Quoted 14 lines

Hi Beno?t,

On Mon, Jan 7, 2013 at 11:37 AM, Beno?t Th?baudeau

Quoted 8 lines · <[email protected]> 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.

Quoted 8 lines
Quoted 1 line

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:

Quoted 8 lines

#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

Quoted 7 lines

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