Change U-boot SPI boot order to usb, sata then mmc.

This commit is contained in:
Gauthier Provost 2018-10-07 00:55:33 +08:00
parent c1b8e25adf
commit 8b7a2c0f3d

View File

@ -61,9 +61,9 @@ index 0dce7f6..137dd58 100755
if (!env)
- setenv("bootcmd", "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
+ setenv("bootcmd",
+ "echo Trying to boot from MMC; run mmcboot;"
+ "echo Trying to boot from USB; run usbboot;"
+ "echo Trying to boot from SATA; run sataboot;"
+ "echo Trying to boot from MMC; run mmcboot;"
+ "echo Default boot sequence failed - falling back to TFTP;"
+ "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
"setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath "
@ -105,4 +105,3 @@ index c57353f..746c843 100644
#define CONFIG_SUPPORT_VFAT
--
2.7.4