Difference between revisions of "Getting started with AI on NXP i.MX8M Plus/Introduction/Quick getting started/Flashing SD card"

From RidgeRun Developer Connection
Jump to: navigation, search
Line 26: Line 26:
  
 
== Transfering the image to the SD ==  
 
== Transfering the image to the SD ==  
 +
 +
First of all please plug in your SD card in the '''host machine''', and then execute the following commands to know the path on which the SD card has been mounted:
 +
 +
<syntaxhighlight lang='bash'>
 +
dmesg
 +
 +
lsblk
 +
</syntaxhighlight>
  
 
<syntaxhighlight lang='bash'>
 
<syntaxhighlight lang='bash'>
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 17:01, 21 November 2021

Flashing the Linux image into the SD card

In the dependencies you have installed at the beginning, you had bmap tool for flashing images into SD cards.

Finding the built image

If you kept the names of the build and configuration directories, then you will find the image ready to flash at:

cd $HOME/imx8-yocto-variscite/build_xwayland/tmp/deploy/images

There you can execute the find command to ensure your image is there:


find *.wic.gz

If everything went well in the image build process, then you will have some files like the following ones:

core-image-minimal-imx8mp-var-dart-20210708202630.rootfs.wic.gz
core-image-minimal-imx8mp-var-dart.wic.gz

Transfering the image to the SD

First of all please plug in your SD card in the host machine, and then execute the following commands to know the path on which the SD card has been mounted:

dmesg

lsblk