Getting Started with the MCIMX8QXP-CPU | NXP Semiconductors

Getting Started with the MCIMX8QXP-CPU

Last Modified: 2019-03-20 09:34:00Supports i.MX 8QuadXPlus MEK

1. Out of the Box

The following section describes the steps to boot the i.MX 8QuadXPlus MEK.

1.1 i.MX 8QuadPlus MEK Unboxing

Video Player is loading.
Current Time 0:00
Duration 1:43
Loaded: 0%
Stream Type LIVE
Remaining Time 1:43
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

Development kit contains:

  • i.MX 8QuadXPlus MEK board for smart devices
  • USB cable (micro-B to standard-A)
  • Cable -Assembly, USB 2.0 Type-A Male, USB Type-C Male, Shielded, 1m
  • 12 V/8.3 A universal power supply
  • Quick Start Guide
  • 8 GB SD card with bootable operating system demonstration image

1.2 Get Familiar With the Board

IMX8QUADXPLUS-BOARD-TOP

IMX8QUADXPLUS-BOARD-TOP

IMX8QUADXPLUS-BOARD-BACK

IMX8QUADXPLUS-BOARD-BACK

1.3 Insert the SD card (J12)

The kit includes an SD card with a pre-built NXP Linux binary demo image. Without modifying the binary inside the SD card, booting from this SD card provides a default system with certain features for building other applications on top of Linux. The software is described in the following sections.

1.4 Connect USB Debug Cable

Connect the micro-B end of the supplied USB cable into Debug UART port J11. Connect the other end of the cable to a host computer.

If you are not sure about how to use a terminal application, try one of the following tutorials depending on the operating system of the host machine:

1.5 Connect Power Supply

Connect the power supply cable to the power connector (J9).

The processor starts executing from the on-chip ROM code. With the default boot switch setup, the code reads the fuses to define the media where it is expected to have a bootable image. After it finds a bootable image, the U-Boot execution should begin automatically.

Information is printed in the serial console for the Cortex®-A35. If you do not stop the U-Boot process, it continues to boot the kernel.

2. Build, Run

2.1 Embedded Linux®

This section is applicable ONLY if attempting to load a Linux operating system on the board.

The i.MX Linux Board Support Package (BSP) is a collection of binary files, source code, and support files that are used to boot an Embedded Linux image on a specific i.MX development platform.

Current releases of Linux binary demo files can be found on the i.MX Linux download page. Additional documentation is available in the i.MX Linux documentation bundle under the Linux sections of the i.MX Software and Development Tool.

2.2 Overview

Before the Linux OS kernel can boot on an i.MX board, the Linux kernel is loaded to a boot device (SD card, eMMC and so on) and the boot switches are set to boot that device.

There are various ways to download the Linux BSP image for different boards and boot devices.

For this getting started guide, only a few methods to transfer the Linux BSP image to an SD card are listed. Experienced Linux developers can explore other options.

2.3 Download an NXP Linux BSP Pre-built Image

The latest pre-built images for the i.MX 8QuadXPlus MEK are available on the Linux download page under the most current version on Linux.

The pre-built NXP Linux binary demo image provides a typical system and basic set of features for using and evaluating the processor. Without modifying the system, the users can evaluate hardware interfaces, test SoC features, and run user space applications.

When more flexibility is desired, an SD card can be loaded with individual components (boot loader, kernel, dtb file, and rootfs file) one-by-one or the .sdcard image is loaded and the individual parts are overwritten with the specific components.

3. Get Software

3.1 Embedded Android

This section describes the boot process of loading the i.MX 8QuadXPlus MEK board with an Embedded Android system image and introduces how to build the software components that create your own system image. For details on building the Android platform, see Building Android

The current release includes Demo Images, Source code, and Documentation. These can also be found under Android section of the i.MX Software and Development Tool.

3.2 Overview

The storage devices on the development system (MMC/SD or NAND) must be programmed with the U-Boot boot loader. The boot process determines which storage device to access based on the switch settings. When the boot loader is loaded and begins execution, the U-Boot environment space is then read to determine how to proceed with the boot process.

The images can come from pre-built release packages or be created from source code. Regardless of how you obtain them, all Android images contain the following components:

  • U-Boot image: u-boot.imx

  • boot image: boot.img

  • Android system root image: system.img

  • Recovery root image: recovery.img

For more information about the Android BSP refer to the Android User Guide.

3.3 Download NXP Android BSP Image

The pre-built NXP Android demo image provides a default system with certain features for evaluation. Without modifying the system, users can perform some basic operations, and interact with the system to test hardware interfaces and develop software application in the user space.

The pre-built images from the package are categorized by boot device and put in the directory with the device name. The latest pre-built image files can be found in Android section on the i.MX Software and Development Tool.

3.4 Burn NXP Android BSP Image Using UUU

In addition to the connections from Out of box chapter, connect the J10 to the host machine using the proper USB cable.

Turn off the board. Consult Boot switch setup and configure the board to boot on SDP (Serial Download Protocol) mode.

Depending on the OS used in the host machine, the way to transfer the Android BSP image onto an SD card can vary. Choose an option below for detailed instructions:

4. MCUXpresso SDK

The MCUXpresso Software Development Kit (MCUXpresso SDK) provides comprehensive software source code to be executed in the i.MX 8QuadXPlus M4 core.

If you do not wish to enable the Cortex®-M4 on i.MX 8QuadXPlus at this moment you can skip this section.

4.1 Overview

The MCUXpresso SDK is designed for the development of embedded applications for Cortex®-M4 standalone or collaborative use with the A cores. Along with the peripheral drivers, the MCUXpresso SDK provides an extensive and rich set of example applications covering everything from basic peripheral use case examples to demo applications. The MCUXpresso SDK also contains RTOS kernels, and device stack, and various other middleware to support rapid development.

Depending on the OS used in the host machine, the way to build and deploy the demos can vary. Choose an option below for detailed instructions: