From: Luciano Coelho <coelho@ti.com>
To: Kishore Kadiyala <kishorek.kadiyala@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
linux-omap@vger.kernel.org,
Kishore Kadiyala <kishore.kadiyala@ti.com>,
Benoit Cousson <b-cousson@ti.com>
Subject: Re: [PATCH 2.6.39] omap: board-4430sdp: revert hsmmc_info reordering
Date: Fri, 01 Apr 2011 11:20:40 +0300 [thread overview]
Message-ID: <1301646040.1988.421.camel@cumari> (raw)
In-Reply-To: <AANLkTikPawWg8Wt8F4oeEBbvUOziPNrH+7A3MyXkx8Lw@mail.gmail.com>
On Fri, 2011-04-01 at 12:46 +0530, Kishore Kadiyala wrote:
> On Fri, Apr 1, 2011 at 12:22 PM, Luciano Coelho <coelho@ti.com> wrote:
> > The order in which the MMC cards are defined in the the 4430sdp board
> > file seems to have been mistakenly reorderded as part of an unrelated
> > patch. In commit 0005ae73cfe44ee42d0be12a12cc82bf982f518e, where only
> > the dev_name was supposed to be changed, the mmc order was changed as
> > well. This caused the external SD card reader not to be recognized,
> > at least on Blaze.
>
> Both OMAP4 SDP & Blaze boards have internal eMMC as storage.
>
> Just think of some scenario as below with FS in eMMC
> [with external card recognized as mmcblk0 and eMMC as mmcblk1]:
> Booting with both external card on MMC1 and eMMC on MMC2 and having
> bootargs set to root=/dev/mmcblk1px [x= parition number].
> Removing the external card from slot makes eMMC recognized as mmcblk0 and
> in this case kernel can't pick the file system as passed above in the bootargs.
Yes, this makes sense. The internal eMMC should be mapped first, I
agree.
> So, making the permanent storage on the boards registered as first
> block device gets
> rid of the problem.
Yes, but there is something wrong that causes the external MMC not to be
recognized at all if you map the internal MMC first. There is a bug
elsewhere that needs to be fixed before this change can be made.
As I said, I don't know much about the OMAP MMC subsystem and I don't
have the time right now to investigate what really is wrong. That's why
I sent this patch, as quick fix (or rather getting rid of a regression).
Another thing is that this is a crosspatch change. It shouldn't be part
of the same patch that changes the name of the driver, since this is
totally unrelated. If you really think this needs to be done, it should
have been done in a separate patch.
--
Cheers,
Luca.
next prev parent reply other threads:[~2011-04-01 8:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 6:52 [PATCH 2.6.39] omap: board-4430sdp: revert hsmmc_info reordering Luciano Coelho
2011-04-01 7:16 ` Kishore Kadiyala
2011-04-01 8:20 ` Luciano Coelho [this message]
2011-04-01 10:26 ` Kishore Kadiyala
2011-04-01 10:54 ` Luciano Coelho
2011-04-01 7:18 ` Cousson, Benoit
2011-04-01 8:24 ` Luciano Coelho
2011-04-01 11:37 ` Luciano Coelho
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=1301646040.1988.421.camel@cumari \
--to=coelho@ti.com \
--cc=b-cousson@ti.com \
--cc=kishore.kadiyala@ti.com \
--cc=kishorek.kadiyala@gmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox