Skip to contentSkip to conversation

i.MX6S/GPMI-NAND issue on 3.5.4

DISCUSSION Vikram Narayanan 3 participants 4 messages Sep 21, 2012 – Oct 8, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

I'm facing some issue with GPMI-NAND driver on i.MX6 solo. I've a TOSHIBA 4KiB page NAND connected to the GPMI. (4KiB + 128 bytes OOB)

I tested it using the following,

1) U-boot v2012.04
2) Freescale's U-boot for i.MX6
3) Freescale's Kernel 3.0.15

	Result: 0x98 0xAC 0x90 0x26 (Correct)

4) Linux v3.5.4 stable

	Result: 0x98 0xA8 0x90 0x20 (Incorrect)

When I issue a READID command, 1, 2 & 3 gives me correct results, whereas the 3.5.4 version gives me some different result.

Any help would be very much appreciated.

Regards,
Vikram

#1 lore raw
Quoted 3 lines · Vikram Narayanan

Hello,

I'm facing some issue with GPMI-NAND driver on i.MX6 solo.

Does the MX6Q solo support the NAND?
I have the solo board in my hand. But it can not support the NAND.

You make the board yourself?
If so, please check the pinmux for solo.

thanks
Huang Shijie

Quoted 21 lines

I've a TOSHIBA 4KiB page NAND connected to the GPMI. (4KiB + 128 bytes OOB)

I tested it using the following,

1) U-boot v2012.04
2) Freescale's U-boot for i.MX6
3) Freescale's Kernel 3.0.15
Result: 0x98 0xAC 0x90 0x26 (Correct)

4) Linux v3.5.4 stable
Result: 0x98 0xA8 0x90 0x20 (Incorrect)

When I issue a READID command, 1, 2 & 3 gives me correct results, whereas the 3.5.4 version gives me some different result.

Any help would be very much appreciated.

Regards,
Vikram

#2 lore raw
Quoted 5 lines · Huang Shijie
Quoted 3 lines · Vikram Narayanan

Hello,

I'm facing some issue with GPMI-NAND driver on i.MX6 solo.

Does the MX6Q solo support the NAND?

Yes. i.Mx6Solo supports NAND.

Quoted 4 lines

I have the solo board in my hand. But it can not support the NAND.

You make the board yourself?
If so, please check the pinmux for solo.

Yeah I figured out that pinctrl driver was the problem.Anyway thanks for the pointing it out.

Regards,
Vikram

#3 lore raw
In reply to Vikram Narayanan

Hi Vikram,

Quoted 5 lines · Vikram Narayanan

Hello,

I'm facing some issue with GPMI-NAND driver on i.MX6 solo. I've a TOSHIBA 4KiB page NAND connected to the GPMI. (4KiB + 128 bytes OOB)

Can you please post your mx6sl dts patches? This would help us to identify the problem.

Regards,

Fabio Estevam