From: Huang Shijie <b32955@freescale.com> To: "Lothar Waßmann" <LW@KARO-electronics.de> Cc: Frank LI <B20596@freescale.com>, dedekind1@gmail.com, koen.beel.barco@gmail.com, w.sang@pengutronix.de, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, shijie8@gmail.com, s.hauer@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 Date: Mon, 26 Sep 2011 15:42:18 +0800 [thread overview] Message-ID: <4E802CDA.4080808@freescale.com> (raw) In-Reply-To: <20081.49563.934890.760378@ipc1.ka-ro> Hi Lothar, > Hi, > > Huang Shijie writes: >> Hi, >> add more CC. >>> Hi, >>> >>> Huang Shijie writes: >>>> The patch set is based on Artem's tree: >>>> http://git.infradead.org/users/dedekind/l2-mtd-2.6.git >>>> >>>> The general-purpose media interface(GPMI) controller is a flexible interface >>>> to up to several NAND flashs. >>>> >>>> The Bose Ray-Choudhury Hocquenghem(BCH) module is a hardware ECC accelerator. >>>> >>>> With the help of BCH, the GPMI controller can choose to do the hardware ECC or >>>> not. >>>> >>>> This driver is a _pure_ MTD NAND controller driver now. >>>> >>>> >>>> The driver depends on another GPMI-NAND device patch set, you can find them at : >>>> [1] http://marc.info/?l=linux-arm-kernel&m=131416901319573&w=2 >>>> [2] http://marc.info/?l=linux-arm-kernel&m=131416912319668&w=2 >>>> [3] http://marc.info/?l=linux-arm-kernel&m=131416891119504&w=2 >>>> [4] http://marc.info/?l=linux-arm-kernel&m=131416896219539&w=2 >>>> >>>> Test environment: >>>> Using imx23 and imx28 boards for test. >>>> >>>> imx23 : >>>> console=ttyAMA0,115200 mtdparts=gpmi-nfc:20m(boot),-(user) >>>> Tested by USB boot and NAND boot. >>>> >>>> imx28 : >>>> #console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait >>>> Tested by SD card boot mode. >>>> >>> How did you perform your tests? >>> >>> I tried this driver on our TX28 board with the result that with >> The nand conflicats with SD card1. You will get the DMA timeout if you >> use it. >> Do you use sd card0 or sd card1? >> > I'm using the SSP0 port. > >> BTW:I tested the gpmi driver with SD card0. It works fine. >> > What exactly did you do in your test? > Can you try the concurrent 'dd' commands that I used? I tested the following : #dd if=/dev/mmcblk0 > /dev/null [943147.630000] mmcblk0: error -110 transferring data, sector 3972320, nr 256, cmd response 0x900, card status 0x80b00 [943147.640000] mmcblk0: retrying using single block read [943158.250000] mmcblk0: error -110 transferring data, sector 3972480, nr 96, cmd response 0x900, card status 0x0 [943158.260000] end_request: I/O error, dev mmcblk0, sector 3972480 [943168.780000] mmcblk0: r/w command failed, status = 0x80900 [943168.790000] end_request: I/O error, dev mmcblk0, sector 3972481 [943168.790000] Buffer I/O error on device mmcblk0, logical block 496560 [943168.790000] end_request: I/O error, dev mmcblk0, sector 3972488 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496561 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972496 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496562 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972504 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496563 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972512 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496564 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972520 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496565 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972528 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496566 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972536 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496567 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972544 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496568 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972552 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972560 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972568 [943179.450000] mmcblk0: error -110 transferring data, sector 3972480, nr 8, cmd response 0x900, card status 0x80b00 [943179.460000] mmcblk0: retrying using single block read [943189.990000] mmcblk0: error -110 transferring data, sector 3972480, nr 8, cmd response 0x900, card status 0x0 [943190.000000] end_request: I/O error, dev mmcblk0, sector 3972480 [943200.530000] mmcblk0: r/w command failed, status = 0x80900 [943200.530000] end_request: I/O error, dev mmcblk0, sector 3972481 [943200.530000] quiet_error: 3 callbacks suppressed [943200.530000] Buffer I/O error on device mmcblk0, logical block 496560 dd: /dev/mmcblk0: Input/output error root@freescale ~$ ------------------------------------------------------------------------------------------------- It seems only test the SD card also can reproduce the same DMA bug. Best Regards Huang Shijie > > Lothar Waßmann
WARNING: multiple messages have this Message-ID (diff)
From: b32955@freescale.com (Huang Shijie) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 Date: Mon, 26 Sep 2011 15:42:18 +0800 [thread overview] Message-ID: <4E802CDA.4080808@freescale.com> (raw) In-Reply-To: <20081.49563.934890.760378@ipc1.ka-ro> Hi Lothar, > Hi, > > Huang Shijie writes: >> Hi, >> add more CC. >>> Hi, >>> >>> Huang Shijie writes: >>>> The patch set is based on Artem's tree: >>>> http://git.infradead.org/users/dedekind/l2-mtd-2.6.git >>>> >>>> The general-purpose media interface(GPMI) controller is a flexible interface >>>> to up to several NAND flashs. >>>> >>>> The Bose Ray-Choudhury Hocquenghem(BCH) module is a hardware ECC accelerator. >>>> >>>> With the help of BCH, the GPMI controller can choose to do the hardware ECC or >>>> not. >>>> >>>> This driver is a _pure_ MTD NAND controller driver now. >>>> >>>> >>>> The driver depends on another GPMI-NAND device patch set, you can find them at : >>>> [1] http://marc.info/?l=linux-arm-kernel&m=131416901319573&w=2 >>>> [2] http://marc.info/?l=linux-arm-kernel&m=131416912319668&w=2 >>>> [3] http://marc.info/?l=linux-arm-kernel&m=131416891119504&w=2 >>>> [4] http://marc.info/?l=linux-arm-kernel&m=131416896219539&w=2 >>>> >>>> Test environment: >>>> Using imx23 and imx28 boards for test. >>>> >>>> imx23 : >>>> console=ttyAMA0,115200 mtdparts=gpmi-nfc:20m(boot),-(user) >>>> Tested by USB boot and NAND boot. >>>> >>>> imx28 : >>>> #console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait >>>> Tested by SD card boot mode. >>>> >>> How did you perform your tests? >>> >>> I tried this driver on our TX28 board with the result that with >> The nand conflicats with SD card1. You will get the DMA timeout if you >> use it. >> Do you use sd card0 or sd card1? >> > I'm using the SSP0 port. > >> BTW:I tested the gpmi driver with SD card0. It works fine. >> > What exactly did you do in your test? > Can you try the concurrent 'dd' commands that I used? I tested the following : #dd if=/dev/mmcblk0 > /dev/null [943147.630000] mmcblk0: error -110 transferring data, sector 3972320, nr 256, cmd response 0x900, card status 0x80b00 [943147.640000] mmcblk0: retrying using single block read [943158.250000] mmcblk0: error -110 transferring data, sector 3972480, nr 96, cmd response 0x900, card status 0x0 [943158.260000] end_request: I/O error, dev mmcblk0, sector 3972480 [943168.780000] mmcblk0: r/w command failed, status = 0x80900 [943168.790000] end_request: I/O error, dev mmcblk0, sector 3972481 [943168.790000] Buffer I/O error on device mmcblk0, logical block 496560 [943168.790000] end_request: I/O error, dev mmcblk0, sector 3972488 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496561 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972496 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496562 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972504 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496563 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972512 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496564 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972520 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496565 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972528 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496566 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972536 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496567 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972544 [943168.810000] Buffer I/O error on device mmcblk0, logical block 496568 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972552 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972560 [943168.810000] end_request: I/O error, dev mmcblk0, sector 3972568 [943179.450000] mmcblk0: error -110 transferring data, sector 3972480, nr 8, cmd response 0x900, card status 0x80b00 [943179.460000] mmcblk0: retrying using single block read [943189.990000] mmcblk0: error -110 transferring data, sector 3972480, nr 8, cmd response 0x900, card status 0x0 [943190.000000] end_request: I/O error, dev mmcblk0, sector 3972480 [943200.530000] mmcblk0: r/w command failed, status = 0x80900 [943200.530000] end_request: I/O error, dev mmcblk0, sector 3972481 [943200.530000] quiet_error: 3 callbacks suppressed [943200.530000] Buffer I/O error on device mmcblk0, logical block 496560 dd: /dev/mmcblk0: Input/output error root at freescale ~$ ------------------------------------------------------------------------------------------------- It seems only test the SD card also can reproduce the same DMA bug. Best Regards Huang Shijie > > Lothar Wa?mann
next prev parent reply other threads:[~2011-09-26 7:42 UTC|newest] Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-08 2:47 [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 Huang Shijie 2011-09-08 2:47 ` Huang Shijie 2011-09-08 2:47 ` [PATCH v12 1/3] MTD : add the common code for GPMI-NAND controller driver Huang Shijie 2011-09-08 2:47 ` Huang Shijie 2011-09-08 2:47 ` [PATCH v12 2/3] MTD : add helper functions library and header files for GPMI NAND driver Huang Shijie 2011-09-08 2:47 ` Huang Shijie 2011-09-08 2:47 ` [PATCH v12 3/3] MTD : add GPMI-NAND driver in the config and Makefile Huang Shijie 2011-09-08 2:47 ` Huang Shijie 2011-09-09 19:56 ` [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 Koen Beel 2011-09-09 19:56 ` Koen Beel 2011-09-11 10:31 ` Artem Bityutskiy 2011-09-11 10:31 ` Artem Bityutskiy 2011-09-12 4:34 ` Huang Shijie 2011-09-12 4:34 ` Huang Shijie 2011-09-15 7:55 ` Lothar Waßmann 2011-09-15 7:55 ` Lothar Waßmann 2011-09-15 8:26 ` Huang Shijie 2011-09-15 8:28 ` Huang Shijie 2011-09-15 8:28 ` Huang Shijie 2011-09-15 9:12 ` Lothar Waßmann 2011-09-15 9:12 ` Lothar Waßmann 2011-09-15 9:20 ` Huang Shijie 2011-09-15 9:20 ` Huang Shijie 2011-09-26 7:42 ` Huang Shijie [this message] 2011-09-26 7:42 ` Huang Shijie 2011-09-15 10:04 ` Huang Shijie 2011-09-15 10:04 ` Huang Shijie 2011-09-15 15:24 ` gianluca 2011-09-15 15:24 ` gianluca 2011-09-16 7:50 ` Lothar Waßmann 2011-09-16 7:50 ` Lothar Waßmann 2011-09-16 13:43 ` Lothar Waßmann 2011-09-16 13:43 ` Lothar Waßmann 2011-09-18 11:40 ` Huang Shijie 2011-09-18 11:40 ` Huang Shijie
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=4E802CDA.4080808@freescale.com \ --to=b32955@freescale.com \ --cc=B20596@freescale.com \ --cc=LW@KARO-electronics.de \ --cc=dedekind1@gmail.com \ --cc=koen.beel.barco@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-mtd@lists.infradead.org \ --cc=marek.vasut@gmail.com \ --cc=s.hauer@pengutronix.de \ --cc=shijie8@gmail.com \ --cc=w.sang@pengutronix.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.