readme.txt 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. *********************************************
  2. Buildroot for Engicam i.CoreM6 SOM platforms:
  3. *********************************************
  4. This file documents the Buildroot support for Engicam i.CoreM6
  5. platform boards.
  6. i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits:
  7. https://www.engicam.com/vis-prod/101120
  8. i.CoreM6 Quad/Dual/DualLite/Solo Open Frame 10.1 C.TOUCH kits:
  9. https://www.engicam.com/vis-prod/101133
  10. This configuration uses U-Boot mainline and kernel mainline.
  11. Build
  12. =====
  13. First, configure Buildroot for the Engicam i.CoreM6:
  14. make engicam_imx6qdl_icore_defconfig
  15. Build all components:
  16. make
  17. You will find the following files in output/images/:
  18. - imx6q-icore.dtb (for i.CoreM6 Quad/Dual)
  19. - imx6dl-icore.dtb (for i.CoreM6 DualLite/Solo)
  20. - imx6q-icore-ofcap10.dtb (for i.CoreM6 Quad/Dual ofcap 10)
  21. - imx6q-icore-ofcap12.dtb (for i.CoreM6 Quad/Dual ofcap 12)
  22. - rootfs.ext4
  23. - rootfs.tar
  24. - sdcard.img
  25. - SPL
  26. - u-boot-dtb.img
  27. - uImage
  28. Create a bootable SD card
  29. =========================
  30. To determine the device associated to the SD card have a look in the
  31. /proc/partitions file:
  32. cat /proc/partitions
  33. Buildroot prepares a bootable "sdcard.img" image in the output/images/
  34. directory, ready to be dumped on a SD card. Launch the following
  35. command as root:
  36. dd if=output/images/sdcard.img of=/dev/<your-sd-device>
  37. sync
  38. *** WARNING! This will destroy all the card content. Use with care! ***
  39. For details about the medium image layout, see the definition in
  40. board/engicam/icorem6/genimage.cfg
  41. Boot the i.CoreM6 boards with SD boot:
  42. =====================================
  43. To boot your newly created system:
  44. - insert the SD card in the SD slot of the board;
  45. - connect 3-wire RS232 serial port J28 on board, and connect with other
  46. serial end or USB cable(if serial-to-usb converter used) using
  47. a terminal emulator at 115200 bps, 8n1;
  48. - close JM3 for sd boot.
  49. - power on the board.
  50. Testing graphics on i.CoreM6:
  51. ============================
  52. Build with support for Etnaviv, Qt5 and demo applications:
  53. make engicam_imx6qdl_icore_qt5_defconfig
  54. make
  55. Running kmscube
  56. # kmscube -D /dev/dri/card1
  57. Running glmark2-es2-drm
  58. # glmark2-es2-drm
  59. Running Qt5 Cinematic Demo:
  60. - for i.CoreM6 Starter Kit
  61. # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore.json
  62. - for i.CoreM6 ofcap10
  63. # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap10.json
  64. - for i.CoreM6 ofcap12
  65. # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap12.json
  66. # CinematicExperience-demo
  67. Enjoy!