* [meta-fsl-arm][PATCH v3 1/8] linux-imx (3.0.35): Move defconfig to mx6 directory
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:13 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 2/8] linux-imx (3.0.35): Configure GPU module to be builtin Otavio Salvador
` (8 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
The defconfig is specific of mx6 SoCs thus needs to be moved to
reflect it.
Change-Id: I6a5651ef8e72109353399aeadb5acf2f92980d45
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
recipes-kernel/linux/linux-imx-3.0.35/{ => mx6}/defconfig | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename recipes-kernel/linux/linux-imx-3.0.35/{ => mx6}/defconfig (100%)
diff --git a/recipes-kernel/linux/linux-imx-3.0.35/defconfig b/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig
similarity index 100%
rename from recipes-kernel/linux/linux-imx-3.0.35/defconfig
rename to recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig
--
1.7.10.4
^ permalink raw reply [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 2/8] linux-imx (3.0.35): Configure GPU module to be builtin
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 1/8] linux-imx (3.0.35): Move defconfig to mx6 directory Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:08 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 3/8] gpu-viv-bin-mx6q: Add Vivant GPU libraries Otavio Salvador
` (7 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale
From: Daiane Angolini <daiane.angolini@freescale.com>
Change defconfig for mx6 family.
This module was configured to be built as module, but
for X11 environment it would be better to have it always
included in kernel.
Change-Id: I3fc48192a1f366671f1f5fea904379bdee6eb69c
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig | 2 +-
recipes-kernel/linux/linux-imx_3.0.35.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig b/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig
index b5e457e..a8bc503 100644
--- a/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig
+++ b/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig
@@ -250,7 +250,7 @@ CONFIG_MXC_IPU=y
# CONFIG_MXC_HWEVENT is not set
CONFIG_MXC_ASRC=y
CONFIG_MXC_MLB150=m
-CONFIG_MXC_GPU_VIV=m
+CONFIG_MXC_GPU_VIV=y
CONFIG_MXC_MIPI_CSI2=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
diff --git a/recipes-kernel/linux/linux-imx_3.0.35.bb b/recipes-kernel/linux/linux-imx_3.0.35.bb
index 37f38ac..60ec3b0 100644
--- a/recipes-kernel/linux/linux-imx_3.0.35.bb
+++ b/recipes-kernel/linux/linux-imx_3.0.35.bb
@@ -3,7 +3,7 @@
include linux-imx.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 3/8] gpu-viv-bin-mx6q: Add Vivant GPU libraries
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 1/8] linux-imx (3.0.35): Move defconfig to mx6 directory Otavio Salvador
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 2/8] linux-imx (3.0.35): Configure GPU module to be builtin Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:09 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 4/8] xf86-dri-vivante: Add Vivant DRI driver for Xorg Otavio Salvador
` (6 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
This recipe provides the binary libraries for use with iMX6 CPUs.
Change-Id: If21cf21535fc8ec4a0a1117974a8cb1f43499f66
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 144 ++++++++++++++++++++
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb | 9 ++
2 files changed, 153 insertions(+)
create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
new file mode 100644
index 0000000..83ab75a
--- /dev/null
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -0,0 +1,144 @@
+# Copyright (C) 2012 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "GPU driver and apps for imx6"
+SECTION = "libs"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=092bc28e13d678ceaebe1a40559275fb"
+PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6"
+
+INC_PR = "r0"
+
+inherit fsl-eula-unpack
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
+ libegl-fb-mx6 libegl-fb-mx6-dev libegl-fb-mx6-dbg \
+ libegl-x11-mx6 libegl-x11-mx6-dev libegl-x11-mx6-dbg \
+ libegl-common-mx6 libegl-common-mx6-dev libegl-common-mx6-dbg \
+ libgal-fb-mx6 libgal-fb-mx6-dev libgal-fb-mx6-dbg \
+ libgal-x11-mx6 libgal-x11-mx6-dev libgal-x11-mx6-dbg \
+ libgal-common-mx6 libgal-common-mx6-dev libgal-common-mx6-dbg \
+ libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \
+ libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \
+ libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \
+ libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \
+ libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \
+ libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \
+ libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \
+ libvivante-x11-mx6 libvivante-x11-mx6-dev libvivante-x11-mx6-dbg \
+ libvivante-fb-mx6 libvivante-fb-mx6-dev libvivante-fb-mx6-dbg \
+ libvivante-dri-mx6 libvivante-dri-mx6-dev libvivante-dri-mx6-dbg \
+ libvivante-common-mx6 libvivante-common-mx6-dev libvivante-common-mx6-dbg \
+ "
+
+# FIXME: The provided binary doesn't provide soname. If in future BSP
+# release the libraries are fixed, we can drop this hack.
+SOLIBS = "${SOLIBSDEV}"
+
+# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
+# the source we cannot fix it. Disable the insane check for now.
+python __anonymous() {
+ packages = d.getVar('PACKAGES', True).split()
+ for p in packages:
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+}
+
+do_install () {
+ install -d ${D}${libdir}/dri
+ install -d ${D}${includedir}
+
+ cp ${S}/usr/lib/*.so ${D}${libdir}
+ cp -axr ${S}/usr/include/* ${D}${includedir}
+
+ cp -axr ${S}/opt ${D}
+
+ # Move DRI library to proper path
+ mv ${D}${libdir}/vivante_dri.so ${D}${libdir}/dri
+
+ find ${D}${libdir} -type f -exec chmod 644 {} \;
+ find ${D}${includedir} -type f -exec chmod 644 {} \;
+}
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+FILES_${PN} += "/opt"
+FILES_${PN}-dev = "${includedir}"
+FILES_${PN}-dbg = "${libdir}/.debug ${libdir}/dri/.debug \
+ /opt/viv_samples/*/*/.debug"
+
+FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}"
+FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
+FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}"
+
+FILES_libegl-common-mx6 = "${libdir}/libEGL${SOLIBS}"
+FILES_libegl-common-mx6-dev = "${includedir}/EGL ${libdir}/libEGL${SOLIBSDEV}"
+FILES_libegl-common-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
+
+FILES_libegl-fb-mx6 = "${libdir}/libEGL-fb${SOLIBS}"
+FILES_libegl-fb-mx6-dev = "${libdir}/libEGL-fb${SOLIBSDEV}"
+FILES_libegl-fb-mx6-dbg = "${libdir}/.debug/libEGL-fb${SOLIBS}"
+
+FILES_libegl-x11-mx6 = "${libdir}/libEGL-x11${SOLIBS}"
+FILES_libegl-x11-mx6-dev = "${libdir}/libEGL-x11${SOLIBSDEV}"
+FILES_libegl-x11-mx6-dbg = "${libdir}/.debug/libEGL-x11${SOLIBS}"
+
+FILES_libgal-common-mx6 = "${libdir}/libGAL${SOLIBS}"
+FILES_libgal-common-mx6-dev = "${includedir}/HAL ${libdir}/libGAL${SOLIBSDEV}"
+FILES_libgal-common-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
+
+FILES_libgal-fb-mx6 = "${libdir}/libGAL-fb${SOLIBS}"
+FILES_libgal-fb-mx6-dev = "${libdir}/libGAL-fb${SOLIBSDEV}"
+FILES_libgal-fb-mx6-dbg = "${libdir}/.debug/libGAL-fb${SOLIBS}"
+
+FILES_libgal-x11-mx6 = "${libdir}/libGAL-x11${SOLIBS}"
+FILES_libgal-x11-mx6-dev = "${libdir}/libGAL-x11${SOLIBSDEV}"
+FILES_libgal-x11-mx6-dbg = "${libdir}/.debug/libGAL-x11${SOLIBS}"
+
+FILES_libgles-mx6 = "${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBS}"
+FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV}"
+FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/libGLES_*${SOLIBS}"
+
+FILES_libgles2-mx6 = "${libdir}/libGLESv2${SOLIBS}"
+FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}"
+FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}"
+
+FILES_libgl-mx6 = "${libdir}/libGL${SOLIBS}"
+FILES_libgl-mx6-dev = "${includedir}/GL ${libdir}/libGL${SOLIBSDEV}"
+FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL${SOLIBS}"
+
+FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}"
+FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}"
+FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}"
+
+FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS}"
+FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}"
+FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}"
+
+FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}"
+FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV}"
+FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}"
+
+FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}"
+FILES_libvdk-mx6-dev = "${includedir}/*vdk.h ${libdir}/libVDK${SOLIBSDEV}"
+FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}"
+
+FILES_libvivante-common-mx6 = "${libdir}/libVIVANTE${SOLIBS}"
+FILES_libvivante-common-mx6-dev = "${includedir}/HAL ${libdir}/libVIVANTE${SOLIBSDEV}"
+FILES_libvivante-common-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}"
+
+FILES_libvivante-fb-mx6 = "${libdir}/libVIVANTE-fb${SOLIBS}"
+FILES_libvivante-fb-mx6-dev = "${libdir}/libVIVANTE-fb${SOLIBSDEV}"
+FILES_libvivante-fb-mx6-dbg = "${libdir}/.debug/libVIVANTE-fb${SOLIBS}"
+
+FILES_libvivante-x11-mx6 = "${libdir}/libVIVANTE-x11${SOLIBS}"
+FILES_libvivante-x11-mx6-dev = "${libdir}/libVIVANTE-x11${SOLIBSDEV}"
+FILES_libvivante-x11-mx6-dbg = "${libdir}/.debug/libVIVANTE-x11${SOLIBS}"
+
+FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri${SOLIBS}"
+FILES_libvivante-dri-mx6-dev = ""
+FILES_libvivante-dri-mx6-dbg = "${libdir}/dri/.debug/vivante_dri${SOLIBS}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb
new file mode 100644
index 0000000..c54ad19
--- /dev/null
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb
@@ -0,0 +1,9 @@
+# Copyright (C) 2012 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+PR = "${INC_PR}.0"
+
+include gpu-viv-bin-mx6q.inc
+
+SRC_URI[md5sum] = "9f2c43b6eae468df6cc6fd75efd00bc5"
+SRC_URI[sha256sum] = "2cec10c1d69bce75a7c2a4482eb3ed29b171578c3b01c5b4ef2cc868ca327330"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 4/8] xf86-dri-vivante: Add Vivant DRI driver for Xorg
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (2 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 3/8] gpu-viv-bin-mx6q: Add Vivant GPU libraries Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:10 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 5/8] xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs Otavio Salvador
` (5 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale
From: Adrian Alonso <aalonso00@gmail.com>
Change-Id: I07eeb3ce0960021a12c04a38447c379318821f75
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
.../xorg-driver/xf86-dri-vivante_12.09.01.bb | 31 ++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb
new file mode 100644
index 0000000..3bf133b
--- /dev/null
+++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2012 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+LICENSE = "MIT"
+SECTION = "x11/base"
+DEPENDS = "virtual/libx11 util-macros xf86-video-vivante"
+LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=1d0d59e1dc96f5197ea3a8b101bf1fcc"
+
+SRC_URI = "${FSL_MIRROR}/dri-xorg-graphic-imx-viv-${PV}.tar.gz"
+SRC_URI[md5sum] = "6a3d8130945a24294d34b61cd59e5d59"
+SRC_URI[sha256sum] = "437187360fe76fbee5ad70b1a661d3196568cc8c28a457170494effef859d054"
+
+S = "${WORKDIR}/dri-xorg-graphic-imx-viv-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF_armv7a = " --enable-neon "
+CFLAGS += " -I${STAGING_INCDIR}/xorg"
+
+do_install_append () {
+# Install header files
+ install -d ${D}${includedir}/xorg
+ cp -axr ${S}/src/*.h ${D}${includedir}/xorg
+ find ${D}${includedir} -type f -exec chmod 660 {} \;
+# don't install libtool (*.la) archive not usefull, fix Makefile.am
+ find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
+}
+
+FILES_${PN}-dev += "${includedir}/xorg/*.h"
+FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so"
+FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 5/8] xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (3 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 4/8] xf86-dri-vivante: Add Vivant DRI driver for Xorg Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:15 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 6/8] mesa-dri: Change provided set of libraries when building for iMX6 Otavio Salvador
` (4 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
From: Adrian Alonso <aalonso00@gmail.com>
Change-Id: I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../Makefile.am-remove-prefixed-include-path.patch | 29 ++++++++++++++++++++
.../xf86-video-imxfb-vivante_12.09.01.bb | 27 ++++++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch
create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch
new file mode 100644
index 0000000..4354ae4
--- /dev/null
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch
@@ -0,0 +1,29 @@
+From 230acf40ab9ed8ab5f291ff6644160b3f3859d69 Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <aalonso00@gmail.com>
+Date: Fri, 15 Jun 2012 00:46:28 -0500
+Subject: [PATCH] Makefile.am remove prefixed include path
+
+* Remove prefixed include path, use ${STAGING_INCDIR}
+ to locate drm headers.
+
+Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
+---
+ src/Makefile.am | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 820278b..4acdf6a 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -50,7 +50,7 @@ VIVSRC_CFLAGS = \
+ -I./vivante_util \
+ -I./vivante_exa
+
+-AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) -I/usr/include/drm
++AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) ${CFLAGS}
+ vivante_drv_la_LTLIBRARIES = vivante_drv.la
+ vivante_drv_la_LDFLAGS = -module -avoid-version
+ vivante_drv_ladir = @moduledir@/drivers
+--
+1.7.7.6
+
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
new file mode 100644
index 0000000..34e68a4
--- /dev/null
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
@@ -0,0 +1,27 @@
+# Copyright (C) 2012 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-graphics/xorg-driver/xorg-driver-video.inc
+
+DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q"
+
+LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a"
+
+SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \
+ file://Makefile.am-remove-prefixed-include-path.patch"
+SRC_URI[md5sum] = "1948119717aa01bed1f630be9ee7a708"
+SRC_URI[sha256sum] = "5b3be4b426d2d2803554df9e4d8919d1f9d17659c3153c71c6529f43c37e6ed1"
+
+EXTRA_OECONF_armv7a = " --enable-neon --disable-static"
+CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm"
+LDFLAGS += "-lm -ldl -lGAL-x11"
+
+S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}"
+
+do_install_append () {
+ install -d ${D}${includedir}
+ cp -axr ${S}/src/vivante_gal/vivante_priv.h ${D}${includedir}
+ find ${D}${includedir} -type f -exec chmod 660 {} \;
+}
+
+RDEPENDS_${PN} += "xserver-xorg-module-exa"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 6/8] mesa-dri: Change provided set of libraries when building for iMX6
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (4 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 5/8] xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:16 ` Daiane Angolini
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 7/8] xserver-xf86-config: Use Vivant accelerated driver " Otavio Salvador
` (3 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
This overrides the 8.0.4 and git versions of mesa-dri recipe.
Change-Id: Ica3e05ade74ccc8c8c2090cac2c2f9e72fb0f66d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 4 +++-
recipes-graphics/mesa/mesa-dri_git.bbappend | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
index 1dff9fe..8b5cfe6 100644
--- a/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
+++ b/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend
@@ -1,5 +1,7 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
PROVIDES_mx5 = "virtual/libgl"
+PROVIDES_mx6 = "virtual/libgl"
PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
diff --git a/recipes-graphics/mesa/mesa-dri_git.bbappend b/recipes-graphics/mesa/mesa-dri_git.bbappend
index 1dff9fe..8b5cfe6 100644
--- a/recipes-graphics/mesa/mesa-dri_git.bbappend
+++ b/recipes-graphics/mesa/mesa-dri_git.bbappend
@@ -1,5 +1,7 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
PROVIDES_mx5 = "virtual/libgl"
+PROVIDES_mx6 = "virtual/libgl"
PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 7/8] xserver-xf86-config: Use Vivant accelerated driver for iMX6
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (5 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 6/8] mesa-dri: Change provided set of libraries when building for iMX6 Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-22 18:54 ` Fabio Estevam
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 8/8] imx-base: Use xf86-video-imxfb-vivant for iMX6 targets Otavio Salvador
` (2 subsequent siblings)
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
Change-Id: Ief51e752d58efbdf5412c93a786c442e3531a961
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../xorg-xserver/xserver-xf86-config/mx6/xorg.conf | 8 +++++---
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf
index 79b6c0f..b89bed6 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf
@@ -1,7 +1,9 @@
Section "Device"
- Identifier "Kernel Framebuffer Device"
- Driver "fbdev"
- Option "fbdev" "/dev/fb0"
+ Identifier "i.MX Accelerated Framebuffer Device"
+ Driver "vivante"
+ Option "fbdev" "/dev/fb0"
+ Option "vivante_fbdev" "/dev/fb0"
+ Option "HWcursor" "false"
EndSection
Section "ServerFlags"
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index f9ea3a4..8337e55 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -1,4 +1,4 @@
# Append path for freescale layer to include bsp xorg.conf
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-PRINC := "${@int(PRINC) + 7}"
+PRINC := "${@int(PRINC) + 8}"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* [meta-fsl-arm][PATCH v3 8/8] imx-base: Use xf86-video-imxfb-vivant for iMX6 targets
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (6 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 7/8] xserver-xf86-config: Use Vivant accelerated driver " Otavio Salvador
@ 2012-11-22 18:49 ` Otavio Salvador
2012-11-23 11:16 ` Daiane Angolini
2012-11-23 11:18 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Daiane Angolini
2012-11-26 16:23 ` Thomas Senyk
9 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-22 18:49 UTC (permalink / raw)
To: meta-freescale; +Cc: Otavio Salvador
Change-Id: I9fb4fa04aef988fb8fd3105ab9444276ea0cbc29
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
conf/machine/include/imx-base.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 0c2f10d..a920a4b 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -24,6 +24,7 @@ UBOOT_LOADADDRESS_mx6 = "0x10800000"
XSERVER_DRIVER = "xf86-video-fbdev"
XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
+XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
XSERVER = "xserver-xorg \
xf86-input-evdev \
${XSERVER_DRIVER}"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (7 preceding siblings ...)
2012-11-22 18:49 ` [meta-fsl-arm][PATCH v3 8/8] imx-base: Use xf86-video-imxfb-vivant for iMX6 targets Otavio Salvador
@ 2012-11-23 11:18 ` Daiane Angolini
2012-11-23 11:35 ` Otavio Salvador
2012-11-26 16:23 ` Thomas Senyk
9 siblings, 1 reply; 51+ messages in thread
From: Daiane Angolini @ 2012-11-23 11:18 UTC (permalink / raw)
Cc: meta-freescale@yoctoproject.org
Overall GPU support is up and running (with and without X11)
Please, make sure commit log and subject was fixed, and
COMPATIBLE_MACHINE is set for any needed package.
Daiane
^ permalink raw reply [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-23 11:18 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Daiane Angolini
@ 2012-11-23 11:35 ` Otavio Salvador
2012-11-27 17:24 ` Otavio Salvador
0 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-23 11:35 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org
On Fri, Nov 23, 2012 at 9:18 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
> Overall GPU support is up and running (with and without X11)
>
> Please, make sure commit log and subject was fixed, and
> COMPATIBLE_MACHINE is set for any needed package.
I did it; this patchset is now merged! Yey!
:-D
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-23 11:35 ` Otavio Salvador
@ 2012-11-27 17:24 ` Otavio Salvador
0 siblings, 0 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-27 17:24 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org
On Fri, Nov 23, 2012 at 9:35 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Fri, Nov 23, 2012 at 9:18 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> Overall GPU support is up and running (with and without X11)
>>
>> Please, make sure commit log and subject was fixed, and
>> COMPATIBLE_MACHINE is set for any needed package.
>
> I did it; this patchset is now merged! Yey!
I just merged the VPU patches as well :-)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-22 18:49 [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Otavio Salvador
` (8 preceding siblings ...)
2012-11-23 11:18 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Daiane Angolini
@ 2012-11-26 16:23 ` Thomas Senyk
2012-11-26 16:45 ` Otavio Salvador
9 siblings, 1 reply; 51+ messages in thread
From: Thomas Senyk @ 2012-11-26 16:23 UTC (permalink / raw)
To: meta-freescale
I've just tested a 'bitbake core-image-x11' and it builds without any problem.
I got a couple of warnings such as:
WARNING: File '/opt/viv_samples/vdk/tutorial2' from gpu-viv-bin-mx6q was
already stripped, this will prevent future debugging!
... I don't mind them, but "silencing" them would be helpful/good enough
(no clue if this is possible/feasible)
I would like to tell you that I've also tested this on the hardware, but it my
imx6 got "stolen" by colleagues ;)
Two additional questions:
- Has anyone tested "egl on fb" (without x11) with this new drivers?
(so far I've only tested it with 12.04.01)
- How is the gstreamer work progressing?
On Thu, November 22, 2012 16:49:33 Otavio Salvador wrote:
> Hello,
>
> This is the third version of the patchset. The segfault seems fixed
> and I'd like to ask you to test and comment on them.
>
> If we don't find new problems from this I'd like to merge this
> patchset soon so we reduce the amount of not-merged patches being
> handled. This is also going to offer a good base for work in next
> integration steps as for example Qt support.
>
> The the GStreamer codec support is being finished and we'll send it as
> another patchset soon.
>
> Changes for v3:
>
> * Drop merged patches (firmware-imx, imx-lib, imx-test);
> * Rework GPU packaging to include test applications;
> * Fix Linux kernel configuration to have GPU module built-in;
>
> Changes for v2:
>
> * Fix Vivant Xorg driver to rdepends on Xorg EXA module;
> * Minor cleanup in Xorg driver packaging;
>
> Adrian Alonso (2):
> xf86-dri-vivante: Add Vivant DRI driver for Xorg
> xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs
>
> Daiane Angolini (1):
> linux-imx (3.0.35): Configure GPU module to be builtin
>
> Otavio Salvador (5):
> linux-imx (3.0.35): Move defconfig to mx6 directory
> gpu-viv-bin-mx6q: Add Vivant GPU libraries
> mesa-dri: Change provided set of libraries when building for iMX6
> xserver-xf86-config: Use Vivant accelerated driver for iMX6
> imx-base: Use xf86-video-imxfb-vivant for iMX6 targets
>
> conf/machine/include/imx-base.inc | 1 +
> .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 144
> ++++++++++++++++++++ .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb |
> 9 ++
> recipes-graphics/mesa/mesa-dri_8.0.4.bbappend | 4 +-
> recipes-graphics/mesa/mesa-dri_git.bbappend | 4 +-
> .../xorg-driver/xf86-dri-vivante_12.09.01.bb | 31 +++++
> .../Makefile.am-remove-prefixed-include-path.patch | 29 ++++
> .../xf86-video-imxfb-vivante_12.09.01.bb | 27 ++++
> .../xorg-xserver/xserver-xf86-config/mx6/xorg.conf | 8 +-
> .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 +-
> .../linux/linux-imx-3.0.35/{ => mx6}/defconfig | 2 +-
> recipes-kernel/linux/linux-imx_3.0.35.bb | 2 +-
> 12 files changed, 255 insertions(+), 8 deletions(-)
> create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> create mode 100644
> recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb create mode
> 100644 recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb create
> mode 100644
> recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-pr
> efixed-include-path.patch create mode 100644
> recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb rename
> recipes-kernel/linux/linux-imx-3.0.35/{ => mx6}/defconfig (99%)
^ permalink raw reply [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 16:23 ` Thomas Senyk
@ 2012-11-26 16:45 ` Otavio Salvador
2012-11-26 17:00 ` Daiane Angolini
` (2 more replies)
0 siblings, 3 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 16:45 UTC (permalink / raw)
To: Thomas Senyk; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 2:23 PM, Thomas Senyk
<thomas.senyk@pelagicore.com> wrote:
> I've just tested a 'bitbake core-image-x11' and it builds without any problem.
>
> I got a couple of warnings such as:
> WARNING: File '/opt/viv_samples/vdk/tutorial2' from gpu-viv-bin-mx6q was
> already stripped, this will prevent future debugging!
>
> ... I don't mind them, but "silencing" them would be helpful/good enough
> (no clue if this is possible/feasible)
I did a brief check how to quiet them but didn't find a way so I let
them on for now.
> I would like to tell you that I've also tested this on the hardware, but it my
> imx6 got "stolen" by colleagues ;)
Please do! :)
> Two additional questions:
> - Has anyone tested "egl on fb" (without x11) with this new drivers?
> (so far I've only tested it with 12.04.01)
Daiane has tested it I think. Daiane?
> - How is the gstreamer work progressing?
We expect to have it done soon...
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 16:45 ` Otavio Salvador
@ 2012-11-26 17:00 ` Daiane Angolini
2012-11-26 16:53 ` Thomas Senyk
2012-11-26 17:08 ` Otavio Salvador
2012-11-26 17:56 ` [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped Alexandre Belloni
2012-11-26 17:59 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Gary Thomas
2 siblings, 2 replies; 51+ messages in thread
From: Daiane Angolini @ 2012-11-26 17:00 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
>> Two additional questions:
>> - Has anyone tested "egl on fb" (without x11) with this new drivers?
>> (so far I've only tested it with 12.04.01)
>
> Daiane has tested it I think. Daiane?
I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
very fine. I tested it on X11 image and with fb image.
Do you think this test is enough? What would be other good tests?
Daiane
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 17:00 ` Daiane Angolini
@ 2012-11-26 16:53 ` Thomas Senyk
2012-11-26 17:12 ` Otavio Salvador
2012-11-26 17:08 ` Otavio Salvador
1 sibling, 1 reply; 51+ messages in thread
From: Thomas Senyk @ 2012-11-26 16:53 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador
On Mon, November 26, 2012 14:00:42 Daiane Angolini wrote:
> On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
>
> <otavio@ossystems.com.br> wrote:
> >> Two additional questions:
> >> - Has anyone tested "egl on fb" (without x11) with this new drivers?
> >>
> >> (so far I've only tested it with 12.04.01)
> >
> > Daiane has tested it I think. Daiane?
>
> I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
> very fine. I tested it on X11 image and with fb image.
>
> Do you think this test is enough? What would be other good tests?
Yes @ "enough" .. at least for me to do the next bigger test: Qt5 and eglfs
plugin.
I'll do this test as soon as I get my board back! :)
>
> Daiane
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 16:53 ` Thomas Senyk
@ 2012-11-26 17:12 ` Otavio Salvador
2012-11-26 17:48 ` Thomas Senyk
0 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 17:12 UTC (permalink / raw)
To: Thomas Senyk; +Cc: meta-freescale@yoctoproject.org
On Mon, Nov 26, 2012 at 2:53 PM, Thomas Senyk
<thomas.senyk@pelagicore.com> wrote:
> On Mon, November 26, 2012 14:00:42 Daiane Angolini wrote:
>> On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
>>
>> <otavio@ossystems.com.br> wrote:
>> >> Two additional questions:
>> >> - Has anyone tested "egl on fb" (without x11) with this new drivers?
>> >>
>> >> (so far I've only tested it with 12.04.01)
>> >
>> > Daiane has tested it I think. Daiane?
>>
>> I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
>> very fine. I tested it on X11 image and with fb image.
>>
>> Do you think this test is enough? What would be other good tests?
>
> Yes @ "enough" .. at least for me to do the next bigger test: Qt5 and eglfs
> plugin.
> I'll do this test as soon as I get my board back! :)
By the way, HP people, Martin and I are working in Qt5 packaging for
OE. We're doing our work at https://github.com/meta-qt5/meta-qt5
It is not yet working but you might want to help ;-)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 17:12 ` Otavio Salvador
@ 2012-11-26 17:48 ` Thomas Senyk
2012-11-26 18:16 ` Otavio Salvador
0 siblings, 1 reply; 51+ messages in thread
From: Thomas Senyk @ 2012-11-26 17:48 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
On Mon, November 26, 2012 15:12:08 Otavio Salvador wrote:
> On Mon, Nov 26, 2012 at 2:53 PM, Thomas Senyk
>
> <thomas.senyk@pelagicore.com> wrote:
> > On Mon, November 26, 2012 14:00:42 Daiane Angolini wrote:
> >> On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
> >>
> >> <otavio@ossystems.com.br> wrote:
> >> >> Two additional questions:
> >> >> - Has anyone tested "egl on fb" (without x11) with this new drivers?
> >> >>
> >> >> (so far I've only tested it with 12.04.01)
> >> >
> >> > Daiane has tested it I think. Daiane?
> >>
> >> I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
> >> very fine. I tested it on X11 image and with fb image.
> >>
> >> Do you think this test is enough? What would be other good tests?
> >
> > Yes @ "enough" .. at least for me to do the next bigger test: Qt5 and
> > eglfs
> > plugin.
> > I'll do this test as soon as I get my board back! :)
>
> By the way, HP people, Martin and I are working in Qt5 packaging for
> OE. We're doing our work at https://github.com/meta-qt5/meta-qt5
Nice!! I took a quick look at the files ...and as with the qt4 recipes, it's
... interesting ... how complex things can get when writing a recipe ;)
I'll test it tomorrow ... I guess the proper channel to talk about this is
openembedded-devel@lists.openembedded.org ?
Greets
Thomas
>
> It is not yet working but you might want to help ;-)
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 17:48 ` Thomas Senyk
@ 2012-11-26 18:16 ` Otavio Salvador
0 siblings, 0 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:16 UTC (permalink / raw)
To: Thomas Senyk; +Cc: meta-freescale@yoctoproject.org
On Mon, Nov 26, 2012 at 3:48 PM, Thomas Senyk
<thomas.senyk@pelagicore.com> wrote:
> On Mon, November 26, 2012 15:12:08 Otavio Salvador wrote:
>> On Mon, Nov 26, 2012 at 2:53 PM, Thomas Senyk
>>
>> <thomas.senyk@pelagicore.com> wrote:
>> > On Mon, November 26, 2012 14:00:42 Daiane Angolini wrote:
>> >> On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
>> >>
>> >> <otavio@ossystems.com.br> wrote:
>> >> >> Two additional questions:
>> >> >> - Has anyone tested "egl on fb" (without x11) with this new drivers?
>> >> >>
>> >> >> (so far I've only tested it with 12.04.01)
>> >> >
>> >> > Daiane has tested it I think. Daiane?
>> >>
>> >> I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
>> >> very fine. I tested it on X11 image and with fb image.
>> >>
>> >> Do you think this test is enough? What would be other good tests?
>> >
>> > Yes @ "enough" .. at least for me to do the next bigger test: Qt5 and
>> > eglfs
>> > plugin.
>> > I'll do this test as soon as I get my board back! :)
>>
>> By the way, HP people, Martin and I are working in Qt5 packaging for
>> OE. We're doing our work at https://github.com/meta-qt5/meta-qt5
>
> Nice!! I took a quick look at the files ...and as with the qt4 recipes, it's
> ... interesting ... how complex things can get when writing a recipe ;)
>
> I'll test it tomorrow ... I guess the proper channel to talk about this is
> openembedded-devel@lists.openembedded.org ?
In fact we've been discussing it at oe@irc.freenode.net
The recipes are not working for non x86 targets as it is still trying
to run native tools during target builds. It is still work in progress
but any help is good.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 17:00 ` Daiane Angolini
2012-11-26 16:53 ` Thomas Senyk
@ 2012-11-26 17:08 ` Otavio Salvador
1 sibling, 0 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 17:08 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org
On Mon, Nov 26, 2012 at 3:00 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Mon, Nov 26, 2012 at 2:45 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>>> Two additional questions:
>>> - Has anyone tested "egl on fb" (without x11) with this new drivers?
>>> (so far I've only tested it with 12.04.01)
>>
>> Daiane has tested it I think. Daiane?
> I tested tiger (under /opt/viv_samples) (and cover flow) and it worked
> very fine. I tested it on X11 image and with fb image.
>
> Do you think this test is enough? What would be other good tests?
Later Qt will prove if it works or not ;-)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 16:45 ` Otavio Salvador
2012-11-26 17:00 ` Daiane Angolini
@ 2012-11-26 17:56 ` Alexandre Belloni
2012-11-26 18:21 ` Otavio Salvador
2012-11-26 17:59 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Gary Thomas
2 siblings, 1 reply; 51+ messages in thread
From: Alexandre Belloni @ 2012-11-26 17:56 UTC (permalink / raw)
To: meta-freescale
Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 83ab75a..4baf608 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -33,6 +33,9 @@ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
libvivante-common-mx6 libvivante-common-mx6-dev libvivante-common-mx6-dbg \
"
+# Inhibit warnings about files being stripped.
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
# FIXME: The provided binary doesn't provide soname. If in future BSP
# release the libraries are fixed, we can drop this hack.
SOLIBS = "${SOLIBSDEV}"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 17:56 ` [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped Alexandre Belloni
@ 2012-11-26 18:21 ` Otavio Salvador
2012-11-26 18:33 ` Alexandre Belloni
2012-11-26 18:34 ` Otavio Salvador
0 siblings, 2 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:21 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 3:56 PM, Alexandre Belloni
<alexandre.belloni@piout.net> wrote:
> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
Good catch! Did you check the code if it will warn if it has debug
symbols in the package? My concern here is if examples or other apps
has symbols if it is going to warn so we can fix it.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 18:21 ` Otavio Salvador
@ 2012-11-26 18:33 ` Alexandre Belloni
2012-11-26 18:35 ` Otavio Salvador
2012-11-26 18:34 ` Otavio Salvador
1 sibling, 1 reply; 51+ messages in thread
From: Alexandre Belloni @ 2012-11-26 18:33 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 04:21:24PM -0200, Otavio Salvador wrote :
> Good catch! Did you check the code if it will warn if it has debug
> symbols in the package? My concern here is if examples or other apps
> has symbols if it is going to warn so we can fix it.
>
I don't think so but I haven't checked. I'm wondering if we shouldn't
separate the driver itself from the example applications that are in
/opt. I don't think you would want those on your final production
releases...
--
Alexandre Belloni
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 18:33 ` Alexandre Belloni
@ 2012-11-26 18:35 ` Otavio Salvador
2012-11-26 20:02 ` Alexandre Belloni
0 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:35 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 4:33 PM, Alexandre Belloni
<alexandre.belloni@piout.net> wrote:
> On Mon, Nov 26, 2012 at 04:21:24PM -0200, Otavio Salvador wrote :
>> Good catch! Did you check the code if it will warn if it has debug
>> symbols in the package? My concern here is if examples or other apps
>> has symbols if it is going to warn so we can fix it.
>>
>
> I don't think so but I haven't checked. I'm wondering if we shouldn't
> separate the driver itself from the example applications that are in
> /opt. I don't think you would want those on your final production
> releases...
It has been done that way; the driver files are split among many
lib<something> files and the example code in ${PN}. So it should be
fine.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 18:35 ` Otavio Salvador
@ 2012-11-26 20:02 ` Alexandre Belloni
0 siblings, 0 replies; 51+ messages in thread
From: Alexandre Belloni @ 2012-11-26 20:02 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 04:35:24PM -0200, Otavio Salvador wrote :
> It has been done that way; the driver files are split among many
> lib<something> files and the example code in ${PN}. So it should be
> fine.
>
Yeah right, I didn't read the inc file to the end...
--
Alexandre Belloni
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 18:21 ` Otavio Salvador
2012-11-26 18:33 ` Alexandre Belloni
@ 2012-11-26 18:34 ` Otavio Salvador
2012-11-26 21:33 ` Alexandre Belloni
1 sibling, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:34 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 4:21 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Nov 26, 2012 at 3:56 PM, Alexandre Belloni
> <alexandre.belloni@piout.net> wrote:
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
>
> Good catch! Did you check the code if it will warn if it has debug
> symbols in the package? My concern here is if examples or other apps
> has symbols if it is going to warn so we can fix it.
Looking at the python code it seems we ought to use:
INHIBIT_PACKAGE_STRIP = "1"
Regarding your patch, please:
* bump INC_PR;
* prefix short commit description with the recipe name you are changing;
Thanks by looking at it.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 18:34 ` Otavio Salvador
@ 2012-11-26 21:33 ` Alexandre Belloni
2012-11-27 10:31 ` Otavio Salvador
0 siblings, 1 reply; 51+ messages in thread
From: Alexandre Belloni @ 2012-11-26 21:33 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 04:34:24PM -0200, Otavio Salvador wrote :
> On Mon, Nov 26, 2012 at 4:21 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
> > On Mon, Nov 26, 2012 at 3:56 PM, Alexandre Belloni
> > <alexandre.belloni@piout.net> wrote:
> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
> >
> > Good catch! Did you check the code if it will warn if it has debug
> > symbols in the package? My concern here is if examples or other apps
> > has symbols if it is going to warn so we can fix it.
>
> Looking at the python code it seems we ought to use:
>
> INHIBIT_PACKAGE_STRIP = "1"
>
Just to be clear, you mean you want to use both
INHIBIT_PACKAGE_DEBUG_SPLIT = 1, to solve the warning issue and
INHIBIT_PACKAGE_STRIP = 1 ?
If I'm not mistaken, this will mean that unstripped binaries won't get
stripped. Is that what you want ?
> Regarding your patch, please:
>
> * bump INC_PR;
> * prefix short commit description with the recipe name you are changing;
>
Will do.
Regards,
--
Alexandre Belloni
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped
2012-11-26 21:33 ` Alexandre Belloni
@ 2012-11-27 10:31 ` Otavio Salvador
0 siblings, 0 replies; 51+ messages in thread
From: Otavio Salvador @ 2012-11-27 10:31 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 7:33 PM, Alexandre Belloni
<alexandre.belloni@piout.net> wrote:
> On Mon, Nov 26, 2012 at 04:34:24PM -0200, Otavio Salvador wrote :
>> On Mon, Nov 26, 2012 at 4:21 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>> > On Mon, Nov 26, 2012 at 3:56 PM, Alexandre Belloni
>> > <alexandre.belloni@piout.net> wrote:
>> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
>> >
>> > Good catch! Did you check the code if it will warn if it has debug
>> > symbols in the package? My concern here is if examples or other apps
>> > has symbols if it is going to warn so we can fix it.
>>
>> Looking at the python code it seems we ought to use:
>>
>> INHIBIT_PACKAGE_STRIP = "1"
>>
>
> Just to be clear, you mean you want to use both
> INHIBIT_PACKAGE_DEBUG_SPLIT = 1, to solve the warning issue and
> INHIBIT_PACKAGE_STRIP = 1 ?
>
> If I'm not mistaken, this will mean that unstripped binaries won't get
> stripped. Is that what you want ?
Just INHIBIT_PACKAGE_DEBUG_SPLIT = 1, sorry if I confused you.
>> Regarding your patch, please:
>>
>> * bump INC_PR;
>> * prefix short commit description with the recipe name you are changing;
>>
>
> Will do.
Good, thanks.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 16:45 ` Otavio Salvador
2012-11-26 17:00 ` Daiane Angolini
2012-11-26 17:56 ` [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped Alexandre Belloni
@ 2012-11-26 17:59 ` Gary Thomas
2012-11-26 18:04 ` Daiane Angolini
2 siblings, 1 reply; 51+ messages in thread
From: Gary Thomas @ 2012-11-26 17:59 UTC (permalink / raw)
To: meta-freescale
On 2012-11-26 09:45, Otavio Salvador wrote:
> On Mon, Nov 26, 2012 at 2:23 PM, Thomas Senyk
> <thomas.senyk@pelagicore.com> wrote:
>> I've just tested a 'bitbake core-image-x11' and it builds without any problem.
>>
>> I got a couple of warnings such as:
>> WARNING: File '/opt/viv_samples/vdk/tutorial2' from gpu-viv-bin-mx6q was
>> already stripped, this will prevent future debugging!
>>
>> ... I don't mind them, but "silencing" them would be helpful/good enough
>> (no clue if this is possible/feasible)
>
> I did a brief check how to quiet them but didn't find a way so I let
> them on for now.
>
>> I would like to tell you that I've also tested this on the hardware, but it my
>> imx6 got "stolen" by colleagues ;)
>
> Please do! :)
I've tried these new changes on my imx6qsabrelite board and X now comes up (no
more segmentation violation), but the touch screen isn't working. I don't see
a module available for it (it used to be tsc2004).
How do I get the touch screen going?
Thanks
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 17:59 ` [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP Gary Thomas
@ 2012-11-26 18:04 ` Daiane Angolini
2012-11-26 18:27 ` Gary Thomas
0 siblings, 1 reply; 51+ messages in thread
From: Daiane Angolini @ 2012-11-26 18:04 UTC (permalink / raw)
Cc: meta-freescale@yoctoproject.org
I'm using LVDS and it is not working as well.
I don't know tsc2004, where do you connect this display?
You could try to use egalaxy driver, may you do that? (and let me know
the results =P)
Daiane
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 18:04 ` Daiane Angolini
@ 2012-11-26 18:27 ` Gary Thomas
2012-11-26 18:40 ` Otavio Salvador
0 siblings, 1 reply; 51+ messages in thread
From: Gary Thomas @ 2012-11-26 18:27 UTC (permalink / raw)
To: meta-freescale
On 2012-11-26 11:04, Daiane Angolini wrote:
> I'm using LVDS and it is not working as well.
>
> I don't know tsc2004, where do you connect this display?
>
> You could try to use egalaxy driver, may you do that? (and let me know
> the results =P)
That driver is compiled in and it's trying to use it, but failing.
I get this error when I boot:
egalax_ts 2-0004: egalax_ts: failed to read firmware version
egalax_ts: probe of 2-0004 failed with error -5
I had this working with a previous kernel, using these modules:
egalax_ts
tsc2004
galcore
n.b. when you reply, please quote what you are replying to. If you
read these messages via email (as I do), all context is lost and it's
really hard to figure out what you are saying. Not everyone uses
Google Group's swank interface!
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 18:27 ` Gary Thomas
@ 2012-11-26 18:40 ` Otavio Salvador
2012-11-26 18:54 ` Gary Thomas
0 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:40 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 4:27 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
> On 2012-11-26 11:04, Daiane Angolini wrote:
>>
>> I'm using LVDS and it is not working as well.
>>
>> I don't know tsc2004, where do you connect this display?
>>
>> You could try to use egalaxy driver, may you do that? (and let me know
>> the results =P)
>
>
> That driver is compiled in and it's trying to use it, but failing.
> I get this error when I boot:
> egalax_ts 2-0004: egalax_ts: failed to read firmware version
> egalax_ts: probe of 2-0004 failed with error -5
>
> I had this working with a previous kernel, using these modules:
> egalax_ts
> tsc2004
Right.
> galcore
This is now built-in.
Since you had it working previously please compare the dmesg output
between both kernels so we can have a light where to look for it?
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 18:40 ` Otavio Salvador
@ 2012-11-26 18:54 ` Gary Thomas
2012-11-26 18:57 ` Otavio Salvador
0 siblings, 1 reply; 51+ messages in thread
From: Gary Thomas @ 2012-11-26 18:54 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On 2012-11-26 11:40, Otavio Salvador wrote:
> On Mon, Nov 26, 2012 at 4:27 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
>> On 2012-11-26 11:04, Daiane Angolini wrote:
>>>
>>> I'm using LVDS and it is not working as well.
>>>
>>> I don't know tsc2004, where do you connect this display?
>>>
>>> You could try to use egalaxy driver, may you do that? (and let me know
>>> the results =P)
>>
>>
>> That driver is compiled in and it's trying to use it, but failing.
>> I get this error when I boot:
>> egalax_ts 2-0004: egalax_ts: failed to read firmware version
>> egalax_ts: probe of 2-0004 failed with error -5
>>
>> I had this working with a previous kernel, using these modules:
>> egalax_ts
>> tsc2004
>
> Right.
>
>> galcore
>
> This is now built-in.
>
> Since you had it working previously please compare the dmesg output
> between both kernels so we can have a light where to look for it?
I'll see what I can do. I built it using meta-fsl-arm in October, so
I'll have to rewind meta-fsl-arm to that time period since the linux
kernel recipes have been updated (and older versions deleted).
Does someone have a working image for the sabrelite that uses this
touch screen (it was the only one available as I recall when I bought
the board in October)? I'd really like to try a known image so as to
eliminate any errors I might have added when making the build.
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 18:54 ` Gary Thomas
@ 2012-11-26 18:57 ` Otavio Salvador
2012-11-27 3:13 ` Fabio Estevam
0 siblings, 1 reply; 51+ messages in thread
From: Otavio Salvador @ 2012-11-26 18:57 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 4:54 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
> On 2012-11-26 11:40, Otavio Salvador wrote:
>>
>> On Mon, Nov 26, 2012 at 4:27 PM, Gary Thomas <samoht.yrag@gmail.com>
>> wrote:
>>>
>>> On 2012-11-26 11:04, Daiane Angolini wrote:
>>>>
>>>>
>>>> I'm using LVDS and it is not working as well.
>>>>
>>>> I don't know tsc2004, where do you connect this display?
>>>>
>>>> You could try to use egalaxy driver, may you do that? (and let me know
>>>> the results =P)
>>>
>>>
>>>
>>> That driver is compiled in and it's trying to use it, but failing.
>>> I get this error when I boot:
>>> egalax_ts 2-0004: egalax_ts: failed to read firmware version
>>> egalax_ts: probe of 2-0004 failed with error -5
>>>
>>> I had this working with a previous kernel, using these modules:
>>> egalax_ts
>>> tsc2004
>>
>>
>> Right.
>>
>>> galcore
>>
>>
>> This is now built-in.
>>
>> Since you had it working previously please compare the dmesg output
>> between both kernels so we can have a light where to look for it?
>
>
> I'll see what I can do. I built it using meta-fsl-arm in October, so
> I'll have to rewind meta-fsl-arm to that time period since the linux
> kernel recipes have been updated (and older versions deleted).
>
> Does someone have a working image for the sabrelite that uses this
> touch screen (it was the only one available as I recall when I bought
> the board in October)? I'd really like to try a known image so as to
> eliminate any errors I might have added when making the build.
In any case this seems to be kernel related and not a BSP issue.
Fabio, could you take a look?
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-26 18:57 ` Otavio Salvador
@ 2012-11-27 3:13 ` Fabio Estevam
2012-11-27 17:52 ` Fabio Estevam
0 siblings, 1 reply; 51+ messages in thread
From: Fabio Estevam @ 2012-11-27 3:13 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On Mon, Nov 26, 2012 at 4:57 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> In any case this seems to be kernel related and not a BSP issue.
> Fabio, could you take a look?
The "failed to read firmware version" seems to be an I2C issue. The
I2C controllers send some commands to the panel, and it is failing.
I will take try to reproduce this when I have a chance.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-27 3:13 ` Fabio Estevam
@ 2012-11-27 17:52 ` Fabio Estevam
2012-11-27 18:13 ` Gary Thomas
0 siblings, 1 reply; 51+ messages in thread
From: Fabio Estevam @ 2012-11-27 17:52 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
On Tue, Nov 27, 2012 at 1:13 AM, Fabio Estevam <festevam@gmail.com> wrote:
> On Mon, Nov 26, 2012 at 4:57 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>
>> In any case this seems to be kernel related and not a BSP issue.
>> Fabio, could you take a look?
>
> The "failed to read firmware version" seems to be an I2C issue. The
> I2C controllers send some commands to the panel, and it is failing.
I think the I2C read failure is normal, as the sabrelite panel is not egalax.
You should use the Hannstar panel.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-27 17:52 ` Fabio Estevam
@ 2012-11-27 18:13 ` Gary Thomas
2012-11-27 18:17 ` Fabio Estevam
0 siblings, 1 reply; 51+ messages in thread
From: Gary Thomas @ 2012-11-27 18:13 UTC (permalink / raw)
To: Fabio Estevam; +Cc: meta-freescale, Otavio Salvador
On 2012-11-27 10:52, Fabio Estevam wrote:
> On Tue, Nov 27, 2012 at 1:13 AM, Fabio Estevam <festevam@gmail.com> wrote:
>> On Mon, Nov 26, 2012 at 4:57 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>
>>> In any case this seems to be kernel related and not a BSP issue.
>>> Fabio, could you take a look?
>>
>> The "failed to read firmware version" seems to be an I2C issue. The
>> I2C controllers send some commands to the panel, and it is failing.
>
> I think the I2C read failure is normal, as the sabrelite panel is not egalax.
>
> You should use the Hannstar panel.
Hmm, that driver does not build (meta-fsl-arm is up to date):
| drivers/input/touchscreen/p1003_ts.c: In function 'p1003_probe':
| drivers/input/touchscreen/p1003_ts.c:304:2: error: implicit declaration of function 'set_irq_type' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
| make[3]: *** [drivers/input/touchscreen/p1003_ts.o] Error 1
| make[2]: *** [drivers/input/touchscreen] Error 2
| make[1]: *** [drivers/input] Error 2
| make: *** [drivers] Error 2
| make: *** Waiting for unfinished jobs....
| AR lib/lib.a
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/local/imx6_poky/tmp/work/sabrelite-amltd-linux-gnueabi/linux-imx-3.0.35-r32.3/temp/log.do_compile.12860 for further information)
ERROR: Task 6 (/home/local/poky-multi/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 603 tasks of which 599 didn't need to be rerun and 1 failed.
No currently running tasks (599 of 613)
Summary: 1 task failed:
/home/local/poky-multi/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb, do_compile
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-27 18:13 ` Gary Thomas
@ 2012-11-27 18:17 ` Fabio Estevam
2012-11-27 18:33 ` Gary Thomas
0 siblings, 1 reply; 51+ messages in thread
From: Fabio Estevam @ 2012-11-27 18:17 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale, Otavio Salvador
On Tue, Nov 27, 2012 at 4:13 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
> Hmm, that driver does not build (meta-fsl-arm is up to date):
>
> | drivers/input/touchscreen/p1003_ts.c: In function 'p1003_probe':
> | drivers/input/touchscreen/p1003_ts.c:304:2: error: implicit declaration of
> function 'set_irq_type' [-Werror=implicit-function-declaration]
Try changing it to 'irq_set_irq_type' instead.
Do you know exactly the panel you are using with sabrelite?
Just looked at Boundary Device's git tree and it seems they support 3 panels:
https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_MX6DQ_ER_1208-Beta/arch/arm/mach-mx6/board-mx6q_sabrelite.c
The original 12.09 BSP from FSL has not been tested/validated on
mx6qsabrelite board. Please compare it with the Boundary Device tree.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-27 18:17 ` Fabio Estevam
@ 2012-11-27 18:33 ` Gary Thomas
2012-11-27 18:35 ` Fabio Estevam
0 siblings, 1 reply; 51+ messages in thread
From: Gary Thomas @ 2012-11-27 18:33 UTC (permalink / raw)
To: Fabio Estevam; +Cc: meta-freescale, Otavio Salvador
On 2012-11-27 11:17, Fabio Estevam wrote:
> On Tue, Nov 27, 2012 at 4:13 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
>
>> Hmm, that driver does not build (meta-fsl-arm is up to date):
>>
>> | drivers/input/touchscreen/p1003_ts.c: In function 'p1003_probe':
>> | drivers/input/touchscreen/p1003_ts.c:304:2: error: implicit declaration of
>> function 'set_irq_type' [-Werror=implicit-function-declaration]
>
> Try changing it to 'irq_set_irq_type' instead.
>
> Do you know exactly the panel you are using with sabrelite?
>
> Just looked at Boundary Device's git tree and it seems they support 3 panels:
> https://github.com/boundarydevices/linux-imx6/blob/boundary-L3.0.35_MX6DQ_ER_1208-Beta/arch/arm/mach-mx6/board-mx6q_sabrelite.c
>
> The original 12.09 BSP from FSL has not been tested/validated on
> mx6qsabrelite board. Please compare it with the Boundary Device tree.
I thought I had your kernel working with this board, but I've tried so many things
in the past few weeks (not to mention all the other boards I try to keep track of!)
My panel is the Nit6X_800x480 which uses the TSC2004 touch controller.
For now, I'll build the kernel using their tree.
Would you entertain patches to make the FSL BSP work with this board
(if I have time)?
^ permalink raw reply [flat|nested] 51+ messages in thread
* Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP
2012-11-27 18:33 ` Gary Thomas
@ 2012-11-27 18:35 ` Fabio Estevam
0 siblings, 0 replies; 51+ messages in thread
From: Fabio Estevam @ 2012-11-27 18:35 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale, Otavio Salvador
On Tue, Nov 27, 2012 at 4:33 PM, Gary Thomas <samoht.yrag@gmail.com> wrote:
> I thought I had your kernel working with this board, but I've tried so many
> things
> in the past few weeks (not to mention all the other boards I try to keep
> track of!)
> My panel is the Nit6X_800x480 which uses the TSC2004 touch controller.
>
> For now, I'll build the kernel using their tree.
>
> Would you entertain patches to make the FSL BSP work with this board
> (if I have time)?
>
If you can generate a patch that fixes touchscreen on 12.09 for
sabrelite, please submit it to the list.
^ permalink raw reply [flat|nested] 51+ messages in thread