readme.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ***************************
  2. Freescale i.MX8MQ EVK board
  3. ***************************
  4. This file documents the Buildroot support for the Freescale i.MX8MQ
  5. EVK board.
  6. Build
  7. =====
  8. First, configure Buildroot for the i.MX8MQ EVK board:
  9. If you want to use the NXP kernel:
  10. make freescale_imx8mqevk_defconfig
  11. Or if you want to use a mainline kernel:
  12. make imx8mqevk_defconfig
  13. Build all components:
  14. make
  15. You will find in output/images/ the following files:
  16. - bl31.bin
  17. - boot.vfat
  18. - fsl-imx8mq-evk.dtb
  19. - Image
  20. - imx8-boot-sd.bin
  21. - lpddr4_pmu_train_fw.bin
  22. - rootfs.ext2
  23. - rootfs.ext4
  24. - rootfs.tar
  25. - sdcard.img
  26. - signed_hdmi_imx8m.bin
  27. - u-boot.bin
  28. - u-boot.imx
  29. - u-boot-nodtb.bin
  30. - u-boot-spl-ddr.bin
  31. Create a bootable SD card
  32. =========================
  33. To determine the device associated to the SD card have a look in the
  34. /proc/partitions file:
  35. cat /proc/partitions
  36. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  37. directory, ready to be dumped on a SD card. Launch the following
  38. command as root:
  39. dd if=output/images/sdcard.img of=/dev/<your-sd-device>
  40. *** WARNING! This will destroy all the card content. Use with care! ***
  41. For details about the medium image layout, see the definition in
  42. board/freescale/common/imx/genimage.cfg.template_imx8.
  43. Boot the i.MX8MQ EVK board
  44. ==========================
  45. To boot your newly created system:
  46. - insert the SD card in the SD slot of the board;
  47. - Configure the switches as follows:
  48. SW801: ON ON OFF OFF
  49. SW802: ON OFF
  50. - put a micro USB cable into the Debug USB Port and connect using a terminal
  51. emulator at 115200 bps, 8n1;
  52. - power on the board.
  53. Enable HDMI output
  54. ==================
  55. To enable HDMI output at boot you must provide the video kernel boot
  56. argument. To set the video boot argument from U-Boot run after
  57. stopping in U-Boot prompt:
  58. setenv mmcargs 'setenv bootargs console=${console} root=${mmcroot} video=HDMI-A-1:1920x1080-32@60'
  59. saveenv
  60. reset
  61. Change screen resolution to suit your connected display.
  62. Enjoy!