linuxyoctobitbakeyocto-wic

How can I speed up flashing SD card ( wic Image)


Flashing an SD card using dd is slow, is there another option to increase speed?


Solution

  • Using the bmaptool should increase the speed 10+ times.

    IMAGE_FSTYPES += "wic wic.bmap"
    bitbake <image>
    

    Flash the device

    sudo chmod 666 /dev/sdX
    oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/<machine>/<image>.wic /dev/sdX