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 18:37:41 +0800 [thread overview]
Message-ID: <4E37D375.7000400@freescale.com> (raw)
In-Reply-To: <CAHMSPgOBhZVgjXZTWWPtwBxrF4g1tFa2E5N+Yjs+ku-0BwKPVA@mail.gmail.com>
hi:
>
>> The following is my test environment:
>> [0] Hardware:
>> MX23EVK PCB REV C
> I have the same hardware. But also on our own hardware (mx23, but
> different dram and different nand) it's failing with the same output
> as on the evk (see log file in previous mail).
I will check the schematic of mx23 tomorrow, and find what will cause
conflict with GPMI.
>> [1] SW:
>> kernel:git://git.linaro.org/people/shawnguo/linux-2.6.git mxs-gpmi
>> .config: my_config , you can find it in my previous email.
>> cmdline: console=ttyAMA0,115200 root=/dev/mmcblk0p1 rw rootwait
>> gpmi_debug_init mtdparts=gpmi-nand:20m(boot),-(user)
> I use that git and your config file. Only thing i have changed to the
> config is to integrate the initramfs rootfs.
> Would it be possible for you to test using rootfs in initramfs? Now
could you tell me how can i test the rootfs in initramfs?
I have no idea about how to test it.
> you are using the mmc card as rootfs which is on the dma engine and
> bus.
>
>
>> [2] test shell script:
>> ================================
>>
>> echo 0x20> /sys/module/gpmi_nand/parameters/gpmi_debug
> As said, don't have that gpmi_debug sysfs entry. Sure you don't have
> any other modification done which are not in that git branch?
The sysfs entry does exit.
Please check carefully.
The code in gpmi-nand.c defines it.
>> flash_eraseall /dev/mtd1
>> ubiformat /dev/mtd1
>> flash_eraseall /dev/mtd1
>> ubiattach /dev/ubi_ctrl -m 1
>> ubimkvol /dev/ubi0 -N test -m
>> mount -t ubifs ubi0:test tmp
>> bonnie++ -d tmp -u 0 -s 2 -r 1
>> bonnie++ -d tmp -u 0 -s 2 -r 1
>> bonnie++ -d tmp -u 0 -s 2 -r 1
>> umount tmp
>> ubidetach /dev/ubi_ctrl -m 1
>>
>> ================================
>>
>> [3] conclusion
>> It runs well in my mx23 board, and no DMA-TIMEOUT occur.
>> I think there is some conflict in your board.
> Don't know what conflict I would have with my board. I just use the
> board without anything (mmc, lcd, ...) attached to it.
>
>> BTW:
>> I split the MTD to 20M and (the rest size).
> So do I.
>
>> The flash_eraseall works well.
>> If i do not split the MTD, the flash_eraseall will not work.
> That's strange because I use flash_eraseall on my mtd1 which is 108 MB.
> I don't know how you boot but my uboot is in mtd0, so don't use that
I boot the kernel by the USB with sb_loader.
Best Regards
Huang Shijie
next prev parent reply other threads:[~2011-08-02 10:37 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
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 [this message]
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=4E37D375.7000400@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).