From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Gardet Date: Mon, 15 Dec 2014 10:01:12 +0100 Subject: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available In-Reply-To: <548E9F1D.7080106@free.fr> References: <1416303886-20589-1-git-send-email-guillaume.gardet@free.fr> <548E9F1D.7080106@free.fr> Message-ID: <548EA358.1010104@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 15/12/2014 09:43, Guillaume Gardet a ?crit : > Hi Robert, > > > Le 12/12/2014 22:49, Robert Nelson a ?crit : >> On Tue, Nov 18, 2014 at 3:44 AM, Guillaume GARDET >> 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. Just updated the patch with a better fix: http://guillaume.gardet.free.fr/u-boot/0001-spl-mmc-Fix-raw-boot-mode-related-to-commit.patch Guillaume