Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertCNelson/c93b96f7c4fba548ac82 to your computer and use it in GitHub Desktop.
Save RobertCNelson/c93b96f7c4fba548ac82 to your computer and use it in GitHub Desktop.
sudo dd if=/dev/zero of=${DISK} bs=1M count=10
sudo sfdisk --in-order --Linux --unit M ${DISK} <<-__EOF__
1,,0xE,*
__EOF__
sudo mkfs.vfat -F 32 ${DISK}1 -n BOOT
sudo mount ${DISK}1 /media/boot/
sudo cp -v ./u-boot/MLO /media/boot/
sudo cp -v ./u-boot/u-boot.img /media/boot/
sync
cp rest....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment