This will most lokalu not help. Try my hacking branch of linaro-image-tools. I had the same problem as you and I added a workaround.
Sorry for the brevity, I'm on holiday + phone
Wysłane z iPhone'a
Dnia 07-03-2011 o godz. 14:03 Loïc Minier loic.minier@linaro.org napisał(a):
On Mon, Mar 07, 2011, Shawn Guo wrote:
proc umounted /dev/sdb: No medium found
sfdisk: cannot open /dev/sdb read-write
Hmm that's really bad; the only thing that I can think of is that your device goes away for some time after the empty partition table is created, and so the sfdisk call comes too soon; could you try this on your MMC: parted -s /dev/sdN mklabel msdos && sfdisk -L /dev/sdN if sfdisk fails when called immediately after parted, it probably means we have to poll for readyness of /dev/sdN before calling sfdisk.
Thanks!
Loïc Minier
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev