From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 5 Dec 2014 09:52:25 -0500 Subject: [U-Boot] [U-Boot, 06/11] configs: omap5_common : Boot rootfs from sd card by default In-Reply-To: <1415284132-6317-6-git-send-email-balbi@ti.com> References: <1415284132-6317-6-git-send-email-balbi@ti.com> Message-ID: <20141205145225.GD20704@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 06, 2014 at 08:28:47AM -0600, Felipe Balbi wrote: > From: Franklin S Cooper Jr > > * Since the emmc isn't always programed trying to load the fs from the > emmc causes boot failures/kernel panic. > > * The current bootcmd is set to: > bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; \ > setenv mmcroot /dev/mmcblk0p2 rw; run mmcboot; > > My guess is the env variables should be set so that sd card boot > (dt,kernel,fs) is the default and then fallback to emmc if it fails (no > sd card detected) > > The current bootcmd attempts to set mmcroot to the sd card rootfs but > that code doesn't run due to mmcboot being ran early on. > > Signed-off-by: Franklin Cooper Jr. > Signed-off-by: Felipe Balbi > Reviewed-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: