imx8qm-dmsse20-a1.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. NXP i.MX8QM DMSSE20-a1 board
  3. ============================
  4. Quick Start
  5. -----------
  6. - Build the ARM Trusted firmware binary
  7. - Get scfw_tcm.bin and ahab-container.img
  8. - Get imx-mkimage
  9. - Build U-Boot
  10. - Flash the binary into the SD card
  11. - Boot
  12. Get and Build the ARM Trusted Firmware
  13. --------------------------------------
  14. .. code-block:: bash
  15. $ git clone https://github.com/nxp-imx/imx-atf
  16. $ cd imx-atf/
  17. $ git checkout lf-5.10.72-2.2.0 -b lf-5.10.72-2.2.0
  18. $ make PLAT=imx8qm bl31
  19. $ cp build/imx8qm/release/bl31.bin $(builddir)
  20. Get scfw_tcm.bin and ahab-container.img
  21. ---------------------------------------
  22. .. code-block:: bash
  23. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.11.0.bin
  24. $ chmod +x imx-sc-firmware-1.11.0.bin
  25. $ ./imx-sc-firmware-1.11.0.bin
  26. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-3.8.5.bin
  27. $ chmod +x imx-seco-3.8.5.bin
  28. $ ./imx-seco-3.8.5.bin
  29. Or use this to avoid running random scripts from the internet,
  30. but note that you must agree to the license the script displays:
  31. .. code-block:: bash
  32. $ dd if=imx-sc-firmware-1.11.0.bin of=imx-sc-firmware-1.11.0.tar.bz2 bs=42757 skip=1
  33. $ tar -xf imx-sc-firmware-1.11.0.tar.bz2
  34. $ cp imx-sc-firmware-1.11.0/mx8qm-val-scfw-tcm.bin $(builddir)
  35. $ dd if=imx-seco-3.8.5.bin of=imx-seco-3.8.5.tar.bz2 bs=43978 skip=1
  36. $ tar -xf imx-seco-3.8.5.tar.bz2
  37. $ cp imx-seco-3.8.5/firmware/seco/mx8qmb0-ahab-container.img $(builddir)
  38. Build U-Boot
  39. ------------
  40. .. code-block:: bash
  41. $ export ATF_LOAD_ADDR=0x80000000
  42. $ export BL33_LOAD_ADDR=0x80020000
  43. $ make imx8qm_dmsse20a1_defconfig
  44. $ make