* [U-Boot] MXC: Performance issue/glitch with reading/writing files from SD card
@ 2010-06-28 16:13 alfred steele
2010-06-29 7:42 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: alfred steele @ 2010-06-28 16:13 UTC (permalink / raw)
To: u-boot
Hi,
Looks like there is a huge performance issue with the sdhc
hardware/software driver on the mx31
Earlier on i had adapated the freescale mx "sdhc driver" and ported it
to the mx31 platform for U-boot v1.0. I have modified the driver to
put the host as well as the card in 4 bit mode in the initialization
sequence.
Inspite of that doing a "fatload" for a file of size of the order of
16MB takes about 10 minutes, which is nowhere near the theoretical
speed even in 1 bit mode. I have seen the scope trace(s) and looks
like multiple Data pins are being used for data, but seems like it
takes forever, Could anyone give me quick clues as to what could be
the issue?
I haven't done any measure on the linux side yet using "dd".
Thanks in advance,
Alfred
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] MXC: Performance issue/glitch with reading/writing files from SD card
2010-06-28 16:13 [U-Boot] MXC: Performance issue/glitch with reading/writing files from SD card alfred steele
@ 2010-06-29 7:42 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2010-06-29 7:42 UTC (permalink / raw)
To: u-boot
alfred steele wrote:
> Hi,
>
> Looks like there is a huge performance issue with the sdhc
> hardware/software driver on the mx31
Actually I do not find any MX31 board in the mainline supporting MMC.
However, drivers/mmmc/mxcmmc.c is suitable for both MX2 and MX3 processors.
> Earlier on i had adapated the freescale mx "sdhc driver" and ported it
> to the mx31 platform for U-boot v1.0. I have modified the driver to
> put the host as well as the card in 4 bit mode in the initialization
> sequence.
This is your code and I am afraid we cannot help you. And u-boot 1.0
belongs to prehistory. I can only suggest you to update to the actual
u-boot (2010.06-rc3) and sets your target to use the mxcmmc driver, and
reports us if you find problems.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-29 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 16:13 [U-Boot] MXC: Performance issue/glitch with reading/writing files from SD card alfred steele
2010-06-29 7:42 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox