[U-Boot] MXC: Performance issue/glitch with reading/writing files from SD card

alfred steele alfred.jaquez at gmail.com
Mon Jun 28 18:13:31 CEST 2010


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


More information about the U-Boot mailing list