1NXP i.MX 8 Series
2=================
3
4The i.MX 8 series of applications processors is a feature- and
5performance-scalable multi-core platform that includes single-,
6dual-, and quad-core families based on the Arm® Cortex®
7architecture—including combined Cortex-A72 + Cortex-A53,
8Cortex-A35, and Cortex-M4 based solutions for advanced graphics,
9imaging, machine vision, audio, voice, video, and safety-critical
10applications.
11
12The i.MX8QM is with 2 Cortex-A72 ARM core, 4 Cortex-A53 ARM core
13and 1 Cortex-M4 system controller.
14
15The i.MX8QX is with 4 Cortex-A35 ARM core and 1 Cortex-M4 system
16controller.
17
18The System Controller (SC) represents the evolution of centralized
19control for system-level resources on i.MX8. The heart of the system
20controller is a Cortex-M4 that executes system controller firmware.
21
22Boot Sequence
23-------------
24
25Bootrom --> BL31 --> BL33(u-boot) --> Linux kernel
26
27How to build
28------------
29
30Build Procedure
31~~~~~~~~~~~~~~~
32
33-  Prepare AARCH64 toolchain.
34
35-  Build System Controller Firmware and u-boot firstly, and get binary images: scfw_tcm.bin and u-boot.bin
36
37-  Build TF-A
38
39   Build bl31:
40
41   .. code:: shell
42
43       CROSS_COMPILE=aarch64-linux-gnu- make PLAT=<Target_SoC> bl31
44
45   Target_SoC should be "imx8qm" for i.MX8QM SoC.
46   Target_SoC should be "imx8qx" for i.MX8QX SoC.
47
48Deploy TF-A Images
49~~~~~~~~~~~~~~~~~~
50
51TF-A binary(bl31.bin), scfw_tcm.bin and u-boot.bin are combined together
52to generate a binary file called flash.bin, the imx-mkimage tool is used
53to generate flash.bin, and flash.bin needs to be flashed into SD card
54with certain offset for BOOT ROM. The system controller firmware,
55u-boot and imx-mkimage will be upstreamed soon, this doc will be updated
56once they are ready, and the link will be posted.
57
58.. _i.MX8: https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-8-processors/i.mx-8-family-arm-cortex-a53-cortex-a72-virtualization-vision-3d-graphics-4k-video:i.MX8
59