X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fmvebu%2Fcortexa72%2Fbase-files%2Flib%2Fupgrade%2Femmc-puzzle.sh;fp=target%2Flinux%2Fmvebu%2Fcortexa72%2Fbase-files%2Flib%2Fupgrade%2Femmc-puzzle.sh;h=9a33b7714ccef220d9359266e7133eae60f25553;hb=d4e8653e1e9ec90404d12ea24fb0f8e507b337d5;hp=5e5c356ed6946ab98c5a2a39b037aeef96bcc30f;hpb=7c39a95a2f6ae638f173833dc8d4c120e25475c8;p=openwrt%2Fopenwrt.git diff --git a/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh b/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh index 5e5c356ed6..9a33b7714c 100755 --- a/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh +++ b/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh @@ -32,5 +32,7 @@ platform_do_upgrade_emmc() { v "Writing new UUID to /dev/$diskdev..." get_image_dd "$1" of="/dev/$diskdev" bs=1 skip=440 count=4 seek=440 conv=fsync + dd if=/dev/zero of=$(find_mmc_part rootfs_data) bs=512 count=8 + sleep 1 }