Difference between revisions of "IMX8/iMX8MEVK/Getting Started/Loading Pre-built Images"

From RidgeRun Developer Connection
Jump to: navigation, search
(Installing the Java Development Kit (JDK))
(Get the Source Code)
Line 72: Line 72:
 
====Get the Source Code====
 
====Get the Source Code====
 
The image can be downloaded in the following link, this image is provided by Variscite.
 
The image can be downloaded in the following link, this image is provided by Variscite.
 +
 
[ftp://customerv:Variscite1@ftp.variscite.com/DART-MX8M/Software/Android/Android_iMX8M_O810_130/android_O8.1.0_1.3.0_8M_docs.tar.gz Android Oreo 8.1]
 
[ftp://customerv:Variscite1@ftp.variscite.com/DART-MX8M/Software/Android/Android_iMX8M_O810_130/android_O8.1.0_1.3.0_8M_docs.tar.gz Android Oreo 8.1]
 +
 +
 
<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 17:30, 9 November 2018


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.

Required Packages

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

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib 
sudo apt-get install libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils 
sudo apt-get install xsltproc unzip mtd-utils u-boot-tools lzop liblzo2-2 liblzo2-dev zlib1g-dev liblz-dev uuid uuid-dev android-tools-fsutils
sudo apt-get install bc
sudo apt-get install device-tree-compiler
sudo apt-get install gdisk

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

If your Ubuntu version is missing the package (which shouldn't happen), add the PPA repository and run the previous commands again:

sudo add-apt-repository ppa:openjdk-r/ppa

Update the default Java version by running:

sudo update-alternatives --config java
sudo update-alternatives --config javac

Get the Source Code

The image can be downloaded in the following link, this image is provided by Variscite.

Android Oreo 8.1


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