linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 0/3] add the GPMI controller driver for IMX23/IMX28
Date: Tue, 2 Aug 2011 16:22:29 +0800	[thread overview]
Message-ID: <4E37B3C5.3050601@freescale.com> (raw)
In-Reply-To: <20110802081253.GA23380@freescale.com>

? 2011?08?02? 16:12, Shawn Guo ??:
> On Tue, Aug 02, 2011 at 02:19:56PM +0800, Huang Shijie wrote:
>> Hi,
>>> On Fri, Jul 29, 2011 at 11:49 AM, Huang Shijie<b32955@freescale.com>   wrote:
>>>> ? 2011?07?29? 15:40, Koen Beel ??:
>>>>> Hi,
>>>>>
>>>>> On Fri, Jul 29, 2011 at 9:20 AM, Lothar Wa?mann<LW@karo-electronics.de>
>>>>>   wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Koen Beel writes:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have test on mx23evk board. Still see the same issues.
>>>>>>>
>>>>>>> On Wed, Jul 27, 2011 at 3:53 AM, Huang Shijie<b32955@freescale.com>
>>>>>>>   wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Thanks for your test.
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> It's not really working for me.
>>>>>>>>> I've applied all gpmi-nand driver patches and the dma driver patches.
>>>>>>>>>
>>>>>>>>> I have added following kernel parameters:
>>>>>>>>> mtdparts=gpmi-nand:20m(boot),-(user) ubi.mtd=1 root=ubi0:rootfs0
>>>>>>>>> rootfstype=ubifs gpmi_debug_init
>>>>>>>>>
>>>>>>>>> During boot I get already get DMA timeout:
>>>>>>>>> [    2.560000] [ start_dma_without_bch_irq : 392 ] DMA timeout, last
>>>>>>>>> DMA
>>>>>>>>> :1
>>>>>>>>> [    3.560000] [ start_dma_with_bch_irq : 427 ] bch timeout!!!
>>>>>>>>> ...
>>>>>>>>> (see log file in attach line 89)
>>>>>>> I still see this DMA timeout when booting.
>>>>>>> What kernel parameters do you use? I still use same as above.
>>>>>>>
>>>>>> Do you have an SD card in the system? I'm getting the same error when
>>>>>> accessing an SD card. Without SD card I can use the flash without any
>>>>>> errors.
>>>>> No SD card in the system. At least not on my mx23evk board.
>>>>> My real target hardware has a SDIO wifi chip.
>>>> Does it conflict with the GPMI?
>>> Well I don't know if it conflicts. From what Lothar says I assume
>>> there might be a conflict between gpmi and sdio.
>> Yes, the conflict between gpmi and other module(such as SD in MX6Q)
>> is THE prime reason
>> which caused the DMA timeout.
>>
>> I am debuging the IMX6Q now, and meet the same problem.
>>
> I do not follow on this.  SD on i.mx6q does not use apbh-dma at all.
> How will it conflict with gpmi regarding to dma timeout?
>
The SD shares the same lines with GPMI, such NANDF_WE/NANDF_RE, 
NANDF_ALE, NANDF_CS0.
If the SD card is working, the GPMI will not.


Huang Shijie

  reply	other threads:[~2011-08-02  8:22 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21  6:47 [PATCH v8 0/3] add the GPMI controller driver for IMX23/IMX28 Huang Shijie
2011-07-21  6:47 ` [PATCH v8 1/3] MTD : add the common code for GPMI-NAND controller driver Huang Shijie
2011-07-21  6:47 ` [PATCH v8 2/3] MTD : add helper functions library and header files for GPMI NAND driver Huang Shijie
2011-07-21  6:47 ` [PATCH v8 3/3] MTD : add GPMI-NAND driver in the config and Makefile Huang Shijie
2011-07-21 21:50 ` [PATCH v8 0/3] add the GPMI controller driver for IMX23/IMX28 Wolfram Sang
2011-07-22  3:30   ` Huang Shijie
2011-07-22  5:57     ` Shawn Guo
2011-07-22  8:07       ` Huang Shijie
2011-07-26 14:29         ` Koen Beel
2011-07-27  1:53           ` Huang Shijie
2011-07-28  9:38             ` Koen Beel
2011-07-29  7:20               ` Lothar Waßmann
2011-07-29  7:40                 ` Koen Beel
2011-07-29  7:49                   ` Lothar Waßmann
2011-07-29  9:49                   ` Huang Shijie
2011-07-29 11:48                     ` Koen Beel
2011-08-02  6:19                       ` Huang Shijie
2011-08-02  7:16                         ` Shawn Guo
2011-08-02  8:11                         ` Shawn Guo
2011-08-02  8:12                         ` Shawn Guo
2011-08-02  8:22                           ` Huang Shijie [this message]
2011-07-29 12:41                   ` Lothar Waßmann
2011-07-29 15:00                     ` Koen Beel
2011-07-31 13:51                       ` Marek Vasut
2011-08-01 15:14                         ` Koen Beel
2011-08-02  6:37                           ` Huang Shijie
2011-08-02  7:33                             ` Koen Beel
2011-08-02  7:44                               ` Huang Shijie
2011-08-02  8:55                                 ` Koen Beel
2011-08-02  8:49                               ` Huang Shijie
2011-08-02  9:29                                 ` Koen Beel
2011-08-02 10:37                                   ` Huang Shijie
2011-08-02 12:32                                     ` Koen Beel
2011-08-02  6:21                       ` Huang Shijie
2011-08-03 10:37                   ` Wolfram Sang
2011-08-03 12:00                     ` Koen Beel

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=4E37B3C5.3050601@freescale.com \
    --to=b32955@freescale.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).