Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

DM3730 MMC issue : the DTO is reached with a SDCard 32GB class 10

$
0
0

Hi,

I work on our platfrom based on DM3730.

I tested a SD card 32GB class 10.

When I fomarted this sdcard in ext4, I have an error. The DTO (Data timeout) is reached.

So, I patch your kernel 2.6.37 :

===================================================================
--- drivers/mmc/host/omap_hsmmc.c       (révision 17715)
+++ drivers/mmc/host/omap_hsmmc.c       (copie de travail)
@@ -1473,7 +1473,6 @@
        clkd = (reg & CLKD_MASK) >> CLKD_SHIFT;
        if (clkd == 0)
                clkd = 1;
-
        cycle_ns = 1000000000 / (clk_get_rate(host->fclk) / clkd);
        timeout = timeout_ns / cycle_ns;
        timeout += timeout_clks;
@@ -1493,6 +1492,10 @@
                if (dto > 14)
                        dto = 14;
        }
+
+       // workaround
+       if(dto<DTO)
+               dto = dto + 1;

        reg &= ~DTO_MASK;
        reg |= dto << DTO_SHIFT;


This patch multiply the dto by 2.

Do you known this issue?

With which caracteristic of the SDCard could I determine the DTO?

Thanks,

Yoann


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>