Flash using bmaptool#
Alternatively, you can use bmaptool which will greatly reduce the flashing time by only writing relevant blocks
sudo bmaptool copy simplecore-simpleswitch-os-image.wic /dev/mmcblkX
sudo bmaptool copy simplecore-simpleswitch-os-weston-image.wic /dev/mmcblkX
Select the correct device
It is important to specify the correct device.
Here in our example we used /dev/mmcblkX
, but depending on your
distro and a few other factors the name can be different for your setup.
The easiest way to find out is to, remove the SDCard and then run
ls -l /dev > /tmp/dev-list1
insert the SDCard again and run
ls -l /dev > /tmp/dev-list2
diff /tmp/dev-list1 /tmp/dev-list2
> brw-rw---- 1 root disk 8, 16 May 21 09:14 /dev/mmcblk2
so in the correct device to use is /dev/mmcblk2