From 5b6b97e191dc7790cb9a583aa72f6d0872a90bcf Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 13 Aug 2013 17:26:53 +0000 Subject: [PATCH] alarm/uboot-wandboard: sync after dd --- alarm/uboot-wandboard/uboot-wandboard.install | 1 + 1 file changed, 1 insertion(+) diff --git a/alarm/uboot-wandboard/uboot-wandboard.install b/alarm/uboot-wandboard/uboot-wandboard.install index a2e97dda5..c74dc9766 100644 --- a/alarm/uboot-wandboard/uboot-wandboard.install +++ b/alarm/uboot-wandboard/uboot-wandboard.install @@ -4,6 +4,7 @@ flash_uboot() { read -r shouldwe if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then dd if=/boot/u-boot.imx of=/dev/mmcblk0 bs=512 seek=2 + sync else echo "You can do this later by running:" echo "# dd if=/boot/u-boot.imx of=/dev/mmcblk0 bs=512 seek=2"