Skip to content

Instantly share code, notes, and snippets.

@DVDPT
Created August 31, 2015 10:12
Show Gist options
  • Save DVDPT/5ff6497501c78d41c186 to your computer and use it in GitHub Desktop.
Save DVDPT/5ff6497501c78d41c186 to your computer and use it in GitHub Desktop.
Flash sd card
BOOT_PATH = ... //mounted location of the first partition (boot)
// Set the SPL
dd if=SPL of=${card} bs=1k seek=1
// Add u-boot
cp u-boot.img $BOOT_PATH/boot/;
// Add the Linux kernel
cp zImage $BOOT_PATH/boot/zImage;
// Add the device dtb
cp imx6q-wandboard.dtb $BOOT_PATH/boot/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment