[PATCH] Qi: Some SD cards require more retries in mmc_init

Andy Green andy at openmoko.com
Sat Dec 13 21:44:53 CET 2008

Hash: SHA1

Somebody in the thread at some point said:
| Hi,
| Andy Green <andy at openmoko.com> writes:
|> | anyway, IMO raising the retries value is better than raising the delay.
|> | This lowers the average time this thing loops.
|> | What about udelay(10000) and retries * 600?
|> Sounds fine, I'm hoping Paul will send a second patch along these lines
|> otherwise I'll take care of it.
| It should be retries * 60, actually. Patch attached.

Thanks, sent it on master.

| Andy, could you please clarify how exactly the AUX button must be
| pressed to append logverbose=8 (in my other letter i mentioned that i
| was able to do it twice or so, but it's really hard to guess the right
| timing).

The AUX button stuff is confused at the moment and it needs more work.
All the pieces are working OK but it's way too hard to figure out what
you're meant to do when to get what.  The AUX usage for loglevel=8 is
pretty much in conflict with the usage for skipping kernels.

I noticed the other day though there is a bit in pcf50633 registers
(OOCSTAT / 0x12 b0) that allows polling of button state, I thought we
could resolve this by having the debug UI key defined as checking the
power button in the GTA02 specific code.  That's a really simple story
for the user about that anyway.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list