Skip to contentSkip to conversation

MMC not working on Z71

DISCUSSION Marek Vašut 2 participants 3 messages Nov 26, 2006 – Dec 1, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
since this commit
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=36808520ce2c9ade647d36c80004c158c71d0510
MMC on palmz71 stopped working. With latest git it doesnt even get inited. When I enable debug I get cmd3 timeout. I find out that when I compile initramfs into kernel and try mounting mmc partition, the kernel tries to init the card (I get that MMC: something and mmc: p1 p2 etc. [sorry, I dont remember it exactly, I can give more details, if you need them, just ask]) but fails with a lot of io errors about probs with reading mmc block 0. And that´s the end. Weird is, that mmc was working with 2618-omap1, but after that sync with Linuses tree it just suddenly stopped. The diff against those 2 commits is 32megs, so it´s quite a prob to find what damaged the mmc. Also, it´s weird that mmc works on palmte. Can this be prob, that mmc isnt powered up? I doubt so though.

Thanx for any ideas.

Best regards
Marek Vasut

#1 lore raw
Quoted 6 lines · Marek Vašut

Hi,
since this commit
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=36808520ce2c9ade647d36c80004c158c71d0510
MMC on palmz71 stopped working. With latest git it doesnt even get inited. When I enable debug I get cmd3 timeout. I find out that when I compile initramfs into kernel and try mounting mmc partition, the kernel tries to

Quoted 8 lines

init the card (I get that MMC: something and mmc: p1 p2 etc. [sorry, I dont remember it exactly, I can give more details, if you need them, just ask]) but fails with a lot of io errors about probs with reading mmc block 0. And that´s the end. Weird is, that mmc was working with 2618-omap1, but after that sync with Linuses tree it just suddenly stopped. The diff against those 2 commits is 32megs, so it´s quite a prob to find what damaged the mmc. Also, it´s weird that mmc works on palmte. Can this be prob, that mmc isnt powered up? I doubt so though.

Yeah, that a big patch :) Have you tried just undoing the mmc parts in that patch and see if that helps to narrow down the problem?

Regards,

Tony

#2 lore raw

Dne čtvrtek 30 listopad 2006 23:39 jste napsal(a):

Quoted 17 lines · Marek Vašut
Quoted 7 lines

Hi,
since this commit
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=3
6808520ce2c9ade647d36c80004c158c71d0510 MMC on palmz71 stopped working. With latest git it doesnt even get inited. When I enable debug I get cmd3 timeout. I find out that when I compile initramfs into kernel and try mounting mmc partition, the kernel tries to init the card (I get that

Quoted 8 lines

MMC: something and mmc: p1 p2 etc. [sorry, I dont remember it exactly, I can give more details, if you need them, just ask]) but fails with a lot of io errors about probs with reading mmc block 0. And that´s the end. Weird is, that mmc was working with 2618-omap1, but after that sync with Linuses tree it just suddenly stopped. The diff against those 2 commits is 32megs, so it´s quite a prob to find what damaged the mmc. Also, it´s weird that mmc works on palmte. Can this be prob, that mmc isnt powered up? I doubt so though.

Quoted 6 lines

Yeah, that a big patch :) Have you tried just undoing the mmc parts in that patch and see if that helps to narrow down the problem?

Regards,

Tony

Sure ;) I removed all patches for mmc but one - mmc-block.c.diff - which was too complexly integrated into the kernel. But it didnt helped though :( btw. yeah ... it is a bigger patch ;D

BR
Marex