I am testing the speed of sd/mmc in dm355 which using kernel 2.6.18.
bash-3.00# mount /dev/mmcblk0p1 /mnt -o sync
bash-3.00# time cp /tmp/ramdisk.img.gz /mnt/
real 0m19.996s
user 0m0.000s
sys 0m0.960s
bash-3.00# ls -l /tmp/ramdisk.img.gz
-rwxr--r-- 1 root root 3476678 Jan 1 00:01 /tmp/ramdisk.img.gz
so,the speed about mmc is about 170 kb/s,but i want speeds about sd/mmc above 1.5M/s,how can i optimize the driver ?