Write Raspberry or Banana Pi image to SD card

dd bs=4M if=/path/to/imagefile.img of=/dev/sdX conv=fsync