imxrt1020-evk.rst 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. imxrt1020-evk
  3. =============
  4. How to use U-Boot on NXP i.MXRT1020 EVK
  5. ---------------------------------------
  6. - Build U-Boot for i.MXRT1020 EVK:
  7. .. code-block:: bash
  8. $ make mrproper
  9. $ make imxrt1020-evk_defconfig
  10. $ make
  11. This will generate the SPL image called SPL and the u-boot.img.
  12. - Flash the SPL image into the micro SD card:
  13. .. code-block:: bash
  14. $sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync
  15. - Flash the u-boot.img image into the micro SD card:
  16. .. code-block:: bash
  17. $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync
  18. - Jumper settings::
  19. SW8: 0 1 1 0
  20. where 0 means bottom position and 1 means top position (from the
  21. switch label numbers reference).
  22. - Connect the USB cable between the EVK and the PC for the console.
  23. The USB console connector is the one close the ethernet connector
  24. - Insert the micro SD card in the board, power it up and U-Boot messages should come up.