aboutsummaryrefslogtreecommitdiff
path: root/board/engicam
diff options
context:
space:
mode:
authorGravatar Jagan Teki <jagan@amarulasolutions.com>2017-09-13 17:12:07 +0530
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-10-06 22:08:10 +0200
commitc5813f2b79155a9061b156212d7585d2deeb6ac2 (patch)
treec1a999bbd56a3cb613f70d5122d1ce4abcf75361 /board/engicam
parent922e33d046ddb4856ff28c9d7c17c29134ce6959 (diff)
downloadbuildroot-c5813f2b79155a9061b156212d7585d2deeb6ac2.tar.gz
buildroot-c5813f2b79155a9061b156212d7585d2deeb6ac2.tar.bz2
board: icorem6: Add Qt5 configs for 800x480 LVDS display
i.CoreM6 Starter Kit has 800x480 LVDS display, this patch adds relevant qt5 configs with supports opensource Etnaviv graphical stack. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> [Arnout: mention the qt5 defconfig in readme.txt, otherwise the demo applications don't exist] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'board/engicam')
-rw-r--r--board/engicam/icorem6/linux_qt5.fragment4
-rw-r--r--board/engicam/icorem6/readme.txt19
-rw-r--r--board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json11
3 files changed, 34 insertions, 0 deletions
diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment
new file mode 100644
index 0000000000..5c0505e510
--- /dev/null
+++ b/board/engicam/icorem6/linux_qt5.fragment
@@ -0,0 +1,4 @@
+# Currently kernel mainline exhibits issues when running cpufreq as ondemand
+# governor on mx6.
+# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
index 0ad60bf6e4..5c4b192736 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -66,4 +66,23 @@ To boot your newly created system:
- close JM3 for sd boot.
- power on the board.
+Testing graphics on i.CoreM6 Starter Kit:
+========================================
+
+Build with support for Etnaviv, Qt5 and demo applications:
+
+ make engicam_imx6qdl_icore_qt5_defconfig
+ make
+
+Running kmscube
+# kmscube -D /dev/dri/card1
+
+Running glmark2-es2-drm
+# glmark2-es2-drm
+
+Running Qt5 Cinematic Demo:
+- for i.CoreM6 Starter Kit
+# export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore.json
+# CinematicExperience-demo
+
Enjoy!
diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
new file mode 100644
index 0000000000..ac139a3eaf
--- /dev/null
+++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
@@ -0,0 +1,11 @@
+{
+ "device": "/dev/dri/card1",
+ "hwcursor": false,
+ "pbuffers": true,
+ "outputs": [
+ {
+ "name": "LVDS-1",
+ "mode": "800x480"
+ }
+ ]
+}