Skip to content

02. How To Create a Bootable SD card

vraevsky edited this page Mar 12, 2018 · 2 revisions

This page explains how to deploy CL-SOM-iMX8 Yocto SD card images.

The instructions below assume that the SD card device file is /dev/sdg

For images downloaded from CompuLab's website:

Download pre-built Yocto image:

CL-SOM-iMX8 Yocto image

Issue the following command in order to flash the downloaded image:

for images in .zip format, issue:

unzip -p pre-built-yocto-image.zip | sudo dd of=/dev/sdg

for images in .xz format, issue:

xz -dc pre-built-yocto-image.xz | sudo dd of=/dev/sdg

For images built from BSP:

Issue one of these commands depends on a created image format:

for sdcard.xz images issue:

xz -dc tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard.xz | sudo dd of=/dev/sdg

for sdcard.bz2 images issue:

bzip2 -dc tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard.bz2 | sudo dd of=/dev/sdg

for sdcard images issue:

sudo dd if=tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard of=/dev/sdg

Proceed to Boot from SD card