Google
  Web www.spinics.net

MMC SD card and pxa272

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Pierre,

I have some problems with pxamci driver. I was hopping that kind of situation
would remind you of something ...

My test is simple : I want to copy 1 file, of about 15kB, between 2 partitions
on my sd card, the source one is ext2, the destination fat16. The SD card is a
Kingstom 1GB card (shouldn't be 

The SD card reader is interfaced with a Marvell pxa272 SoC. The driver used is
naturally pxa2xx-mci.

What bothers me is that it takes a very long time (here 2secs for 15kB), but
that seems linear with the file size. What I see also is a lot of interrupts
(see below) fired for that simple copy.

Did you see that kind of behaviour before ?

Cheers.

--
Robert

Testcase:
=========

root@mioa701:~# ls -l licorne10.gif
-rwxr-xr-x    1 root     root        14961 Jun  2 11:51 licorne10.gif

root@mioa701:~# date; cat /proc/interrupts | grep pxa2xx-mci; cp licorne10.gif /media/card/mp3; cat /proc/interrupts | grep pxa2xx-mci; date
Thu Sep  4 20:28:45 CEST 2008
 23:     111747          SC  pxa2xx-mci
 23:     149741          SC  pxa2xx-mci
Thu Sep  4 20:28:47 CEST 2008


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Linux Arm]     [Fedora ARM]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux Book List]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Google PageRank Checking tool