Flashing compiled Yocto Project disk images (.rpi-sdimg or .wic) to MicroSD cards for Raspberry Pi hardware is executed cleanly using the POSIX dd tool.

dd Flashing Commands

Terminal Commandsbash
# 1. Identify target SD card block device node
lsblk
 
# 2. Write Yocto image to SD card safely
sudo dd if=tmp/deploy/images/raspberrypi3/core-image-minimal-raspberrypi3.rpi-sdimg of=/dev/sdb bs=4M status=progress conv=fsync