Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46989

Re: force Debian to Boot first from USB Flash not HDD

$
0
0
msanad,

You still have the same boot command:
bootcmd=usb start; run usb_bootcmd; usb stop; reset
usb_bootcmd=run usb_set_bootargs; run usb_boot
usb_set_bootargs=setenv bootargs console=$console root=/dev/sda1 rootdelay=10 rootfstype=ext3 $mtdparts
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi

Arrange them backward in this fashion, and set up your new u-boot envs sequence in a notepad. After you proof-read it, cut and paste to the console prompt.

Viewing all articles
Browse latest Browse all 46989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>