Re: Issues with ADATA SD cards on OMAP?

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

 



On Tue, Jan 11, 2011 at 10:17 PM, Ghorai, Sukumar <s-ghorai@xxxxxx> wrote:

> [Ghorai]
> We also experienced the same issue using 32GB SD card for omap3 and omap4.
> And the problem is seen is that DTO value (in SYSCTL) is not current
> in following function.
>
> So add the following modification and please update the status.
> And we will submit proper patch towards the same.
>
> static void set_data_timeout(..){
> ...
>      cycle_ns = 1000000000 / (clk_get_rate(host->fclk) / clkd);
>        timeout = timeout_ns / cycle_ns;
>        timeout += timeout_clks;
> + timeout *=2;
>      if (timeout) {
> ...
> }

I tried this change.  While it seemed to improve things a bit for the
ADATA card I tested, I was still not able to boot successfully.

I will investigate further.  Forcing a value of 14 makes the card
work.  I'll add a printk to see what dto value is computed by your
patch.

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux