public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available
Date: Mon, 15 Dec 2014 09:43:09 +0100	[thread overview]
Message-ID: <548E9F1D.7080106@free.fr> (raw)
In-Reply-To: <CAOCHtYiDX9y+nBUdC8OrknrCsV0Lgo-1U33AK8zVOvmnsh4ttg@mail.gmail.com>

Hi Robert,


Le 12/12/2014 22:49, Robert Nelson a ?crit :
> On Tue, Nov 18, 2014 at 3:44 AM, Guillaume GARDET
> <guillaume.gardet@free.fr> wrote:
>> In SPL MMC, boot modes are exclusive. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to
>> try MMCSD_MODE_FS then, if available.
>>
>> It has been tested on a pandaboard (rev. A3).
> HI Guillaume,
>
> What mode did you test this is? (RAW or FS)

I did test for FS for sure, but not sure about raw mode.

>
> In Raw Mode with the omap5_uevm & beaglebone black, i've had to revert
> this. (I'm using RAW mode by default)
>
> U-Boot SPL 2015.01-rc3-dirty (Dec 08 2014 - 20:04:01)
> OMAP5432 ES2.0
> SPL: Please implement spl_start_uboot() for your board
> SPL: Direct Linux boot not active!
> spl: wrong MMC boot mode
> ### ERROR ### Please RESET the board ###

Ok, I think I found the problem. Could you test the following patch, please?
http://guillaume.gardet.free.fr/u-boot/0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch

If this patch fix your boot problem, I will send it ASAP.


Guillaume

  reply	other threads:[~2014-12-15  8:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18  9:44 [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available Guillaume GARDET
2014-12-02  8:35 ` Guillaume Gardet
2014-12-08 21:41 ` [U-Boot] " Tom Rini
2014-12-12 21:49 ` [U-Boot] [PATCH] " Robert Nelson
2014-12-15  8:43   ` Guillaume Gardet [this message]
2014-12-15  9:01     ` Guillaume Gardet
2014-12-16 11:03       ` Guillaume Gardet
  -- strict thread matches above, loose matches on Subject: below --
2016-02-16 18:27 [U-Boot] Beaglebone Black broken since commit fd61d39970b9901217efc7536d9f3a61b4e1752a Guillaume Gardet
2016-02-17  8:09 ` [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available Guillaume GARDET
2016-02-17 20:27   ` Tom Rini
2016-02-18  9:19     ` Nikita Kiryanov
2016-02-18 10:06       ` Guillaume Gardet
2016-02-18 13:07         ` Nikita Kiryanov
2016-02-18 13:31           ` Guillaume Gardet
2016-02-18 14:25             ` Nikita Kiryanov
2016-02-18 14:36               ` Tom Rini
2016-02-18 16:07                 ` Nikita Kiryanov
2016-02-18 16:11                   ` Guillaume Gardet
2016-02-18 16:38                     ` Nikita Kiryanov
2016-02-18 16:42                       ` Guillaume Gardet
2016-02-18 17:04                         ` Tom Rini

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=548E9F1D.7080106@free.fr \
    --to=guillaume.gardet@free.fr \
    --cc=u-boot@lists.denx.de \
    /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