Created
August 31, 2015 10:12
-
-
Save DVDPT/5ff6497501c78d41c186 to your computer and use it in GitHub Desktop.
Flash sd card
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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