OMAP MMC - problem with initing card
Hi,
I posted this question some time ago, but I made some progress. Here it is: I´ve been using omap mmc driver (omap.c) on Palm Zire71 since 2.6.16 at least and it was working perfectly. I was using the mmc card as root device. There was no problem with it - I booted linux, mmc got inited, printed info about partitions on it (that mmc0: p1 p2) and system normally booted from it. This changed by this merge
which caused, that the list of partition wasnt displayed anymore and system ended up without root device. Like the mmc wasnt present at all. I tested latest git and when I used initramfs and (from initramfs environment) issued
mount /dev/mmcblk0p2 /mnt/card
(mount second partition of mmc to /mnt/card)
it made the kernel somehow init the card. So the list of partitions got printed (mmc0: p1 p2), but mount crashed and argued that it cant mount that partition. So I tried it once again... and voila, partition was mounted without problems and was working like before. But the problem still persists - I cant boot directly from it without initramfs. Any ideas?
Thanx a lot for anything, any ideas.
Enjoy tomorow ;-)
Best regards
Marek
Hi,
Quoted 17 lines · Marek Vašut
Hi,
I posted this question some time ago, but I made some progress. Here it is: I´ve been using omap mmc driver (omap.c) on Palm Zire71 since 2.6.16 at least and it was working perfectly. I was using the mmc card as root device. There was no problem with it - I booted linux, mmc got inited, printed info about partitions on it (that mmc0: p1 p2) and system normally booted from it. This changed by this mergewhich caused, that the list of partition wasnt displayed anymore and system ended up without root device. Like the mmc wasnt present at all. I tested latest git and when I used initramfs and (from initramfs environment) issued
mount
/dev/mmcblk0p2/mnt/card
(mount second partition of mmc to/mnt/card)
Quoted 8 lines
it made the kernel somehow init the card. So the list of partitions got printed (mmc0: p1 p2), but mount crashed and argued that it cant mount that partition. So I tried it once again... and voila, partition was mounted without problems and was working like before. But the problem still persists - I cant boot directly from it without initramfs. Any ideas?
Thanx a lot for anything, any ideas.
Enjoy tomorow ;-)
Just a guess, but it sounds like something is not ready with MMC when compiled in. Maybe try rootdelay=3 or something to try to troubleshoot it?
Tony