File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 169169// =============================================================================
170170#define CONFIG_PREBOOT "run prepare_video; run check_usbburn; print 'Waiting for autoboot...'"
171171#define CONFIG_BOOTDELAY 3
172- #define CONFIG_BOOTCOMMAND "print 'Autobooting...'; run boot_usb_armbian; run boot_emmc_armbian; print 'Failed to boot'; "
172+ #define CONFIG_BOOTCOMMAND "print 'Autobooting...'; run boot_usb_armbian; run boot_sdcard_armbian; run boot_emmc_armbian; print 'Failed to boot'; "
173173#define CONFIG_HOSTNAME "onecloud"
174174#define CONFIG_ETHADDR 00:15:18:01:81:31
175175#define CONFIG_IPADDR 192.168.1.150
224224 "loadaddr=0x12000000\0" \
225225 "boot_emmc_armbian=" \
226226 "print -n 'Try to boot from eMMC...'; " \
227+ "mmc rescan 1; " \
227228 "setenv bootdev 'mmc 1'; " \
228229 "fatload ${bootdev} ${loadaddr} boot.scr && autoscr ${loadaddr}; " \
229230 "print 'Fail'; " \
230231 "\0" \
232+ "boot_sdcard_armbian=" \
233+ "print -n 'Try to boot from SDCard...'; " \
234+ "mmc rescan 0; " \
235+ "setenv bootdev 'mmc 0'; " \
236+ "fatload ${bootdev} ${loadaddr} boot.scr && autoscr ${loadaddr}; " \
237+ "print 'Fail'; " \
238+ "\0" \
231239 "boot_usb_armbian=" \
232240 "print -n 'Try to boot from USB...'; " \
233241 "setenv bootdev 'usb 0'; " \
You can’t perform that action at this time.
0 commit comments