imx8.rst 1.9 KB

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