Flash using dd#
From command line, you can use the dd
command to flash the images
sudo dd if=simplecore-simpleswitch-os-image.wic of=/dev/mmcblkX bs=16M conv=fsync
sudo dd if=simplecore-simpleswitch-os-weston-image.wic of=/dev/mmcblkX bs=16M conv=fsync
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