i.MX8 - iMX8MEVK - Getting Started - Loading Pre-built Images

From RidgeRun Developer Connection
< IMX8‎ | iMX8MEVK‎ | Getting Started
Revision as of 16:15, 9 November 2018 by Jcruz (talk | contribs) (Android Images)
Jump to: navigation, search


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





Yocto Images

Prebuilt images are .sdcard files, disk images that can be flashed directly to any SD card. These .sdcard files are the simplest way to evaluate the board and Linux features since they easily flash all the required components to boot the iMX8M EVK.

The .sdcard file includes the 4 elements required to boot the board:

  • Bootloader
  • Linux kernel image
  • Device tree
  • Root file system

You can get the prebuilt images from the latest Linux BSP. You need to decompress the BSP and decompress the bz2 image sdcard included in it.

For BSP L4.9.88_2.0.0 run:

 BSP=L4.9.88_2.0.0_images_MX8MQ
 tar -xvf $BSP.tar.gz
 cd $BSP

 IMAGE_NAME=fsl-image-qt5-validation-imx-xwayland-imx8mqevk
 bunzip2 -dk -f  $IMAGE_NAME.sdcard.bz2

Change BSP and IMAGE_NAME accordingly to your BSP version.

Android Images

This section describes how to build Android Oreo 8.1 platform for the i.MX 8 series devices.

Requirements

The minimum recommended system requirements are the following:

  • 16 GB RAM
  • 300 GB hard disk

Establishing a Build Environment (Host Machine)

The host development environment for Android is based on Ubuntu and Debian. Please install Ubuntu version 14.04/16.04 64bit LTS or Debian 8.4 64bit. Those are the recommended Operating Systems for Android.

Setting up a Linux Environment

  • Select a Branch: You can choose to download and build the latest source code (called master), in which case you will simply omit the branch specification when you initialize the repository. Otherwise, you should specify the branch you plan to use. Find more information about platform codenames, versions, API Levels and NDK Releases in this page. You can access the whole Git repositories on Android in here.

Installing the Java Development Kit (JDK)

The master branch of Android comes with pre-built versions of OpenJDK below prebuilts/jdk/ so no additional installation is required.

  • For Ubuntu >= 15.04 run the following:
sudo apt-get update
sudo apt-get install openjdk-8-jdk

In addition to the packages requested on the Android website, the following packages are also needed:

sudo apt-get install uuid uuid-dev
sudo apt-get install zlib1g-dev liblz-dev
sudo apt-get install liblzo2-2 liblzo2-dev
sudo apt-get install lzop
sudo apt-get install git-core curl
sudo apt-get install u-boot-tools
sudo apt-get install mtd-utils
sudo apt-get install android-tools-fsutils
sudo apt-get install openjdk-8-jdk
sudo apt-get install device-tree-compiler
sudo apt-get install gdisk



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