From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E7218A0.2020309@eurekelettronica.it> Date: Thu, 15 Sep 2011 17:24:16 +0200 From: gianluca MIME-Version: 1.0 To: Huang Shijie Subject: Re: [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 References: <1315450031-6371-1-git-send-email-b32955@freescale.com> <20081.44941.12535.496764@ipc1.ka-ro> <4E71CDB2.4000205@freescale.com> In-Reply-To: <4E71CDB2.4000205@freescale.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: 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, =?UTF-8?B?TG90aGFyIFdhw59tYW5u?= List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sorry for intrusion in this discussion, but: Huang Shijie wrote: >> channels are being used concurrently. The GPMI driver will bail out >> with the timeout error while the MMC driver obviously has no timeout >> check for this situation. >> >> I can mostly rule out HW problems, because the same board works >> perfectly well with WindowsCE (tested with a copy operation between >> flash and SD card). >> >> >> Lothar Waßmann @Lothar: Probably WinCE with a copy operation between flash and SD is not reliable as synchronous as opposed dd command in the previous mail. dd is sync when: dd if=/dev/mtd... of=/dev/mmc... dd is async when: # dd if=/dev/mtd of=/mnt/somewhere/file1 & # dd if=/mnt/somewhere/file2 of=/dev/mmc & Or even the worst scenario: # dd if=/dev/mtdX of=/dev/null & # dd if=/dev/urandom of=/dev/mmcX & # dd if=/dev/mmcX of=/dev/null & # dd if=/dev/urandom of=/dev/mtdX & Just my .2 cents. Best regards, -- ,,, (o o) ======oOO==(_)==OOo====== Gianluca Renzi R&D phone: +39.0542.609120 fax: +39.0542.609212 .oooO Oooo. ======( )==( )======= \ ( ) / \_) (_/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: gianlucarenzi@eurekelettronica.it (gianluca) Date: Thu, 15 Sep 2011 17:24:16 +0200 Subject: [PATCH v12 0/3] add the GPMI controller driver for IMX23/IMX28 In-Reply-To: <4E71CDB2.4000205@freescale.com> References: <1315450031-6371-1-git-send-email-b32955@freescale.com> <20081.44941.12535.496764@ipc1.ka-ro> <4E71CDB2.4000205@freescale.com> Message-ID: <4E7218A0.2020309@eurekelettronica.it> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Sorry for intrusion in this discussion, but: Huang Shijie wrote: >> channels are being used concurrently. The GPMI driver will bail out >> with the timeout error while the MMC driver obviously has no timeout >> check for this situation. >> >> I can mostly rule out HW problems, because the same board works >> perfectly well with WindowsCE (tested with a copy operation between >> flash and SD card). >> >> >> Lothar Wa?mann @Lothar: Probably WinCE with a copy operation between flash and SD is not reliable as synchronous as opposed dd command in the previous mail. dd is sync when: dd if=/dev/mtd... of=/dev/mmc... dd is async when: # dd if=/dev/mtd of=/mnt/somewhere/file1 & # dd if=/mnt/somewhere/file2 of=/dev/mmc & Or even the worst scenario: # dd if=/dev/mtdX of=/dev/null & # dd if=/dev/urandom of=/dev/mmcX & # dd if=/dev/mmcX of=/dev/null & # dd if=/dev/urandom of=/dev/mtdX & Just my .2 cents. Best regards, -- ,,, (o o) ======oOO==(_)==OOo====== Gianluca Renzi R&D phone: +39.0542.609120 fax: +39.0542.609212 .oooO Oooo. ======( )==( )======= \ ( ) / \_) (_/