Difference between revisions of "IMX8/iMX8MEVK/Yocto/Installing an Image"

From RidgeRun Developer Connection
< IMX8‎ | iMX8MEVK‎ | Yocto
Jump to: navigation, search
Line 20: Line 20:
 
As example, instead of /dev/'''sdb1''' use /dev/'''sdb'''.
 
As example, instead of /dev/'''sdb1''' use /dev/'''sdb'''.
  
=Installing  
+
=Installing=
 
Yocto supports several image formats, as example ext4, img, sdcard and wic.   
 
Yocto supports several image formats, as example ext4, img, sdcard and wic.   
  

Revision as of 13:38, 9 November 2018


NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
  Index  





In order to install an image, you must identify your device ID. Check it as follows:

blkid -o list

Image

Each device has numbers at the end, those numbers are related to partitions and are not needed to install the image. As example, instead of /dev/sdb1 use /dev/sdb.

Installing

Yocto supports several image formats, as example ext4, img, sdcard and wic.

In old Yocto versions, the most common image type was sdcard, use dd with this image type.

sudo dd if=<image.sdcard> of=/dev/<device> bs=4M && sync 

Recent Yocto versions have wic image type as default format, use bmaptool as follows:

sudo bmaptool copy <image.wic> /dev/<device> --nobmap


[[IMX8/<Replace with "previous" page>|Previous: <Replace with "previous" page>]] Index [[IMX8/<Replace with "next" page>|Next: <Replace with "next" page>]]