All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Vašut" <marek.vasut@gmail.com>
To: linux-omap-open-source@linux.omap.com
Subject: OMAP MMC - problem with initing card
Date: Sat, 23 Dec 2006 23:27:05 +0100	[thread overview]
Message-ID: <200612232327.06035.marek.vasut@gmail.com> (raw)

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

             reply	other threads:[~2006-12-23 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-23 22:27 Marek Vašut [this message]
2007-01-02 19:47 ` OMAP MMC - problem with initing card Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612232327.06035.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.