README 1008 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. U-Boot for the Beacon EmbeddedWorks i.MX8M Nano Devkit
  2. Quick Start
  3. ===========
  4. - Build the ARM Trusted firmware binary
  5. - Get ddr firmware
  6. - Build U-Boot
  7. - Boot
  8. Get and Build the ARM Trusted firmware
  9. ======================================
  10. Note: $(srctree) is U-Boot source directory
  11. $ git clone https://source.codeaurora.org/external/imx/imx-atf
  12. $ git checkout imx_5.4.47_2.2.0
  13. $ make PLAT=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu-
  14. $ cp build/imx8mm/release/bl31.bin $(srctree)
  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
  20. $ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
  21. Build U-Boot
  22. ============
  23. $ make imx8mn_beacon_defconfig
  24. $ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x960000
  25. Burn U-Boot to microSD Card
  26. ===========================
  27. $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32
  28. Boot
  29. ====
  30. Set baseboard DIP switch:
  31. S17: 1100XXXX