2,225
edits
Line 41: | Line 41: | ||
In old Yocto versions, the most common image type was sdcard, use '''dd''' with this image type. | In old Yocto versions, the most common image type was sdcard, use '''dd''' with this image type. | ||
< | <syntaxhighlight lang=bash> | ||
IMAGE=sdcard.img | IMAGE=sdcard.img | ||
DEVICE=/dev/sdb # The device may change in your system | DEVICE=/dev/sdb # The device may change in your system | ||
sudo dd if=$IMAGE of=$DEVICE bs=4M && sync | sudo dd if=$IMAGE of=$DEVICE bs=4M && sync | ||
</ | </syntaxhighlight> | ||
Recent Yocto versions have '''wic''' image type as default format, use bmaptool as follows: | Recent Yocto versions have '''wic''' image type as default format, use bmaptool as follows: |