From d5e03aaed2bf5a198c3d70d7b2244c201f9b599c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 19 Jan 2019 19:29:43 -0800 Subject: [PATCH] emmc & sdcard flash scripts Signed-off-by: Jeff Carr --- reflash-uboot-to-emmc.sh | 4 ++++ reflash-uboot.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 reflash-uboot-to-emmc.sh diff --git a/reflash-uboot-to-emmc.sh b/reflash-uboot-to-emmc.sh new file mode 100755 index 0000000..72cc762 --- /dev/null +++ b/reflash-uboot-to-emmc.sh @@ -0,0 +1,4 @@ +#!/bin/bash -x + +dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8 +sync diff --git a/reflash-uboot.sh b/reflash-uboot.sh index 72cc762..2dfa2ec 100755 --- a/reflash-uboot.sh +++ b/reflash-uboot.sh @@ -1,4 +1,4 @@ #!/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