Hi, everyone.
Recently I have test the write performance of the sdcard in my DM6446 board, and I found it is slow in sync mode.
When I wrote the sdcard in the sync mode, the rate is about 70 KB/s which is about three time less than the performance
test date in <<LSP 2.00 DaVinci Linux Drivers Data Manual>>.
The test command is something like this:
root@localhost:flash# dd if=/dev/zero of=zero bs=320K count=1 oflag=sync
1+0 records in
1+0 records out
327680 bytes (328 kB) copied, 4.59842 seconds, 71.3 kB/s
The command used to mount sdcard is:
mount -t ext3 /dev/mmcblk0p1 /opt/flash
The LSP version I used is the release version of LSP_02_00_00_140 which comes from DVSDK 2.0.
When I used a USB adapter to write the sdcard in my PC, the write rate is about 5 MB/s.
So I think there must be something wrong with the mmc/sd controller in DM6446, but I can't figure out where the problem is.
I have checked the clock to the sdcard which is about 25MHz, and the enabled 4 bit mode.
The mode used in controller driver is EDMA.
Does anyone has encountered something similar before?
Any help will be appreciated, Thanks.