README 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. U-Boot for the NXP i.MX8MQ EVK board
  2. Quick Start
  3. ===========
  4. - Build the ARM Trusted firmware binary
  5. - Get ddr and hdmi fimware
  6. - Build U-Boot
  7. - Boot
  8. Get and Build the ARM Trusted firmware
  9. ======================================
  10. Note: srctree is U-Boot source directory
  11. Get ATF from: https://source.codeaurora.org/external/imx/imx-atf
  12. branch: imx_4.19.35_1.0.0
  13. $ make PLAT=imx8mq bl31
  14. $ cp build/imx8mq/release/bl31.bin $(srctree)
  15. Get the ddr and hdmi firmware
  16. =============================
  17. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin
  18. $ chmod +x firmware-imx-7.9.bin
  19. $ ./firmware-imx-7.9.bin
  20. $ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(srctree)
  21. $ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
  22. Build U-Boot
  23. ============
  24. $ export CROSS_COMPILE=aarch64-poky-linux-
  25. $ make imx8mq_evk_defconfig
  26. $ make flash.bin
  27. Burn the flash.bin to MicroSD card offset 33KB
  28. $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33
  29. Boot
  30. ====
  31. Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD.