README 992 B

12345678910111213141516171819202122232425262728293031323334
  1. U-Boot for the Gateworks i.MX8M Mini Venice Development Kit boards
  2. Quick Start
  3. ===========
  4. - Build the ARM Trusted firmware binary
  5. - Get ddr firmware
  6. - Build U-Boot
  7. - Flash to eMMC
  8. - Boot
  9. Get and Build the ARM Trusted firmware
  10. ======================================
  11. $ git clone https://source.codeaurora.org/external/imx/imx-atf
  12. $ git checkout imx_5.4.47_2.2.0
  13. $ make PLAT=imx8mm CROSS_COMPILE=aarch64-linux-gnu- bl31
  14. $ cp build/imx8mm/release/bl31.bin .
  15. Get the DDR Firmware
  16. ====================
  17. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin
  18. $ chmod +x firmware-imx-8.9.bin
  19. $ ./firmware-imx-8.9.bin
  20. $ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin .
  21. Build U-Boot
  22. ============
  23. $ make imx8mm_venice_defconfig
  24. $ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000
  25. Update eMMC
  26. ===========
  27. => tftpboot $loadaddr flash.bin
  28. => setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200
  29. => mmc dev 2 && mmc write $loadaddr 0x42 $blkcnt