[U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

Guillaume Gardet guillaume.gardet at free.fr
Mon Dec 15 09:43:09 CET 2014


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 at 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



More information about the U-Boot mailing list