Comment 2 for bug 656962

Revision history for this message
Shawn Guo (shawnguo) wrote :

This really discovers a bug in linaro-media-create, dd destination should not be hard coded as /dev/mmcblk0. Instead, ${MMC} should be used.

=== modified file 'linaro-media-create'
--- linaro-media-create 2010-10-12 15:31:29 +0000
+++ linaro-media-create 2010-10-14 06:27:53 +0000
@@ -503,7 +503,7 @@
       ;;

     mx51evk)
- sudo dd if=binary/usr/lib/u-boot/mx51evk/u-boot.imx of=/dev/mmcblk0 \
+ sudo dd if=binary/usr/lib/u-boot/mx51evk/u-boot.imx of=${MMC} \
            bs=1024 seek=1
       sudo mkimage -A arm -O linux -T kernel -C none -a 0x90008000 \
            -e 0x90008000 -n Linux \