Skip to contentSkip to conversation

iMX6 Yocto Support based on 12.09.01 BSP

PATCH Superseded Otavio Salvador 4 participants 29 messages Nov 20, 2012 – Nov 22, 2012 2 messages not in the archive Arm i.MX and Layerscape

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover iMX6 Yocto Support based on 12.09.01 BSP

Hello,

We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them.

The only missing part is the GStreamer codec support that are still being finished and we'll make it available as soon as it is working properly.

Adrian Alonso (2):
xf86-dri-vivante: Add Vivant DRI driver for Xorg
xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs

Otavio Salvador (8):
firmware-imx: Add 12.09.01 version
imx-base.inc: Add iMX6 firmware information
imx-lib: Add 12.09.01 version
imx-test: Add 12.09.01 version
gpu-viv-bin-mx6q: Add Vivant GPU libraries
mesa-dri: Change provided set of libraries when building for iMX6
imx-base: Use xf86-video-imxfb-vivant for iMX6 targets
xserver-xf86-config: Use Vivant accelerated driver for iMX6

 conf/machine/include/imx-base.inc                  |    3 +
 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb  |    8 ++
 recipes-bsp/imx-test/imx-test.inc                  |    1 +
 recipes-bsp/imx-test/imx-test_12.09.01.bb          |    8 ++
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc          |  125 ++++++++++++++++++++
 .../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 +-
 recipes-multimedia/imx-lib/imx-lib.inc             |    1 +
 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb     |    8 ++
 15 files changed, 262 insertions(+), 6 deletions(-)
 create mode 100644 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
 create mode 100644 recipes-bsp/imx-test/imx-test_12.09.01.bb
 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-prefixed-include-path.patch
 create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
 create mode 100644 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/10 firmware-imx: Add 12.09.01 version

Change-Id Ibfff91ed18a37ccac52ab1b19f8265dc8f86f03b
---
 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb new file +8 -0
new file mode 100644
index 0000000..69e3381
@@ -0,0 +1,8 @@
+require firmware-imx.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "973fde728ab6e6be1d02954051233141"
+SRC_URI[sha256sum] = "6836ef21b0649670c8f0a0f3388f08dba620c6dea73fdf918959b3e5f965bc66"
+
+COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/10 imx-base.inc: Add iMX6 firmware information

In reply to Otavio Salvador
---
 conf/machine/include/imx-base.inc |    2 ++
 1 file changed, 2 insertions(+)
conf/machine/include/imx-base.inc +2 -0
index ed1aec6..0c2f10d 100644
@@ -33,6 +33,8 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
 # Firmware
 MACHINE_FIRMWARE ?= ""
+MACHINE_FIRMWARE_mx6q = "firmware-imx-vpu-imx6q"
+MACHINE_FIRMWARE_mx6d = "firmware-imx-vpu-imx6d"
 MACHINE_FIRMWARE_mx53 = "firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
 MACHINE_FIRMWARE_mx51 = "firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
 MACHINE_FIRMWARE_mx35 = "firmware-imx-sdma-imx35"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/10 imx-lib: Add 12.09.01 version

In reply to Otavio Salvador
Change-Id If634d229e9722f35430637bb22ab2146010468e6
---
 recipes-multimedia/imx-lib/imx-lib.inc         |    1 +
 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb |    8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
recipes-multimedia/imx-lib/imx-lib.inc +1 -0
index 6832048..9dae521 100644
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b18
 
 SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz"
 
+PLATFORM_mx6 = "IMX6Q"
 PLATFORM_mx5 = "IMX51"
 
 PARALLEL_MAKE="-j 1"
recipes-multimedia/imx-lib/imx-lib_12.09.01.bb new file +8 -0
new file mode 100644
index 0000000..8878f40
@@ -0,0 +1,8 @@
+include imx-lib.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "1ec3b9bcfaf9c0eba4babc2a3b56a5bb"
+SRC_URI[sha256sum] = "9af3d62f70f1efcecd62eadb4d79ded64a699ca9e162c7494c51eb7afee0810d"
+
+COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 4/10 imx-test: Add 12.09.01 version

In reply to Otavio Salvador
Change-Id Iad766a8438472ba69a24471e9b6094878d1a1914
---
 recipes-bsp/imx-test/imx-test.inc         |    1 +
 recipes-bsp/imx-test/imx-test_12.09.01.bb |    8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 recipes-bsp/imx-test/imx-test_12.09.01.bb
recipes-bsp/imx-test/imx-test.inc +1 -0
index cfed77c..52ead1c 100644
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 
 INC_PR = "r6"
 
+PLATFORM_mx6 = "IMX6Q"
 PLATFORM_mx53 = "IMX53"
 PLATFORM_mx51 = "IMX51"
 
recipes-bsp/imx-test/imx-test_12.09.01.bb new file +8 -0
new file mode 100644
index 0000000..c1243ca
@@ -0,0 +1,8 @@
+include imx-test.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "422f08ae12c084a2e6b213a034588318"
+SRC_URI[sha256sum] = "410cb1b1942eefb7b6beee9a0554cf65c8c5fc4069d88f1ac2eda22b3edb655c"
+
+COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 5/10 gpu-viv-bin-mx6q: Add Vivant GPU libraries

In reply to Otavio Salvador

This recipe provides the binary libraries for use with iMX6 CPUs.

Change-Id If21cf21535fc8ec4a0a1117974a8cb1f43499f66
---
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc          |  125 ++++++++++++++++++++
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb  |    9 ++
 2 files changed, 134 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
recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc new file +125 -0
new file mode 100644
index 0000000..4dbed04
@@ -0,0 +1,125 @@
+# 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 \
+	libgal-fb-mx6 libgal-fb-mx6-dev libgal-fb-mx6-dbg \
+	libgal-x11-mx6 libgal-x11-mx6-dev libgal-x11-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 \
+	libopevg-mx6 libopevg-mx6-dev libopevg-mx6-dbg \
+	libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \
+	libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \
+	libvivante-dri-mx6 libvivante-dri-mx6-dev libvivante-dri-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}
+
+    # 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} = "${libdir} ${libdir}/dri"
+FILES_${PN}-dev = "${includedir}"
+FILES_${PN}-dbg = "${libdir}/.debug ${libdir}/dri/.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-fb-mx6 = "${libdir}/libEGL-fb${SOLIBS}"
+FILES_libegl-fb-mx6-dev = "${includedir}/EGL ${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 = "${includedir}/EGL ${libdir}/libEGL-x11${SOLIBSDEV}"
+FILES_libegl-x11-mx6-dbg = "${libdir}/.debug/libEGL-x11${SOLIBS}"
+
+FILES_libgal-fb-mx6 = "${libdir}/libGAL-fb${SOLIBS}"
+FILES_libgal-fb-mx6-dev = "${includedir}/HAL ${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 = "${includedir}/HAL ${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-fb-mx6 = "${libdir}/libVIVANTE-fb${SOLIBS}"
+FILES_libvivante-fb-mx6-dev = "${includedir}/HAL ${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 = "${includedir}/HAL ${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)"
recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_12.09.01.bb new file +9 -0
new file mode 100644
index 0000000..c54ad19
@@ -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"
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH 6/10 xf86-dri-vivante: Add Vivant DRI driver for Xorg

In reply to Otavio Salvador

From: Adrian Alonso <[email protected]>

Change-Id I07eeb3ce0960021a12c04a38447c379318821f75
---
 .../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
recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb new file +31 -0
new file mode 100644
index 0000000..3bf133b
@@ -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"
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 7/10 xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs

In reply to Otavio Salvador

From: Adrian Alonso <[email protected]>

Change-Id I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650
---
 .../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
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch new file +29 -0
new file mode 100644
index 0000000..4354ae4
@@ -0,0 +1,29 @@
+From 230acf40ab9ed8ab5f291ff6644160b3f3859d69 Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <[email protected]>
+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 <[email protected]>
+---
+ 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
+
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb new file +27 -0
new file mode 100644
index 0000000..3eb3f4a
@@ -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 {} \;
+}
+
+#FILES_${PN}-dev = "${includedir}/vivante_priv.h"
Signature · 1 line
1.7.10.4
#8 lore raw

PATCH 8/10 mesa-dri: Change provided set of libraries when building for iMX6

In reply to Otavio Salvador

This overrides the 8.0.4 and git versions of mesa-dri recipe.

Change-Id Ica3e05ade74ccc8c8c2090cac2c2f9e72fb0f66d
---
 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(-)
recipes-graphics/mesa/mesa-dri_8.0.4.bbappend +3 -1
index 1dff9fe..8b5cfe6 100644
@@ -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}"
recipes-graphics/mesa/mesa-dri_git.bbappend +3 -1
index 1dff9fe..8b5cfe6 100644
@@ -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}"
Signature · 1 line
1.7.10.4
#9 lore raw

PATCH 9/10 imx-base: Use xf86-video-imxfb-vivant for iMX6 targets

In reply to Otavio Salvador
Change-Id I9fb4fa04aef988fb8fd3105ab9444276ea0cbc29
---
 conf/machine/include/imx-base.inc |    1 +
 1 file changed, 1 insertion(+)
conf/machine/include/imx-base.inc +1 -0
index 0c2f10d..a920a4b 100644
@@ -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}"
Signature · 1 line
1.7.10.4
#10 lore raw

PATCH 10/10 xserver-xf86-config: Use Vivant accelerated driver for iMX6

In reply to Otavio Salvador
Change-Id Ief51e752d58efbdf5412c93a786c442e3531a961
---
 .../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(-)
recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf +5 -3
index 79b6c0f..b89bed6 100644
@@ -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"
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +1 -1
index f9ea3a4..8337e55 100644
@@ -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}"
Signature · 1 line
1.7.10.4
#11 lore raw
In reply to Otavio Salvador
Quoted 5 lines · Otavio Salvador

Hello,

We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them.

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

Thanks

Quoted 44 lines

The only missing part is the GStreamer codec support that are still being finished and we'll make it available as soon as it is working properly.

Adrian Alonso (2):
xf86-dri-vivante: Add Vivant DRI driver for Xorg
xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs

Otavio Salvador (8):
firmware-imx: Add 12.09.01 version
imx-base.inc: Add iMX6 firmware information
imx-lib: Add 12.09.01 version
imx-test: Add 12.09.01 version
gpu-viv-bin-mx6q: Add Vivant GPU libraries
mesa-dri: Change provided set of libraries when building for iMX6
imx-base: Use xf86-video-imxfb-vivant for iMX6 targets
xserver-xf86-config: Use Vivant accelerated driver for iMX6

  conf/machine/include/imx-base.inc                  |    3 +
  recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb  |    8 ++
  recipes-bsp/imx-test/imx-test.inc                  |    1 +
  recipes-bsp/imx-test/imx-test_12.09.01.bb          |    8 ++
  .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc          |  125 ++++++++++++++++++++
  .../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 +-
  recipes-multimedia/imx-lib/imx-lib.inc             |    1 +
  recipes-multimedia/imx-lib/imx-lib_12.09.01.bb     |    8 ++
  15 files changed, 262 insertions(+), 6 deletions(-)

create mode 100644 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
create mode 100644 recipes-bsp/imx-test/imx-test_12.09.01.bb
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-prefixed-include-path.patch create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
create mode 100644 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb

#12 lore raw
Quoted 9 lines · Gary Thomas
Quoted 6 lines · Otavio Salvador

Hello,

We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them.

Quoted 6 lines

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

I am looking at a build failure when building fsl-image-gui (as it depends on mesa-demos) so I'd say for you to use core-image-x11 for now.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#13 lore raw
Quoted 11 lines · Otavio Salvador

On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-20 08:11, Otavio Salvador wrote:

Hello,

We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them.

Quoted 8 lines

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

I am looking at a build failure when building fsl-image-gui (as it depends on mesa-demos) so I'd say for you to use core-image-x11 for now.

Where do I get a recipe for xserver-xorg-module-exa?

#14 lore raw
Quoted 22 lines · Gary Thomas
Quoted 20 lines · Otavio Salvador

On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-20 08:11, Otavio Salvador wrote:

Hello,

We've been working on this patchset for sometime. We are glad to
be
able to sure it among you all and I'd like to ask you to test and comment on them.

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

Quoted 5 lines
Quoted 2 lines

I am looking at a build failure when building fsl-image-gui (as it depends on mesa-demos) so I'd say for you to use core-image-x11 for now.

Where do I get a recipe for xserver-xorg-module-exa?

Something is wrong here. Why you needed it?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#15 lore raw
Quoted 23 lines · Otavio Salvador
Quoted 22 lines · Gary Thomas
Quoted 20 lines · Otavio Salvador

On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-20 08:11, Otavio Salvador wrote:

Hello,

We've been working on this patchset for sometime. We are glad to
be
able to sure it among you all and I'd like to ask you to test and comment on them.

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is maximised? I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I am looking at a build failure when building fsl-image-gui (as it depends on mesa-demos) so I'd say for you to use core-image-x11 for now.

Where do I get a recipe for xserver-xorg-module-exa?

Something is wrong here. Why you needed it?

The X server failed to start:

   # /etc/init.d/xserver-nodm restart
   Stopping XServer
   Starting Xserver

X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34.9-69.fc13.i686.PAE i686
Current Operating System: Linux sabrelite 3.0.35-12.09.01+yocto+geaaf30e #2 SMP PREEMPT Thu Nov 8 08:19:03 MST 2012 armv7l
Kernel command line: console=ttymxc1,115200 root=/dev/ram0 rootfstype=ext3 ramdisk_size=65536 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0
video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M
Build Date: 20 November 2012 11:23:40AM

Current version of pixman: 0.27.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:08:35 2012 (==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Failed to load module "extmod" (module does not exist, 0) (EE) Failed to load module "dbe" (module does not exist, 0) (EE) Failed to load module "glx" (module does not exist, 0) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) (EE) VIVANTE: Failed to load module "exa" (module does not exist, 0)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

   root@sabrelite:~# Warning: Permanently added '192.168.1.182' (RSA) to the list of known hosts.
   root@sabrelite:~# opkg list-installed 'xf86*'
   xf86-input-evdev - 2:2.7.3-r19.0
   xf86-video-fbdev - 2:0.4.3-r19.0
   xf86-video-imxfb-vivante - 2:12.09.01-r0

Full log attached. What am I missing?

[527416.918] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[527416.918] _XSERVTransOpen: transport open failed for inet6/sabrelite:0
[527416.918] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[527416.921] 
X.Org X Server 1.11.4
Release Date: 2012-01-27
[527416.921] X Protocol Version 11, Revision 0
[527416.921] Build Operating System: Linux 2.6.34.9-69.fc13.i686.PAE i686 
[527416.921] Current Operating System: Linux sabrelite 3.0.35-12.09.01+yocto+geaaf30e #2 SMP PREEMPT Thu Nov 8 08:19:03 MST 2012 armv7l
[527416.921] Kernel command line: console=ttymxc1,115200 root=/dev/ram0 rootfstype=ext3 ramdisk_size=65536 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M
[527416.921] Build Date: 20 November 2012  11:23:40AM
[527416.921]  
[527416.921] Current version of pixman: 0.27.2
[527416.922] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[527416.922] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[527416.922] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:08:35 2012
[527416.922] (==) Using config file: "/etc/X11/xorg.conf"
[527416.922] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[527416.923] (==) No Layout section.  Using the first Screen section.
[527416.923] (==) No screen section available. Using defaults.
[527416.923] (**) |-->Screen "Default Screen Section" (0)
[527416.923] (**) |   |-->Monitor "<default monitor>"
[527416.923] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[527416.923] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"
[527416.923] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[527416.924] (**) Option "BlankTime" "0"
[527416.924] (**) Option "StandbyTime" "0"
[527416.924] (**) Option "SuspendTime" "0"
[527416.924] (**) Option "OffTime" "0"
[527416.924] (==) Automatically adding devices
[527416.924] (==) Automatically enabling devices
[527416.924] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[527416.924] 	Entry deleted from font path.
[527416.924] (==) FontPath set to:
[527416.924] (==) ModulePath set to "/usr/lib/xorg/modules"
[527416.924] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[527416.924] (II) Loader magic: 0x17f5d8
[527416.924] (II) Module ABI versions:
[527416.924] 	X.Org ANSI C Emulation: 0.4
[527416.924] 	X.Org Video Driver: 11.0
[527416.924] 	X.Org XInput driver : 13.0
[527416.924] 	X.Org Server Extension : 6.0
[527416.924] (II) Open APM successful
[527416.925] (II) LoadModule: "extmod"
[527416.925] (WW) Warning, couldn't open module extmod
[527416.925] (II) UnloadModule: "extmod"
[527416.925] (II) Unloading extmod
[527416.925] (EE) Failed to load module "extmod" (module does not exist, 0)
[527416.925] (II) LoadModule: "dbe"
[527416.926] (WW) Warning, couldn't open module dbe
[527416.926] (II) UnloadModule: "dbe"
[527416.926] (II) Unloading dbe
[527416.926] (EE) Failed to load module "dbe" (module does not exist, 0)
[527416.926] (II) LoadModule: "glx"
[527416.926] (WW) Warning, couldn't open module glx
[527416.926] (II) UnloadModule: "glx"
[527416.926] (II) Unloading glx
[527416.926] (EE) Failed to load module "glx" (module does not exist, 0)
[527416.926] (II) LoadModule: "dri"
[527416.927] (WW) Warning, couldn't open module dri
[527416.927] (II) UnloadModule: "dri"
[527416.927] (II) Unloading dri
[527416.927] (EE) Failed to load module "dri" (module does not exist, 0)
[527416.927] (II) LoadModule: "dri2"
[527416.927] (WW) Warning, couldn't open module dri2
[527416.927] (II) UnloadModule: "dri2"
[527416.927] (II) Unloading dri2
[527416.927] (EE) Failed to load module "dri2" (module does not exist, 0)
[527416.927] (II) LoadModule: "vivante"
[527416.927] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[527416.928] (II) Module vivante: vendor="X.Org Foundation"
[527416.929] 	compiled for 1.11.4, module version = 1.0.0
[527416.929] 	ABI class: X.Org Video Driver, version 11.0
[527416.929] (II) VIVANTE: fb driver for vivante: VivanteGC500, VivanteGC2100,
	VivanteGCCORE
[527416.929] (--) using VT number 3
[527417.005] (WW) Falling back to old probe method for vivante
[527417.005] (II) Loading sub module "fbdevhw"
[527417.005] (II) LoadModule: "fbdevhw"
[527417.006] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[527417.007] (II) Module fbdevhw: vendor="X.Org Foundation"
[527417.008] 	compiled for 1.11.4, module version = 0.0.2
[527417.008] 	ABI class: X.Org Video Driver, version 11.0
[527417.008] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[527417.008] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[527417.008] (II) VIVANTE(0): using default device
[527417.008] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[527417.008] (II) VIVANTE(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[527417.008] (==) VIVANTE(0): Depth 16, (==) framebuffer bpp 16
[527417.008] (==) VIVANTE(0): RGB weight 565
[527417.008] (==) VIVANTE(0): Default visual is TrueColor
[527417.008] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)
[527417.008] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 750kB)
[527417.008] (II) VIVANTE(0): checking modes against framebuffer device...
[527417.008] (II) VIVANTE(0): checking modes against monitor...
[527417.008] (--) VIVANTE(0): Virtual size is 800x480 (pitch 800)
[527417.008] (**) VIVANTE(0):  Built-in mode "current": 27.0 MHz, 29.3 kHz, 57.5 Hz
[527417.008] (II) VIVANTE(0): Modeline "current"x0.0   27.00  800 860 880 920  480 490 500 510 -hsync -vsync -csync (29.3 kHz)
[527417.008] (==) VIVANTE(0): DPI set to (96, 96)
[527417.008] (II) Loading sub module "fb"
[527417.008] (II) LoadModule: "fb"
[527417.009] (II) Loading /usr/lib/xorg/modules/libfb.so
[527417.019] (II) Module fb: vendor="X.Org Foundation"
[527417.019] 	compiled for 1.11.4, module version = 1.0.0
[527417.019] 	ABI class: X.Org ANSI C Emulation, version 0.4
[527417.019] (II) Loading sub module "exa"
[527417.019] (II) LoadModule: "exa"
[527417.020] (WW) Warning, couldn't open module exa
[527417.020] (II) UnloadModule: "exa"
[527417.020] (II) Unloading exa
[527417.020] (EE) VIVANTE: Failed to load module "exa" (module does not exist, 0)
[527417.020] (**) VIVANTE(0): Error on loading exa submodule

A message that is not in the archive (sent off-list or not yet received): [email protected]

#17 lore raw
Quoted 82 lines · Gary Thomas
Quoted 35 lines · Otavio Salvador
Quoted 32 lines · Gary Thomas
Quoted 26 lines · Otavio Salvador

On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-20 08:11, Otavio Salvador wrote:

Hello,

We've been working on this patchset for sometime. We are glad
to
be
able to sure it among you all and I'd like to ask you to test
and
comment on them.

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is
maximised?
I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

I am looking at a build failure when building fsl-image-gui (as it depends
on mesa-demos) so I'd say for you to use core-image-x11 for now.

Quoted 5 lines
Quoted 1 line

Where do I get a recipe for xserver-xorg-module-exa?

Something is wrong here. Why you needed it?

The X server failed to start:

  # /etc/init.d/xserver-nodm restart
  Stopping XServer
  Starting Xserver

X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34.9-69.fc13.i686.PAE i686 Current Operating System: Linux sabrelite 3.0.35-12.09.01+yocto+geaaf30e
#2 SMP PREEMPT Thu Nov 8 08:19:03 MST 2012 armv7l
Kernel command line: console=ttymxc1,115200 root=/dev/ram0 rootfstype=ext3
ramdisk_size=65536 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2
rootwait consoleblank=0 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666
video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M
Build Date: 20 November 2012 11:23:40AM

Current version of pixman: 0.27.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:08:35 2012 (==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Failed to load module "extmod" (module does not exist, 0) (EE) Failed to load module "dbe" (module does not exist, 0) (EE) Failed to load module "glx" (module does not exist, 0) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) (EE) VIVANTE: Failed to load module "exa" (module does not exist, 0)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

  root@sabrelite:~# Warning: Permanently added '192.168.1.182' (RSA) to the
list of known hosts.
Quoted 6 lines
  root@sabrelite:~# opkg list-installed 'xf86*'
  xf86-input-evdev - 2:2.7.3-r19.0
  xf86-video-fbdev - 2:0.4.3-r19.0
  xf86-video-imxfb-vivante - 2:12.09.01-r0

Full log attached. What am I missing?

I fixed it locally.

I am attaching the patch for you to apply locally. It will be fixed in a v2 of the patchset.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb +2 -0
index 3eb3f4a..aa2e68f 100644
@@ -24,4 +24,6 @@ do_install_append () {
 	find ${D}${includedir} -type f -exec chmod 660 {} \;
 }
 
+RDEPENDS_${PN} += "xserver-xorg-module-exa"
+
 #FILES_${PN}-dev = "${includedir}/vivante_priv.h"
#18 lore raw
Quoted 88 lines · Otavio Salvador
Quoted 87 lines · Gary Thomas
Quoted 35 lines · Otavio Salvador
Quoted 32 lines · Gary Thomas
Quoted 26 lines · Otavio Salvador

On Tue, Nov 20, 2012 at 1:20 PM, Gary Thomas <[email protected] <mailto:[email protected]>> wrote:

On 2012-11-20 08:11, Otavio Salvador wrote:

Hello,

We've been working on this patchset for sometime. We are glad
to
be
able to sure it among you all and I'd like to ask you to test
and
comment on them.

I'll be glad to test this :-)

Any guidance on what/how to build so the test coverage is
maximised?
I have a SabreLight with LCD+touch and would love to see a full-up X running on it.

I am looking at a build failure when building fsl-image-gui (as it depends
on mesa-demos) so I'd say for you to use core-image-x11 for now.

Quoted 5 lines
Quoted 1 line

Where do I get a recipe for xserver-xorg-module-exa?

Something is wrong here. Why you needed it?

The X server failed to start:

   # /etc/init.d/xserver-nodm restart
   Stopping XServer
   Starting Xserver
   X.Org X Server 1.11.4
   Release Date: 2012-01-27
   X Protocol Version 11, Revision 0
   Build Operating System: Linux 2.6.34.9-69.fc13.i686.PAE i686
   Current Operating System: Linux sabrelite 3.0.35-12.09.01+yocto+geaaf30e

#2 SMP PREEMPT Thu Nov 8 08:19:03 MST 2012 armv7l
Kernel command line: console=ttymxc1,115200 root=/dev/ram0 rootfstype=ext3
ramdisk_size=65536 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2
rootwait consoleblank=0 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666
video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M
Build Date: 20 November 2012 11:23:40AM

Current version of pixman: 0.27.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:08:35 2012 (==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Failed to load module "extmod" (module does not exist, 0) (EE) Failed to load module "dbe" (module does not exist, 0) (EE) Failed to load module "glx" (module does not exist, 0) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) (EE) VIVANTE: Failed to load module "exa" (module does not exist, 0)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

   root@sabrelite:~# Warning: Permanently added '192.168.1.182' (RSA) to the
list of known hosts.
   root@sabrelite:~# opkg list-installed 'xf86*'
   xf86-input-evdev - 2:2.7.3-r19.0
   xf86-video-fbdev - 2:0.4.3-r19.0
   xf86-video-imxfb-vivante - 2:12.09.01-r0
Quoted 7 lines
Quoted 1 line

Full log attached. What am I missing?

I fixed it locally.

I am attaching the patch for you to apply locally. It will be fixed in a v2 of the patchset.

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base = 0x2b0f9000  FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]
[579761.865]
#19 lore raw

On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <[email protected]> wrote:
...

Quoted 11 lines

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base = 0x2b0f9000
FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]

Good; now we need to fix this.

I will take a look on this and I let you know if any news.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#20 lore raw
Quoted 14 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <[email protected]> wrote:
...

Quoted 11 lines

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base = 0x2b0f9000
FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]
Quoted 4 lines

Good; now we need to fix this.

I will take a look on this and I let you know if any news.

Here's a GDB backtrace:

Program received signal SIGSEGV, Segmentation fault. 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so (gdb) bt

#0  0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so
#1  0x2afeca78 in gcoHAL_MapUserMemory () from /usr/lib/libGAL.so
#2  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so
#3  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Maybe I'm missing some piece, e.g. loading the video acceleration firmware? n.b. I don't know much about this platform, so I'm a bit in the dark.

#21 lore raw
Quoted 29 lines · Gary Thomas
Quoted 18 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <[email protected]> wrote:
...

Quoted 12 lines

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base = 0x2b0f9000
FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]
Quoted 4 lines

Good; now we need to fix this.

I will take a look on this and I let you know if any news.

Here's a GDB backtrace:

Program received signal SIGSEGV, Segmentation fault. 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so (gdb) bt

Quoted 8 lines
#0  0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so
#1  0x2afeca78 in gcoHAL_MapUserMemory () from /usr/lib/libGAL.so
#2  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so
#3  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Maybe I'm missing some piece, e.g. loading the video acceleration firmware? n.b. I don't know much about this platform, so I'm a bit in the dark.

It seems to be all done; I am pondering if it might be a problem with our U-Boot; you might try to use Freescale U-Boot and give it a try.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#22 lore raw
Quoted 36 lines · Otavio Salvador
Quoted 35 lines · Gary Thomas
Quoted 18 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <[email protected]> wrote:
...

Quoted 12 lines

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base = 0x2b0f9000
FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]
Quoted 4 lines

Good; now we need to fix this.

I will take a look on this and I let you know if any news.

Here's a GDB backtrace:

Program received signal SIGSEGV, Segmentation fault. 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so (gdb) bt

#0  0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so
#1  0x2afeca78 in gcoHAL_MapUserMemory () from /usr/lib/libGAL.so
#2  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so
#3  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Quoted 5 lines
Quoted 2 lines

Maybe I'm missing some piece, e.g. loading the video acceleration firmware? n.b. I don't know much about this platform, so I'm a bit in the dark.

It seems to be all done; I am pondering if it might be a problem with our U-Boot; you might try to use Freescale U-Boot and give it a try.

I'm using the U-Boot that came with the board.

Should I try the one just built? If so, how (is there a temporary way to try it)?

U-Boot 2009.08 (Jul 05 2012 - 15:37:27)

CPU:   Freescale i.MX 6 family 0.0V at 792 MHz
Temperature:   can't get valid data!
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 200000000Hz
usdhc2 clock  : 200000000Hz
usdhc3 clock  : 200000000Hz
usdhc4 clock  : 200000000Hz
nfc clock     : 24000000Hz
Board: MX6Q-SABRELITE:[ WDOG]
Boot Device: I2C
I2C:   ready
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1
JEDEC ID: 0xbf:0x25:0x41

Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x276009b8 SUCCESS

#23 lore raw
Quoted 50 lines · Gary Thomas
Quoted 49 lines · Otavio Salvador
Quoted 44 lines · Gary Thomas
Quoted 22 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 10:01 AM, Gary Thomas <[email protected]> wrote:
...

Quoted 14 lines

That helped, but then it dies:

[579761.853] (II) VIVANTE(0): FB Start = 0x2b0f9000  FB Base =
0x2b0f9000
FB Offset = (nil)
[579761.865] (II) VIVANTE(0): test Initializing EXA
[579761.865]
Backtrace:
[579761.865] Segmentation fault at address 0xc
[579761.865]
Fatal server error:
[579761.865] Caught signal 11 (Segmentation fault). Server aborting
[579761.865]
Quoted 4 lines

Good; now we need to fix this.

I will take a look on this and I let you know if any news.

Here's a GDB backtrace:

Program received signal SIGSEGV, Segmentation fault. 0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so (gdb) bt

#0  0x2b078fac in gcoOS_GetBaseAddress () from /usr/lib/libGAL.so
#1  0x2afeca78 in gcoHAL_MapUserMemory () from /usr/lib/libGAL.so
#2  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so
#3  0x2ab341c0 in ?? () from /usr/lib/xorg/modules/drivers/vivante_drv.so

Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Maybe I'm missing some piece, e.g. loading the video acceleration firmware?
n.b. I don't know much about this platform, so I'm a bit in the dark.

Quoted 8 lines
Quoted 2 lines

It seems to be all done; I am pondering if it might be a problem with our U-Boot; you might try to use Freescale U-Boot and give it a try.

I'm using the U-Boot that came with the board.

Should I try the one just built? If so, how (is there a temporary way to try it)?

You can use the .sdcard file generated. It has all set.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
reviewer
#24 lore raw
In reply to Otavio Salvador
Quoted 2 lines · Otavio Salvador

It seems to be all done; I am pondering if it might be a problem with our U-Boot; you might try to use Freescale U-Boot and give it a try.

What makes you suspect of a bootloader related issue?

Gary,

Can you please paste the full kernel log of the system?

Regards,

Fabio Estevam

#25 lore raw
Quoted 7 lines · Fabio Estevam
Quoted 2 lines · Otavio Salvador

It seems to be all done; I am pondering if it might be a problem with our U-Boot; you might try to use Freescale U-Boot and give it a try.

What makes you suspect of a bootloader related issue?

It try to find a base address and it might be have been placed somewhere during SoC initialization however Daiane has tested it with mainline and FSL U-Boot and both has same result.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

A message that is not in the archive (sent off-list or not yet received): 52084595.BlZru0pAS7@rudolf

#27 lore raw
Quoted 7 lines · Thomas Senyk

I've done a build test as well.

compile errors in xf86-video-imxfb-vivante

Seems like a version and/or configuration problem.

poky, openembedded and fsl-arm are all on master from today.

It seems you're using fsl-community-bsp. Please do a 'repo sync' so it uses danny branch of Poky. I am not using master at this moment so we finish this step for danny before moving to OE-Core master development (the 1.4 base work).

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#28 lore raw
Quoted 7 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk

Quoted 4 lines · <[email protected]> wrote:

I've done a build test as well.

compile errors in xf86-video-imxfb-vivante

Quoted 8 lines
Quoted 3 lines

Seems like a version and/or configuration problem.

poky, openembedded and fsl-arm are all on master from today.

It seems you're using fsl-community-bsp. Please do a 'repo sync' so it uses danny branch of Poky. I am not using master at this moment so we finish this step for danny before moving to OE-Core master development (the 1.4 base work).

Do you mean denzil or danny?

I did a fresh 'repo init' using denzil (danny is not an option):
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b denzil

All checkouts will be the current HEAD of each denzil branch.

For meta-fsl-arm one needs to checkout master, to be able to apply the patches. (e.g. is mesa-dri_8.0.4.bbappend missing on denzil)

With that I get errors regarding intending (see log1.log)

To be on the safe side, I tried to checkout poky#danny, then another intending error occurs (log2.log) ;)

This is actually the reason I switches everything to master ... as I hoped this will bring the 3 repos in line ;)

The whole setup with different checkouts and repos and most importantly branches/branch-names is rather confusing to me ;)

Greets
Thomas

Pseudo is not present but is required, building this first before the main build
WARNING: Host distribution could not be determined; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
NOTE: Error expanding variable populate_packages############################## | ETA: 00:00:19
NOTE: Error during finalise of /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
ERROR: Unable to parse /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
ERROR: No recipes available for:
/home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-core/uclibc/uclibc_git.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-connectivity/dhcp/dhcp_4.2.3-P2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-bsp/formfactor/formfactor_0.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-bsp/formfactor/formfactor_0.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/libxfixes_5.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-graphics/mesa/mesa-dri_7.11.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-qt/qt4/qt4-x11-free_4.8.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/clutter/cogl_1.8.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-qt/qt4/qt4-embedded_4.8.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-bsp/alsa-state/alsa-state.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/libxrandr_1.3.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-connectivity/openssh/openssh_5.9p1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-qt/qt4/qt4-x11-free_4.8.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/libusb/libusb1_1.0.8.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-core/psplash/psplash_git.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-gnome/tasks/task-core-sdk-gmae.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-qt/tasks/task-qte-toolchain-target.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-qt/qt4/qt4-embedded_4.8.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-proto/randrproto_1.3.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-core/netbase/netbase_4.47.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-core/netbase/netbase_4.47.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.30.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-kernel/linux/linux-yocto_2.6.37.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/cairo/cairo_1.10.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/libxcursor_1.1.13.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-core/tasks/task-core-tools-profile.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/libxdamage_1.1.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-proto/compositeproto_0.4.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-lib/pixman_0.25.2.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.4.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-qt/qt4/qt4-x11-free_4.7.4.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-gnome/tasks/task-core-standalone-gmae-sdk-target.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-extended/cronie/cronie_1.4.8.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-core/packagegroup/packagegroup-base.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/poky/meta-yocto/recipes-graphics/mesa/mesa-dri_git.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/mesa/mesa-dri_git.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/mesa/mesa-dri_8.0.4.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-multimedia/libtiff/tiff_4.0.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-qt/qt4/qt4-embedded_4.7.4.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/libusb/libusb-compat_0.1.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-proto/damageproto_1.2.1.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-graphics/xorg-proto/fixesproto_5.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-connectivity/connman/connman_0.79.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/libgpg-error/libgpg-error_1.10.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-core/udev/udev-extraconf_1.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-multimedia/gst-plugins/gst-plugins-base_0.10.36.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-qt/qt4/qt4-embedded_4.8.0.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-arm/recipes-qt/qt4/qt4-x11-free_4.8.3.bbappend /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Pseudo is not present but is required, building this first before the main build
WARNING: Host distribution could not be determined; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
WARNING: Consider updating navit recipe to use "protocol" not "proto" in SRC_URI.
WARNING: Variable get_navit_fpu_setting contains tabs, please remove these (/home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb)
WARNING: Variable populate_packages contains tabs, please remove these (/home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb) | ETA: --:--:--
ERROR: ExpansionError during parsing /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb: Failure expanding variable populate_packages: IndentationError: unindent does not match any outer indentation level (<string>, line 113)
NOTE: Error during finalise of /home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb
ERROR: Command execution failed: Exited with 1

Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

#29 lore raw
Quoted 10 lines · Thomas Senyk
Quoted 9 lines · Otavio Salvador

On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk

Quoted 6 lines · <[email protected]> wrote:

I've done a build test as well.

compile errors in xf86-video-imxfb-vivante

Seems like a version and/or configuration problem.

Quoted 9 lines
Quoted 6 lines
Quoted 1 line

poky, openembedded and fsl-arm are all on master from today.

It seems you're using fsl-community-bsp. Please do a 'repo sync' so it uses danny branch of Poky. I am not using master at this moment so we finish this step for danny before moving to OE-Core master development (the 1.4 base work).

Do you mean denzil or danny?

Danny.

The fsl-community-bsp (branch master) is using danny now and will do it until we release 1.3.

Quoted 5 lines

I did a fresh 'repo init' using denzil (danny is not an option):
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b denzil

All checkouts will be the current HEAD of each denzil branch.

poky needs to be in 1.3 (danny) and others will still be master as they're not branched yet.

Quoted 3 lines

For meta-fsl-arm one needs to checkout master, to be able to apply the patches. (e.g. is mesa-dri_8.0.4.bbappend missing on denzil)

Right but use fsl-community-bsp at master (which sets it all right).

Quoted 7 lines

With that I get errors regarding intending (see log1.log)

To be on the safe side, I tried to checkout poky#danny, then another intending error occurs (log2.log) ;)

Quoted 5 lines

This is actually the reason I switches everything to master ... as I hoped this will bring the 3 repos in line ;)

The whole setup with different checkouts and repos and most importantly branches/branch-names is rather confusing to me ;)

Ok, let me try to summary it ... (it is confusing indeed):

* fsl-community-bsp:

* denzil - release 1.2

* master - upcoming 1.3 (based on danny)

When we release 1.3, then we'll move to 1.4 (which is being poky's master currently).

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#30 lore raw
In reply to Otavio Salvador

I've done a build test as well.

compile errors in xf86-video-imxfb-vivante

Seems like a version and/or configuration problem.

poky, openembedded and fsl-arm are all on master from today.

My machine:
64bit ArchLinux

Quoted 52 lines · Otavio Salvador

Hello,

We've been working on this patchset for sometime. We are glad to be able to sure it among you all and I'd like to ask you to test and comment on them.

The only missing part is the GStreamer codec support that are still being finished and we'll make it available as soon as it is working properly.

Adrian Alonso (2):
xf86-dri-vivante: Add Vivant DRI driver for Xorg
xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs

Otavio Salvador (8):
firmware-imx: Add 12.09.01 version
imx-base.inc: Add iMX6 firmware information
imx-lib: Add 12.09.01 version
imx-test: Add 12.09.01 version
gpu-viv-bin-mx6q: Add Vivant GPU libraries
mesa-dri: Change provided set of libraries when building for iMX6
imx-base: Use xf86-video-imxfb-vivant for iMX6 targets
xserver-xf86-config: Use Vivant accelerated driver for iMX6

 conf/machine/include/imx-base.inc                  |    3 +
 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb  |    8 ++
 recipes-bsp/imx-test/imx-test.inc                  |    1 +
 recipes-bsp/imx-test/imx-test_12.09.01.bb          |    8 ++
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc          |  125
++++++++++++++++++++ .../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 +-
 recipes-multimedia/imx-lib/imx-lib.inc             |    1 +
 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb     |    8 ++
 15 files changed, 262 insertions(+), 6 deletions(-)
 create mode 100644 recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
 create mode 100644 recipes-bsp/imx-test/imx-test_12.09.01.bb
 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 create mode 100644 recipes-multimedia/imx-lib/imx-lib_12.09.01.bb