public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OMAP MMC - problem with initing card
@ 2006-12-23 22:27 Marek Vašut
  2007-01-02 19:47 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vašut @ 2006-12-23 22:27 UTC (permalink / raw)
  To: linux-omap-open-source

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

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=36808520ce2c9ade647d36c80004c158c71d0510

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-02 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-23 22:27 OMAP MMC - problem with initing card Marek Vašut
2007-01-02 19:47 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox