View Single Post
Posts: 139 | Thanked: 97 times | Joined on Nov 2010 @ United States
#1
Hello everyone,

Stlpaul
and I have got certain class 10 microSD cards that were formerly not working properly with Maemo to work properly.
In particular, this thread's issues are addressed: http://talk.maemo.org/showthread.php?t=70974

I have been using this patch for over a week now, without any stability issues (I have swap on microSD).

Installation Instructions:

You can replace your current kernel module (backup up the old one first), and try the fix at your OWN RISK. The kernel module goes in your appropriate /lib/modules/ folder.

Here is the patched kernel for the power-kernel (v46)

http://forge.localcoast.net/clients/.../omap_hsmmc.ko

Or, if you want to change the kernel and recompile it yourself..

Look in drivers/mmc/host/omap_hsmmc.c and find the set_data_timeout function() function, and add
Code:
dto = 14;
before the line that reads:
Code:
reg &= ~DTO_MASK;
Notice: I hereby disclaim and damage(s), or issue(s) caused by the use of these/this modfied file(s). Only make these changes if you already have an issue, and are looking to fix it. Be sure to backup all user data before making changes.

Notice: This fix does not apply to NITDroid and any other kernel(s) or operating system(s) you may be using outside of Maemo. Additional software platforms may require a similar change(s) to be made to achieve the desired result.

Please let me know how it works for you!

Good luck.

Last edited by AndrewX192; 2011-11-12 at 17:37. Reason: Removing the stock kernel patch that was causing boot looping
 

The Following 24 Users Say Thank You to AndrewX192 For This Useful Post: