[v3,6/6] board: icorem6: Add Qt5 configs for 1280x480 LVDS display

Message ID 1505302931-17387-7-git-send-email-jteki@openedev.com
State Accepted
Headers show
Series
  • engicam: Add new boards and qt5
Related show

Commit Message

Jagan Teki Sept. 13, 2017, 11:42 a.m.
From: Jagan Teki <jagan@amarulasolutions.com>

i.CoreM6 OF C.TOUCH 12 Kit has 1280x480 LVDS display, this patch adds
relevant qt5 configs with supports opensource Etnaviv graphical stack.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v3:
- newly added

 board/engicam/icorem6/readme.txt                              |  2 ++
 .../icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json    | 11 +++++++++++
 configs/engicam_imx6qdl_icore_qt5_defconfig                   |  2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json

Patch

diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
index bb04946..4fcc9fd 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -86,6 +86,8 @@  Running Qt5 Cinematic Demo:
 # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore.json
 - for i.CoreM6 ofcap10
 # export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap10.json
+- for i.CoreM6 ofcap12
+# export QT_QPA_EGLFS_KMS_CONFIG=/root/imx6qdl-icore-ofcap12.json
 # CinematicExperience-demo
 
 Enjoy!
diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json
new file mode 100644
index 0000000..36700af
--- /dev/null
+++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json
@@ -0,0 +1,11 @@ 
+{
+  "device": "/dev/dri/card1",
+  "hwcursor": false,
+  "pbuffers": true,
+  "outputs": [
+    {
+      "name": "LVDS-1",
+      "mode": "1280x480"
+    }
+  ]
+}
diff --git a/configs/engicam_imx6qdl_icore_qt5_defconfig b/configs/engicam_imx6qdl_icore_qt5_defconfig
index e53a151..2da0a65 100644
--- a/configs/engicam_imx6qdl_icore_qt5_defconfig
+++ b/configs/engicam_imx6qdl_icore_qt5_defconfig
@@ -30,7 +30,7 @@  BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
 BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10 imx6q-icore-ofcap12"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment"
 
 # Filesystem