All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
@ 2017-09-13 11:42 Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases Jagan Teki
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

This series add new boards from Engicam with qt5 support for each.

Jagan Teki (6):
  engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
  board: icorem6: Add Qt5 configs for 800x480 LVDS display
  engicam: icorem6: Add OF C.TOUCH 10.1 Kit
  board: icorem6: Add Qt5 configs for 1280x800 LVDS display
  engicam: icorem6: Add OF C.TOUCH 12 Kit
  board: icorem6: Add Qt5 configs for 1280x480 LVDS display

 .gitlab-ci.yml                                     |  1 +
 DEVELOPERS                                         |  1 +
 board/engicam/icorem6/genimage.cfg                 |  4 +-
 board/engicam/icorem6/linux_qt5.fragment           |  4 ++
 board/engicam/icorem6/readme.txt                   | 24 +++++++
 .../rootfs_overlay/root/imx6qdl-icore-ofcap10.json | 11 +++
 .../rootfs_overlay/root/imx6qdl-icore-ofcap12.json | 11 +++
 .../icorem6/rootfs_overlay/root/imx6qdl-icore.json | 11 +++
 configs/engicam_imx6qdl_icore_defconfig            | 12 ++--
 configs/engicam_imx6qdl_icore_qt5_defconfig        | 81 ++++++++++++++++++++++
 10 files changed, 153 insertions(+), 7 deletions(-)
 create mode 100644 board/engicam/icorem6/linux_qt5.fragment
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
 create mode 100644 configs/engicam_imx6qdl_icore_qt5_defconfig

-- 
2.7.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-27 21:47   ` Arnout Vandecappelle
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display Jagan Teki
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

- Linux: 4.13
- Uboot: 2017.07

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

 configs/engicam_imx6qdl_icore_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
index 466d60c..03e65bd 100644
--- a/configs/engicam_imx6qdl_icore_defconfig
+++ b/configs/engicam_imx6qdl_icore_defconfig
@@ -4,8 +4,8 @@ BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_FPU_VFPV3=y
 
-# Linux headers same as kernel, a 4.11 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
+# Linux headers same as kernel, a 4.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
 
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
@@ -14,7 +14,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
@@ -25,7 +25,7 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13"
 BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
 BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-27 22:03   ` Arnout Vandecappelle
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 3/6] engicam: icorem6: Add OF C.TOUCH 10.1 Kit Jagan Teki
                   ` (5 subsequent siblings)
  7 siblings, 1 reply; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

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>
---
Changes for v3:
- none
Changes for v2:
- Remove pathes, since there are in Mainline
- Add separate defconfig file qt5
- Update .gitlab-ci.yml
- Update DEVELOPERS
- Drop unneeded configs

 .gitlab-ci.yml                                     |  1 +
 DEVELOPERS                                         |  1 +
 board/engicam/icorem6/linux_qt5.fragment           |  4 ++
 board/engicam/icorem6/readme.txt                   | 14 ++++
 .../icorem6/rootfs_overlay/root/imx6qdl-icore.json | 11 +++
 configs/engicam_imx6qdl_icore_qt5_defconfig        | 81 ++++++++++++++++++++++
 6 files changed, 112 insertions(+)
 create mode 100644 board/engicam/icorem6/linux_qt5.fragment
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
 create mode 100644 configs/engicam_imx6qdl_icore_qt5_defconfig

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b44c935..045441d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,6 +97,7 @@ ci40_defconfig: *defconfig
 csky_gx6605s_defconfig: *defconfig
 cubieboard2_defconfig: *defconfig
 engicam_imx6qdl_icore_defconfig: *defconfig
+engicam_imx6qdl_icore_qt5_defconfig: *defconfig
 engicam_imx6qdl_icore_rqs_defconfig: *defconfig
 engicam_imx6ul_geam_defconfig: *defconfig
 engicam_imx6ul_isiot_defconfig: *defconfig
diff --git a/DEVELOPERS b/DEVELOPERS
index 79e7202..9d5bf30 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -868,6 +868,7 @@ F:	package/keepalived/
 N:	Jagan Teki <jagan@amarulasolutions.com>
 F:	board/engicam/
 F:	configs/engicam_imx6qdl_icore_defconfig
+F:	configs/engicam_imx6qdl_icore_qt5_defconfig
 F:	configs/engicam_imx6qdl_icore_rqs_defconfig
 F:	configs/engicam_imx6ul_geam_defconfig
 F:	configs/engicam_imx6ul_isiot_defconfig
diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment
new file mode 100644
index 0000000..5c0505e
--- /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 0ad60bf..9a9ecf0 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -66,4 +66,18 @@ To boot your newly created system:
 - close JM3 for sd boot.
 - power on the board.
 
+Testing graphics on i.CoreM6 Starter Kit:
+========================================
+
+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 0000000..ac139a3
--- /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"
+    }
+  ]
+}
diff --git a/configs/engicam_imx6qdl_icore_qt5_defconfig b/configs/engicam_imx6qdl_icore_qt5_defconfig
new file mode 100644
index 0000000..cf4439f
--- /dev/null
+++ b/configs/engicam_imx6qdl_icore_qt5_defconfig
@@ -0,0 +1,81 @@
+BR2_arm=y
+BR2_cortex_a9=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_ENABLE_VFP=y
+BR2_ARM_FPU_VFPV3=y
+
+# Linux headers same as kernel, a 4.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
+
+# Bootloader
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13"
+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"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment"
+
+# Filesystem
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg"
+BR2_ROOTFS_OVERLAY="board/engicam/icorem6/rootfs_overlay"
+
+# qt5 dependencies
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+
+# qt5
+BR2_PACKAGE_QT5=y
+BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
+BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
+BR2_PACKAGE_QT5BASE_LINUXFB=y
+BR2_PACKAGE_QT5BASE_FONTCONFIG=y
+BR2_PACKAGE_QT5BASE_GIF=y
+BR2_PACKAGE_QT5BASE_JPEG=y
+
+# mesa3d
+BR2_PACKAGE_MESA3D=y
+BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
+BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
+BR2_PACKAGE_MESA3D_OPENGL_ES=y
+
+# qt5 demo packages
+BR2_PACKAGE_GLMARK2=y
+BR2_PACKAGE_MESA3D_DEMOS=y
+BR2_PACKAGE_KMSCUBE=y
+BR2_PACKAGE_QT5CINEX=y
+BR2_PACKAGE_QT5CINEX_HD=y
+
+# fonts
+BR2_PACKAGE_BITSTREAM_VERA=y
+BR2_PACKAGE_CANTARELL=y
+BR2_PACKAGE_DEJAVU=y
+BR2_PACKAGE_FONT_AWESOME=y
+BR2_PACKAGE_GHOSTSCRIPT_FONTS=y
+BR2_PACKAGE_INCONSOLATA=y
+BR2_PACKAGE_LIBERATION=y
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 3/6] engicam: icorem6: Add OF C.TOUCH 10.1 Kit
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 4/6] board: icorem6: Add Qt5 configs for 1280x800 LVDS display Jagan Teki
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

This patch add support for Open Frame C.TOUCH 10.1 Kit.

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

 board/engicam/icorem6/genimage.cfg      | 3 ++-
 board/engicam/icorem6/readme.txt        | 4 ++++
 configs/engicam_imx6qdl_icore_defconfig | 4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/board/engicam/icorem6/genimage.cfg b/board/engicam/icorem6/genimage.cfg
index f409a08..50c01bb 100644
--- a/board/engicam/icorem6/genimage.cfg
+++ b/board/engicam/icorem6/genimage.cfg
@@ -3,7 +3,8 @@ image boot.vfat {
 		files = {
 			"uImage",
 			"imx6dl-icore.dtb",
-			"imx6q-icore.dtb"
+			"imx6q-icore.dtb",
+			"imx6q-icore-ofcap10.dtb"
 		}
 	}
 	size = 64M
diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
index 9a9ecf0..e822ae0 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -7,6 +7,8 @@ platform boards.
 
 i.CoreM6 Quad/Dual/DualLite/Solo SOM Starter kits:
 https://www.engicam.com/vis-prod/101120
+i.CoreM6 Quad/Dual/DualLite/Solo Open Frame 10.1 C.TOUCH kits:
+https://www.engicam.com/vis-prod/101133
 
 This configuration uses U-Boot mainline and kernel mainline.
 
@@ -28,6 +30,8 @@ You will find the following files in output/images/:
   - imx6q-icore.dtb
 - for i.CoreM6 DualLite/Solo:
   - imx6dl-icore.dtb
+- for i.CoreM6 Quad/Dual ofcap 10:
+  - imx6q-icore-ofcap10.dtb
   - rootfs.ext4
   - rootfs.tar
   - sdcard.img
diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
index 03e65bd..8e1908b 100644
--- a/configs/engicam_imx6qdl_icore_defconfig
+++ b/configs/engicam_imx6qdl_icore_defconfig
@@ -30,10 +30,10 @@ 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"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10"
 
 # Filesystem
-BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo Starter Kit"
+BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 4/6] board: icorem6: Add Qt5 configs for 1280x800 LVDS display
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
                   ` (2 preceding siblings ...)
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 3/6] engicam: icorem6: Add OF C.TOUCH 10.1 Kit Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 5/6] engicam: icorem6: Add OF C.TOUCH 12 Kit Jagan Teki
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

i.CoreM6 OF C.TOUCH 10.1 Kit has 1280x800 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                              |  6 ++++--
 .../icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json    | 11 +++++++++++
 configs/engicam_imx6qdl_icore_qt5_defconfig                   |  2 +-
 3 files changed, 16 insertions(+), 3 deletions(-)
 create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json

diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
index e822ae0..7c256c4 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -70,8 +70,8 @@ To boot your newly created system:
 - close JM3 for sd boot.
 - power on the board.
 
-Testing graphics on i.CoreM6 Starter Kit:
-========================================
+Testing graphics on i.CoreM6:
+============================
 
 Running kmscube
 # kmscube -D /dev/dri/card1
@@ -82,6 +82,8 @@ Running glmark2-es2-drm
 Running Qt5 Cinematic Demo:
 - for i.CoreM6 Starter Kit
 # 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
 # CinematicExperience-demo
 
 Enjoy!
diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json
new file mode 100644
index 0000000..963c7c0
--- /dev/null
+++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json
@@ -0,0 +1,11 @@
+{
+  "device": "/dev/dri/card1",
+  "hwcursor": false,
+  "pbuffers": true,
+  "outputs": [
+    {
+      "name": "LVDS-1",
+      "mode": "1280x800"
+    }
+  ]
+}
diff --git a/configs/engicam_imx6qdl_icore_qt5_defconfig b/configs/engicam_imx6qdl_icore_qt5_defconfig
index cf4439f..e53a151 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"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment"
 
 # Filesystem
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 5/6] engicam: icorem6: Add OF C.TOUCH 12 Kit
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
                   ` (3 preceding siblings ...)
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 4/6] board: icorem6: Add Qt5 configs for 1280x800 LVDS display Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 6/6] board: icorem6: Add Qt5 configs for 1280x480 LVDS display Jagan Teki
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

From: Jagan Teki <jagan@amarulasolutions.com>

This patch add support for Open Frame C.TOUCH 12 Kit.

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

 board/engicam/icorem6/genimage.cfg      | 3 ++-
 board/engicam/icorem6/readme.txt        | 2 ++
 configs/engicam_imx6qdl_icore_defconfig | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/board/engicam/icorem6/genimage.cfg b/board/engicam/icorem6/genimage.cfg
index 50c01bb..835d905 100644
--- a/board/engicam/icorem6/genimage.cfg
+++ b/board/engicam/icorem6/genimage.cfg
@@ -4,7 +4,8 @@ image boot.vfat {
 			"uImage",
 			"imx6dl-icore.dtb",
 			"imx6q-icore.dtb",
-			"imx6q-icore-ofcap10.dtb"
+			"imx6q-icore-ofcap10.dtb",
+			"imx6q-icore-ofcap12.dtb"
 		}
 	}
 	size = 64M
diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
index 7c256c4..bb04946 100644
--- a/board/engicam/icorem6/readme.txt
+++ b/board/engicam/icorem6/readme.txt
@@ -32,6 +32,8 @@ You will find the following files in output/images/:
   - imx6dl-icore.dtb
 - for i.CoreM6 Quad/Dual ofcap 10:
   - imx6q-icore-ofcap10.dtb
+- for i.CoreM6 Quad/Dual ofcap 12:
+  - imx6q-icore-ofcap12.dtb
   - rootfs.ext4
   - rootfs.tar
   - sdcard.img
diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
index 8e1908b..6090360 100644
--- a/configs/engicam_imx6qdl_icore_defconfig
+++ b/configs/engicam_imx6qdl_icore_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"
 
 # Filesystem
 BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 6/6] board: icorem6: Add Qt5 configs for 1280x480 LVDS display
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
                   ` (4 preceding siblings ...)
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 5/6] engicam: icorem6: Add OF C.TOUCH 12 Kit Jagan Teki
@ 2017-09-13 11:42 ` Jagan Teki
  2017-09-21 12:35 ` [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
  2017-10-06 20:20 ` Arnout Vandecappelle
  7 siblings, 0 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-13 11:42 UTC (permalink / raw)
  To: buildroot

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

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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
                   ` (5 preceding siblings ...)
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 6/6] board: icorem6: Add Qt5 configs for 1280x480 LVDS display Jagan Teki
@ 2017-09-21 12:35 ` Jagan Teki
  2017-09-27 17:57   ` Jagan Teki
  2017-10-06 20:20 ` Arnout Vandecappelle
  7 siblings, 1 reply; 15+ messages in thread
From: Jagan Teki @ 2017-09-21 12:35 UTC (permalink / raw)
  To: buildroot

On Wed, Sep 13, 2017 at 5:12 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> This series add new boards from Engicam with qt5 support for each.
>
> Jagan Teki (6):
>   engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
>   board: icorem6: Add Qt5 configs for 800x480 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 10.1 Kit
>   board: icorem6: Add Qt5 configs for 1280x800 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 12 Kit
>   board: icorem6: Add Qt5 configs for 1280x480 LVDS display

Any comments on this?

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
  2017-09-21 12:35 ` [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
@ 2017-09-27 17:57   ` Jagan Teki
  2017-09-27 19:43     ` Arnout Vandecappelle
  0 siblings, 1 reply; 15+ messages in thread
From: Jagan Teki @ 2017-09-27 17:57 UTC (permalink / raw)
  To: buildroot

On 21-Sep-2017 6:05 PM, "Jagan Teki" <jagannadh.teki@gmail.com> wrote:

On Wed, Sep 13, 2017 at 5:12 PM, Jagan Teki <jagannadh.teki@gmail.com>
wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
>
> This series add new boards from Engicam with qt5 support for each.
>
> Jagan Teki (6):
>   engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
>   board: icorem6: Add Qt5 configs for 800x480 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 10.1 Kit
>   board: icorem6: Add Qt5 configs for 1280x800 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 12 Kit
>   board: icorem6: Add Qt5 configs for 1280x480 LVDS display

Any comments on this?


We're planning to send GST patches on top of this series, would you please
comment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170927/13021ff4/attachment.html>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
  2017-09-27 17:57   ` Jagan Teki
@ 2017-09-27 19:43     ` Arnout Vandecappelle
  2017-09-27 20:00       ` Thomas Petazzoni
  0 siblings, 1 reply; 15+ messages in thread
From: Arnout Vandecappelle @ 2017-09-27 19:43 UTC (permalink / raw)
  To: buildroot

 Hi Jagan,

On 27-09-17 19:57, Jagan Teki wrote:
> 
> 
> On 21-Sep-2017 6:05 PM, "Jagan Teki" <jagannadh.teki@gmail.com
> <mailto:jagannadh.teki@gmail.com>> wrote:
> 
>     On Wed, Sep 13, 2017 at 5:12 PM, Jagan Teki <jagannadh.teki@gmail.com
>     <mailto:jagannadh.teki@gmail.com>> wrote:
>     > From: Jagan Teki <jagan@amarulasolutions.com
>     <mailto:jagan@amarulasolutions.com>>
>     >
>     > This series add new boards from Engicam with qt5 support for each.
>     >
>     > Jagan Teki (6):
>     >? ?engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
>     >? ?board: icorem6: Add Qt5 configs for 800x480 LVDS display
>     >? ?engicam: icorem6: Add OF C.TOUCH 10.1 Kit
>     >? ?board: icorem6: Add Qt5 configs for 1280x800 LVDS display
>     >? ?engicam: icorem6: Add OF C.TOUCH 12 Kit
>     >? ?board: icorem6: Add Qt5 configs for 1280x480 LVDS display
> 
>     Any comments on this?
> 
> 
> We're planning to send GST patches on top of this series, would you please comment.


 I've been wary about applying this patch series because we don't really want
qt5 defconfigs for every board. Especially since we already have a mx6/Etnaviv
defconfig (imx6-sabresd_qt5_defconfig). Initially I even thought you were adding
three different qt5 defconfigs... But fortunately it's just one.

 That said, since you're clearly actively working with this, it's worth
including it.

 Peter, Thomas, opinions?

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
  2017-09-27 19:43     ` Arnout Vandecappelle
@ 2017-09-27 20:00       ` Thomas Petazzoni
  0 siblings, 0 replies; 15+ messages in thread
From: Thomas Petazzoni @ 2017-09-27 20:00 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 27 Sep 2017 21:43:41 +0200, Arnout Vandecappelle wrote:

>  I've been wary about applying this patch series because we don't really want
> qt5 defconfigs for every board. Especially since we already have a mx6/Etnaviv
> defconfig (imx6-sabresd_qt5_defconfig). Initially I even thought you were adding
> three different qt5 defconfigs... But fortunately it's just one.
> 
>  That said, since you're clearly actively working with this, it's worth
> including it.
> 
>  Peter, Thomas, opinions?

I'm also worried about the growing number of defconfig files,
targeting specific use cases. But we don't really have a better way to
support such example configurations other by merging more defconfig
files, so probably we should do it.

As long as we remain aggressive in dropping defconfig files that are
not maintained, I believe we can accept more defconfig files.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases Jagan Teki
@ 2017-09-27 21:47   ` Arnout Vandecappelle
  0 siblings, 0 replies; 15+ messages in thread
From: Arnout Vandecappelle @ 2017-09-27 21:47 UTC (permalink / raw)
  To: buildroot



On 13-09-17 13:42, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
> 
> - Linux: 4.13
> - Uboot: 2017.07
> 
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
> Changes for v3:
> - newly added
> 
>  configs/engicam_imx6qdl_icore_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/engicam_imx6qdl_icore_defconfig b/configs/engicam_imx6qdl_icore_defconfig
> index 466d60c..03e65bd 100644
> --- a/configs/engicam_imx6qdl_icore_defconfig
> +++ b/configs/engicam_imx6qdl_icore_defconfig
> @@ -4,8 +4,8 @@ BR2_ARM_ENABLE_NEON=y
>  BR2_ARM_ENABLE_VFP=y
>  BR2_ARM_FPU_VFPV3=y
>  
> -# Linux headers same as kernel, a 4.11 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
> +# Linux headers same as kernel, a 4.13 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
>  
>  # System
>  BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
> @@ -14,7 +14,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07-rc1"
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
>  BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
>  BR2_TARGET_UBOOT_NEEDS_DTC=y
>  BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> @@ -25,7 +25,7 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
>  # Kernel
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13"
>  BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
>  BR2_LINUX_KERNEL_UIMAGE=y
>  BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display
  2017-09-13 11:42 ` [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display Jagan Teki
@ 2017-09-27 22:03   ` Arnout Vandecappelle
  2017-09-28  5:02     ` Jagan Teki
  0 siblings, 1 reply; 15+ messages in thread
From: Arnout Vandecappelle @ 2017-09-27 22:03 UTC (permalink / raw)
  To: buildroot

 I was about to apply, but...

On 13-09-17 13:42, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
> 
> 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>
[snip]
> diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment
> new file mode 100644
> index 0000000..5c0505e
> --- /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

 This is the same as board/freescale/imx6-sabresd/linux_qt5.fragment, perhaps
that file could be used directly?

> diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt

[snip]
> 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 0000000..ac139a3
> --- /dev/null
> +++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
> @@ -0,0 +1,11 @@
> +{
> +  "device": "/dev/dri/card1",

 Fabio (in Cc) changed this to card0 with the bump to Linux 4.13.3. For the
iCore this is not needed?

> +  "hwcursor": false,
> +  "pbuffers": true,
> +  "outputs": [
> +    {
> +      "name": "LVDS-1",
> +      "mode": "800x480"
> +    }

 Fabio explicitly turns off HDMI. Not needed?

> +  ]
> +}

[snip]

> +BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"

 Fabio converted the imx6-sabresd to SPL boot, so that the same defconfig can be
used for different boards. Could the enigcam boards use the same defconfig?

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display
  2017-09-27 22:03   ` Arnout Vandecappelle
@ 2017-09-28  5:02     ` Jagan Teki
  0 siblings, 0 replies; 15+ messages in thread
From: Jagan Teki @ 2017-09-28  5:02 UTC (permalink / raw)
  To: buildroot

On Thu, Sep 28, 2017 at 3:33 AM, Arnout Vandecappelle <arnout@mind.be> wrote:
>  I was about to apply, but...
>
> On 13-09-17 13:42, Jagan Teki wrote:
>> From: Jagan Teki <jagan@amarulasolutions.com>
>>
>> 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>
> [snip]
>> diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment
>> new file mode 100644
>> index 0000000..5c0505e
>> --- /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
>
>  This is the same as board/freescale/imx6-sabresd/linux_qt5.fragment, perhaps
> that file could be used directly?

I thought the same, but since it's different board and made it local to board.

>
>> diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
>
> [snip]
>> 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 0000000..ac139a3
>> --- /dev/null
>> +++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
>> @@ -0,0 +1,11 @@
>> +{
>> +  "device": "/dev/dri/card1",
>
>  Fabio (in Cc) changed this to card0 with the bump to Linux 4.13.3. For the
> iCore this is not needed?
>
>> +  "hwcursor": false,
>> +  "pbuffers": true,
>> +  "outputs": [
>> +    {
>> +      "name": "LVDS-1",
>> +      "mode": "800x480"
>> +    }
>
>  Fabio explicitly turns off HDMI. Not needed?

HDMI not supporting this board yet.

>
>> +  ]
>> +}
>
> [snip]
>
>> +BR2_TARGET_UBOOT_CUSTOM_VERSION=y
>> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
>> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
>
>  Fabio converted the imx6-sabresd to SPL boot, so that the same defconfig can be
> used for different boards. Could the enigcam boards use the same defconfig?

No, it used different defconfig.

thanks!
-- 
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5
  2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
                   ` (6 preceding siblings ...)
  2017-09-21 12:35 ` [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
@ 2017-10-06 20:20 ` Arnout Vandecappelle
  7 siblings, 0 replies; 15+ messages in thread
From: Arnout Vandecappelle @ 2017-10-06 20:20 UTC (permalink / raw)
  To: buildroot



On 13-09-17 13:42, Jagan Teki wrote:
> From: Jagan Teki <jagan@amarulasolutions.com>
> 
> This series add new boards from Engicam with qt5 support for each.
> 
> Jagan Teki (6):
>   engicam: imx6qdl_icore: Bump to latest Linux and uboot releases
>   board: icorem6: Add Qt5 configs for 800x480 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 10.1 Kit
>   board: icorem6: Add Qt5 configs for 1280x800 LVDS display
>   engicam: icorem6: Add OF C.TOUCH 12 Kit
>   board: icorem6: Add Qt5 configs for 1280x480 LVDS display

 Series applied to master, with slight changes to readme.txt.

 I pushed an additional separate patch to readme.txt that makes an IMO nicer
distinction between the different boards - I found the list of DTB files a bit
confusing. Could you take a look at the result?

 It would have been nice to be able to merge more of this stuff with the sabre
configs, but as you mentioned they still have separate U-Boot configs so that
won't be possible, and the json files are also different. Pity.

 Regards,
 Arnout

> 
>  .gitlab-ci.yml                                     |  1 +
>  DEVELOPERS                                         |  1 +
>  board/engicam/icorem6/genimage.cfg                 |  4 +-
>  board/engicam/icorem6/linux_qt5.fragment           |  4 ++
>  board/engicam/icorem6/readme.txt                   | 24 +++++++
>  .../rootfs_overlay/root/imx6qdl-icore-ofcap10.json | 11 +++
>  .../rootfs_overlay/root/imx6qdl-icore-ofcap12.json | 11 +++
>  .../icorem6/rootfs_overlay/root/imx6qdl-icore.json | 11 +++
>  configs/engicam_imx6qdl_icore_defconfig            | 12 ++--
>  configs/engicam_imx6qdl_icore_qt5_defconfig        | 81 ++++++++++++++++++++++
>  10 files changed, 153 insertions(+), 7 deletions(-)
>  create mode 100644 board/engicam/icorem6/linux_qt5.fragment
>  create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json
>  create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json
>  create mode 100644 board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
>  create mode 100644 configs/engicam_imx6qdl_icore_qt5_defconfig
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-10-06 20:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-13 11:42 [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
2017-09-13 11:42 ` [Buildroot] [PATCH v3 1/6] engicam: imx6qdl_icore: Bump to latest Linux and uboot releases Jagan Teki
2017-09-27 21:47   ` Arnout Vandecappelle
2017-09-13 11:42 ` [Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display Jagan Teki
2017-09-27 22:03   ` Arnout Vandecappelle
2017-09-28  5:02     ` Jagan Teki
2017-09-13 11:42 ` [Buildroot] [PATCH v3 3/6] engicam: icorem6: Add OF C.TOUCH 10.1 Kit Jagan Teki
2017-09-13 11:42 ` [Buildroot] [PATCH v3 4/6] board: icorem6: Add Qt5 configs for 1280x800 LVDS display Jagan Teki
2017-09-13 11:42 ` [Buildroot] [PATCH v3 5/6] engicam: icorem6: Add OF C.TOUCH 12 Kit Jagan Teki
2017-09-13 11:42 ` [Buildroot] [PATCH v3 6/6] board: icorem6: Add Qt5 configs for 1280x480 LVDS display Jagan Teki
2017-09-21 12:35 ` [Buildroot] [PATCH v3 0/6] engicam: Add new boards and qt5 Jagan Teki
2017-09-27 17:57   ` Jagan Teki
2017-09-27 19:43     ` Arnout Vandecappelle
2017-09-27 20:00       ` Thomas Petazzoni
2017-10-06 20:20 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.