README 959 B

12345678910111213141516171819202122232425262728293031323334353637
  1. U-Boot for the NXP i.MX8MM EVK board
  2. Quick Start
  3. ===========
  4. - Build the ARM Trusted firmware binary
  5. - Get ddr 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=imx8mm bl31
  14. $ cp build/imx8mm/release/bl31.bin $(srctree)
  15. Get the ddr and hdmi firmware
  16. =============================
  17. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin
  18. $ chmod +x firmware-imx-8.0.bin
  19. $ ./firmware-imx-8.0
  20. $ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
  21. Build U-Boot
  22. ============
  23. $ export CROSS_COMPILE=aarch64-poky-linux-
  24. $ make imx8mm_evk_defconfig
  25. $ export ATF_LOAD_ADDR=0x920000
  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 to SD boot