u-boot-utilite/setup-usb-boot-utilite.uboot

5 regels
437 B
Plaintext

bootcmd=run setupmmcboot;mmc dev ${storagedev};if mmc rescan; then run trybootsrz;fi;run setupusbboot;if usb start; then if run loadscript; then run bootscript;else run usbbootargs;if run loadkernel; then run doboot;else setenv bootargs;fi;fi;fi; run setupsataboot;if sata init; then run trybootsmz;fi;run setupnandboot;run nandboot;
usbroot=/dev/sdb2
usbrootdelay=1
usbbootargs=setenv bootargs root=${usbroot} rootdelay=${usbrootdelay}