-
Notifications
You must be signed in to change notification settings - Fork 6
02. Install on SD card
vraevsky edited this page Aug 8, 2017
·
12 revisions
This chapter shows how to deploy different sdcard images.
Let's assume that the sdcard device file is
/dev/sdg
Download pre-built Yocto image:
Issue this command in order to flash the downloaded image:
If the pre-built Yocto image is in
.zip
format, issue:
unzip -p pre-built-yocto-image.zip | xz -dc - | sudo dd of=/dev/sdg
If the pre-built Yocto image is in
.xz
format, issue:
xz -dc pre-built-yocto-image.xz | sudo dd of=/dev/sdg
Issue one of these commands depends on a created image format:
- for
sdcard.xz
image issue:
xz -dc tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard.xz | sudo dd of=/dev/sdg
- for
sdcard.bz2
image issue:
bzip2 -dc tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard.bz2 | sudo dd of=/dev/sdg
- for
sdcard
image issue:
sudo dd if=tmp/deploy/images/${MACHINE}/${IMAGE}-${MACHINE}.sdcard of=/dev/sdg
Proceed to Boot from SD card