On 10/19/14, 11:15 AM, Gerke M. Preussner wrote:
> I haven't had any time yet to look into this. Were you able to make any
> progress on your end?

I'm not sure I'd call it progress; I'm not familiar with the MMC
protocol, so I'm spending most of my time learning rather than debugging.

During the initialization, I see sys/dev/sdmmc roughly follow this order:

sdmmc_card_attach()
. sdmmc_enable()
.. sdmmc_mem_enable()
... sdmmc_mem_send_op_cond() reads memory OCR
... sdmmc_mem_send_op_cond() attempts to send memory OCR
.... sdmmc_mmc_command() doesn't fail, but doesn't succeed
(MMC_OCR_MEM_READY is not set)
.... command times out after 100 attempts (sdmmc_mem.c:519-538)

What I haven't been able to figure out is why the command doesn't have
the intended effect. Unfortunately, I enabled debug statements in
sys/arch/armv7/omap/ommmc.c without thinking, so the system is unusable
until I get the old bsd.umg back. Hopefully more to come soon.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to