Change U-boot SPI boot order to usb, sata then mmc.
This commit is contained in:
parent
c1b8e25adf
commit
8b7a2c0f3d
1 changed files with 8 additions and 9 deletions
|
@ -61,9 +61,9 @@ index 0dce7f6..137dd58 100755
|
||||||
if (!env)
|
if (!env)
|
||||||
- setenv("bootcmd", "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
|
- setenv("bootcmd", "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
|
||||||
+ setenv("bootcmd",
|
+ setenv("bootcmd",
|
||||||
+ "echo Trying to boot from MMC; run mmcboot;"
|
|
||||||
+ "echo Trying to boot from USB; run usbboot;"
|
+ "echo Trying to boot from USB; run usbboot;"
|
||||||
+ "echo Trying to boot from SATA; run sataboot;"
|
+ "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;"
|
+ "echo Default boot sequence failed - falling back to TFTP;"
|
||||||
+ "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
|
+ "tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;"
|
||||||
"setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath "
|
"setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath "
|
||||||
|
@ -105,4 +105,3 @@ index c57353f..746c843 100644
|
||||||
#define CONFIG_SUPPORT_VFAT
|
#define CONFIG_SUPPORT_VFAT
|
||||||
--
|
--
|
||||||
2.7.4
|
2.7.4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue