IMX8/iMX8MEVK: Difference between revisions

From RidgeRun Developer Wiki
No edit summary
mNo edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{IMX8/Head}}</noinclude>
<noinclude>{{IMX8/Head|previous=IMX6vsIMX8|next=iMX8MEVK/Overview|metakeywords=evk,imx8evk,evaluation kit,i.MX8M Quad Evaluation Kit,iMX8MEVK}}</noinclude>


=Getting Started=
The NXP's i.MX 8MQuad Evaluation Kit (EVK) provides a glance at the multimedia capabilities of the i.MX 8MQuad, i.MX 8MDual and i.MX 8QuadLite applications processors. This section is meant to provide a starting point for any developer working for the first time with the development kit by NXP.


On this page you are going to find all the information to start from scratch. You will find information about the board and how to configure your host machine in order to customize your own images. First, a general description about the board capabilities will be shown. Next, a description about the package content and a briefly guide about how to start the board. Finally, the required steps to build a custom image will be shown.
=Key Features=
The iMX8M Evaluation Kit has the following features:
* Processor: i.MX 8M Quad (Based on Cortex-A53 and Cortex-M4F series)
* Memory RAM: 3 GB LPDDR4 
* eMMC: 16 GB
* Wireless: WiFi 802.11 a/b/g/n/ac MIMO 2x2 + Bluetooth 4.1
* Network: Gigabit Ethernet
* GPU: Vivante GC7000 Lite
* Display specification:
# HDMI (4K@60fps)
# 4-lane MIPI-DSI mini-SAS (1080p@60fps)
* Camera support:
# 2x 4-lane MIPI-CSI mini-SAS (1080p@60fps)
* Audio: 3.5 mm Audio Jack
* Interfaces:
# USB 3.0 Type A
# USB 3.0 Type C
# SD card
# RTC
# M.2 connector (PCIe, USB, UART, I2C and I2S)
# JTAG
* Supported OS :
# Yocto
# FreeRTOS
# Android
* Power supply: 12V


=Package Content=
*[[IMX8/iMX8MEVK/Overview|Overview]] section that summarizes the key hardware features and board connectors layout.
This is a description about the iMX8MQ Evaluation Kit and. The package includes the following items:
*[[IMX8/iMX8MEVK/Getting Started|Getting Started]] section that provides a starting point for the i.MX 8MQuad EVK.
* iMX8MQ Evaluation Kit Board preloaded with Android 8.1
*[[IMX8/iMX8EVK/Yocto|Yocto Support]] section to provide the build steps for Yocto distributions.
* 12v power adapter
*[[IMX8/iMX8MEVK/Android|Android Support]] section to provide the build steps for Android distributions.
* USB type A to micro USB
*[[IMX8/iMX8MEVK/System_Recovery|System Recovery]] section that provides steps when the i.MX 8MQuad EVK is not booting.
* USB type A to USB type C


[[File:Imx8mevk.jpg|800px]]


=Boot Options=
<noinclude>{{IMX8/Foot|IMX6vsIMX8|iMX8MEVK/Overview}}</noinclude>
The board is able to boot from more that one way, below you will see how to configure the boot device.
== eMMC ==
By default, the board will boot from eMMC.
Just be sure that the '''Boot Mode Switch''' is place on left side before connecting the power adapter.
 
== USB Boot ==
This Boot option requires a Bootable USB stick and a Serial Console Cable, refer to iMX8 Software Support section to download a prebuilt image or create your own image with the instructions provided in the Custom Image section.
 
Instructions to setting up the USB Boot:
* Connect the iMX8MQ board to a host machine with the Serial Console Cable.
* Start any serial console (i.e minicom or term)
* Power on the board, the console will display the U-boot start-up screen.
* Press any key on your keyboard to stop the boot sequence, this will display the U-Boot console.
* Change the Boot Device with the following command:
<pre>
setenv boot_targets usb0
</pre>
* If you do not want to repeat this commands, you can save the selected Boot Device with this command:
<pre>
saveenv
</pre>
* Continue the Boot sequence by typing the next command:
<pre>
boot
</pre>
 
After the previous instructions, the board will boot from the USB stick
 
=Custom Image=
In order to create your own image, a supported Software Development Kit will be required for your desired OS.
 
==Yocto==
To create a customized image with Yocto, first install its required packages with the following commands:
* repo tool
<pre>
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
</pre>
 
* Yocto dependencies
<pre>
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential \
chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping \
libsdl1.2-dev xterm autoconf libtool libglib2.0-dev python-git sed cvs subversion coreutils \
texi2html docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev \
libglu1-mesa-dev mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \
libncurses5 libncurses5-dev libncursesw5-dev libelf-dev zlib1g-dev
</pre>
 
* Download the iMx8MQ Evaluation Kit source code
<pre>
mkdir imx-yocto-bsp
cd imx-yocto-bsp
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-morty -m imx-4.9.51-8mq_ga.xml
repo sync
</pre>
 
* Set up the build configuration
'''For now, only Wayland distro is supported for iMX8'''
<pre>
DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build
</pre>
 
* Start the build process
<pre>
bitbake fsl-image-multimedia-full
</pre>
 
Other images are supported, i.e '''core-image-minimal'''
 
For flashing the image, refer to iMX8 Installing an Image section.
 
<noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude>

Latest revision as of 17:00, 9 March 2023



Previous: IMX6vsIMX8 Index Next: iMX8MEVK/Overview





The NXP's i.MX 8MQuad Evaluation Kit (EVK) provides a glance at the multimedia capabilities of the i.MX 8MQuad, i.MX 8MDual and i.MX 8QuadLite applications processors. This section is meant to provide a starting point for any developer working for the first time with the development kit by NXP.


  • Overview section that summarizes the key hardware features and board connectors layout.
  • Getting Started section that provides a starting point for the i.MX 8MQuad EVK.
  • Yocto Support section to provide the build steps for Yocto distributions.
  • Android Support section to provide the build steps for Android distributions.
  • System Recovery section that provides steps when the i.MX 8MQuad EVK is not booting.


Previous: IMX6vsIMX8 Index Next: iMX8MEVK/Overview