Created
March 10, 2019 01:19
-
-
Save hanetzer/06fab9c442a6c1f4788c522a1da26b48 to your computer and use it in GitHub Desktop.
stdin
This file contains hidden or 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
#!/bin/bash | |
rm -f spl.bin spl-out.bin flash.bin out.bin | |
./tools/mkimage -n rk3288 -T rkspi -d spl/u-boot-spl.bin spl.bin \ | |
&& dd if=spl.bin bs=128K conv=sync of=spl-out.bin \ | |
&& cat spl-out.bin u-boot-dtb.img > out.bin \ | |
&& dd if=out.bin bs=4M of=flash.bin conv=sync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment