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