Difference between revisions of "IMX8/Nitrogen8M"

From RidgeRun Developer Connection
Jump to: navigation, search
(Created page with "<noinclude>{{IMX8/Head}}</noinclude> =Getting Started= =Key Features= =Package Content= 800px =Boot Options= Emmc used by default usb boot usb ser...")
 
Line 2: Line 2:
  
 
=Getting Started=
 
=Getting Started=
 +
 +
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=
 
=Key Features=
 +
The Nitrogen8m has the following features:
 +
* Processor: i.MX 8M Quad (Based on Cortex-A53 and Cortex-M4F series)
 +
* Memory RAM: 2 GB LPDDR4 
 +
* eMMC : 8 GB
 +
* Wireless: WiFi 802.11ac + Bluetooth 4.1
 +
* Network: Gigabit Ethernet
 +
* GPU: Vivante GC7000 Lite
 +
* Display specification:
 +
# HDMI (4K@60fps)
 +
# 4-lane MIPI-DSI (1080p@60fps)
 +
* Camera support: 2x 4-lane MIPI-CSI
 +
* Audio: Headphones and Analog Microphone
 +
* Encoders:
 +
# H.265
 +
# VP9
 +
* Interfaces:
 +
# 3x USB 3.0 Host ports
 +
# USB 3.0 OTG port
 +
# 3x I2C
 +
# SPI
 +
# RS-232
 +
# SIM card
 +
# RTC + battery
 +
# 2x PCIe (1 Mini-PCIE connector, 1 on expansion connector)
 +
# JTAG
 +
* Supported OS :
 +
# Yocto
 +
# Ubuntu/Debian
 +
# Buildroot
 +
# FreeRTOS
 +
# Android
 +
* Power supply: 5V
 
=Package Content=
 
=Package Content=
 +
This is a description about the Nitrogen8m accessory kit and its contents. The packages includes the following items:
 +
* Nitrogen8M rev11 preloaded with Android 8.1
 +
* RTC battery
 +
* 5v power adapter
 +
* Serial console cable
 +
* Antenna
  
 
[[File:Nitrogen8m.jpg|800px]]
 
[[File:Nitrogen8m.jpg|800px]]
  
 
=Boot Options=
 
=Boot Options=
Emmc used by default
+
== 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
+
== 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.
  
usb serial communication
+
Instructions to setting up the USB Boot:
 +
* Connect the Nitrogen8m 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>
 
<pre>
 
setenv boot_targets usb0
 
setenv boot_targets usb0
 
</pre>
 
</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>
 
<pre>
 
boot
 
boot
 
</pre>
 
</pre>
 +
 +
After the previous instructions, the board will boot from the USB stick
  
 
=Custom Image=
 
=Custom Image=
 +
In order to create your own image, a supported Software Development Kit will be required for your desired OS.
  
dependencies
+
==Yocto==
 
+
To create a customized image with Yocto, first install its required packages with the following commands:
 +
* repo tool
 
<pre>
 
<pre>
 
mkdir ~/bin
 
mkdir ~/bin
Line 32: Line 89:
 
</pre>
 
</pre>
  
 +
* Yocto dependencies
 
<pre>
 
<pre>
 
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential \
 
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential \
Line 41: Line 99:
 
</pre>
 
</pre>
  
 +
* Download the Nitrogen8m source code
 
<pre>
 
<pre>
 
mkdir fsl-community-bsp
 
mkdir fsl-community-bsp
Line 48: Line 107:
 
</pre>
 
</pre>
  
Only Wayland supported for iMX8
+
* Set up the build configuration
 +
'''For now, only Wayland distro is supported for iMX8'''
 
<pre>
 
<pre>
 
DISTRO=fslc-wayland MACHINE=nitrogen8m source setup-environment build
 
DISTRO=fslc-wayland MACHINE=nitrogen8m source setup-environment build
 +
</pre>
 +
 +
* Start the build process
 +
<pre>
 
bitbake fsl-image-multimedia-full
 
bitbake fsl-image-multimedia-full
 
</pre>
 
</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>
 
<noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude>

Revision as of 13:33, 27 September 2018


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





Getting Started

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 Nitrogen8m has the following features:

  • Processor: i.MX 8M Quad (Based on Cortex-A53 and Cortex-M4F series)
  • Memory RAM: 2 GB LPDDR4
  • eMMC : 8 GB
  • Wireless: WiFi 802.11ac + Bluetooth 4.1
  • Network: Gigabit Ethernet
  • GPU: Vivante GC7000 Lite
  • Display specification:
  1. HDMI (4K@60fps)
  2. 4-lane MIPI-DSI (1080p@60fps)
  • Camera support: 2x 4-lane MIPI-CSI
  • Audio: Headphones and Analog Microphone
  • Encoders:
  1. H.265
  2. VP9
  • Interfaces:
  1. 3x USB 3.0 Host ports
  2. USB 3.0 OTG port
  3. 3x I2C
  4. SPI
  5. RS-232
  6. SIM card
  7. RTC + battery
  8. 2x PCIe (1 Mini-PCIE connector, 1 on expansion connector)
  9. JTAG
  • Supported OS :
  1. Yocto
  2. Ubuntu/Debian
  3. Buildroot
  4. FreeRTOS
  5. Android
  • Power supply: 5V

Package Content

This is a description about the Nitrogen8m accessory kit and its contents. The packages includes the following items:

  • Nitrogen8M rev11 preloaded with Android 8.1
  • RTC battery
  • 5v power adapter
  • Serial console cable
  • Antenna

Nitrogen8m.jpg

Boot Options

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 Nitrogen8m 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:
setenv boot_targets usb0
  • If you do not want to repeat this commands, you can save the selected Boot Device with this command:
saveenv
  • Continue the Boot sequence by typing the next command:
boot

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
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
  • Yocto dependencies
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
  • Download the Nitrogen8m source code
mkdir fsl-community-bsp
cd fsl-community-bsp
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master
repo sync
  • Set up the build configuration

For now, only Wayland distro is supported for iMX8

DISTRO=fslc-wayland MACHINE=nitrogen8m source setup-environment build
  • Start the build process
bitbake fsl-image-multimedia-full

Other images are supported, i.e core-image-minimal

For flashing the image, refer to iMX8 Installing an Image section.


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