emmc & sdcard flash scripts

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-01-19 19:29:43 -08:00
parent d734bf4044
commit d5e03aaed2
2 changed files with 5 additions and 1 deletions

4
reflash-uboot-to-emmc.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash -x
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
sync

View File

@ -1,4 +1,4 @@
#!/bin/bash -x #!/bin/bash -x
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8 dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
sync sync