Date   

Re: [meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Otavio Salvador
 

On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk
<thomas.senyk@...> wrote:
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).

--
Otavio Salvador O.S. Systems
E-mail: otavio@... http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


Re: [meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Thomas Senyk <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.


My machine:
64bit ArchLinux

On Tue, November 20, 2012 01:11:02 PM 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.

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


Re: [meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Thomas Senyk <thomas.senyk@...>
 

On Wed, November 21, 2012 02:24:00 PM Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk

<thomas.senyk@...> wrote:
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).
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


Re: [meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Otavio Salvador
 

On Wed, Nov 21, 2012 at 3:03 PM, Thomas Senyk
<thomas.senyk@...> wrote:
On Wed, November 21, 2012 02:24:00 PM Otavio Salvador wrote:
On Wed, Nov 21, 2012 at 1:18 PM, Thomas Senyk

<thomas.senyk@...> wrote:
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).
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.

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.

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).

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 ;)
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).

--
Otavio Salvador O.S. Systems
E-mail: otavio@... http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


[meta-fsl-arm][PATCH v2 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Otavio Salvador
 

Hello,

This is the second version of the patchset. 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.

Changes for v2:

* Fix Vivant Xorg driver to rdepends on Xorg EXA module;
* Minor cleanup in Xorg driver packaging;

Known issues:

* Xorg driver segfaults when starting X server;

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

--
1.7.10.4


[meta-fsl-arm][PATCH v2 01/10] firmware-imx: Add 12.09.01 version

Otavio Salvador
 

Change-Id: Ibfff91ed18a37ccac52ab1b19f8265dc8f86f03b
Signed-off-by: Otavio Salvador <otavio@...>
---
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

diff --git a/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb b/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
new file mode 100644
index 0000000..69e3381
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
@@ -0,0 +1,8 @@
+require firmware-imx.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "973fde728ab6e6be1d02954051233141"
+SRC_URI[sha256sum] = "6836ef21b0649670c8f0a0f3388f08dba620c6dea73fdf918959b3e5f965bc66"
+
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4


[meta-fsl-arm][PATCH v2 02/10] imx-base.inc: Add iMX6 firmware information

Otavio Salvador
 

Signed-off-by: Otavio Salvador <otavio@...>
---
conf/machine/include/imx-base.inc | 2 ++
1 file changed, 2 insertions(+)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index ed1aec6..0c2f10d 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -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"
--
1.7.10.4


[meta-fsl-arm][PATCH v2 03/10] imx-lib: Add 12.09.01 version

Otavio Salvador
 

Change-Id: If634d229e9722f35430637bb22ab2146010468e6
Signed-off-by: Otavio Salvador <otavio@...>
---
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

diff --git a/recipes-multimedia/imx-lib/imx-lib.inc b/recipes-multimedia/imx-lib/imx-lib.inc
index 6832048..9dae521 100644
--- a/recipes-multimedia/imx-lib/imx-lib.inc
+++ b/recipes-multimedia/imx-lib/imx-lib.inc
@@ -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"
diff --git a/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb b/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
new file mode 100644
index 0000000..8878f40
--- /dev/null
+++ b/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
@@ -0,0 +1,8 @@
+include imx-lib.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "1ec3b9bcfaf9c0eba4babc2a3b56a5bb"
+SRC_URI[sha256sum] = "9af3d62f70f1efcecd62eadb4d79ded64a699ca9e162c7494c51eb7afee0810d"
+
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4


[meta-fsl-arm][PATCH v2 04/10] imx-test: Add 12.09.01 version

Otavio Salvador
 

Change-Id: Iad766a8438472ba69a24471e9b6094878d1a1914
Signed-off-by: Otavio Salvador <otavio@...>
---
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

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index cfed77c..52ead1c 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3

INC_PR = "r6"

+PLATFORM_mx6 = "IMX6Q"
PLATFORM_mx53 = "IMX53"
PLATFORM_mx51 = "IMX51"

diff --git a/recipes-bsp/imx-test/imx-test_12.09.01.bb b/recipes-bsp/imx-test/imx-test_12.09.01.bb
new file mode 100644
index 0000000..c1243ca
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test_12.09.01.bb
@@ -0,0 +1,8 @@
+include imx-test.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "422f08ae12c084a2e6b213a034588318"
+SRC_URI[sha256sum] = "410cb1b1942eefb7b6beee9a0554cf65c8c5fc4069d88f1ac2eda22b3edb655c"
+
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4


[meta-fsl-arm][PATCH v2 05/10] gpu-viv-bin-mx6q: Add Vivant GPU libraries

Otavio Salvador
 

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

Change-Id: If21cf21535fc8ec4a0a1117974a8cb1f43499f66
Signed-off-by: Adrian Alonso <aalonso00@...>
Signed-off-by: Otavio Salvador <otavio@...>
---
.../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

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..4dbed04
--- /dev/null
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -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)"
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


[meta-fsl-arm][PATCH v2 06/10] xf86-dri-vivante: Add Vivant DRI driver for Xorg

Otavio Salvador
 

From: Adrian Alonso <aalonso00@...>

Change-Id: I07eeb3ce0960021a12c04a38447c379318821f75
Signed-off-by: Adrian Alonso <aalonso00@...>
---
.../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


[meta-fsl-arm][PATCH v2 07/10] xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs

Otavio Salvador
 

From: Adrian Alonso <aalonso00@...>

Change-Id: I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650
Signed-off-by: Adrian Alonso <aalonso00@...>
Signed-off-by: Otavio Salvador <otavio@...>
---
.../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@...>
+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@...>
+---
+ 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


[meta-fsl-arm][PATCH v2 08/10] mesa-dri: Change provided set of libraries when building for iMX6

Otavio Salvador
 

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

Change-Id: Ica3e05ade74ccc8c8c2090cac2c2f9e72fb0f66d
Signed-off-by: Otavio Salvador <otavio@...>
---
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


[meta-fsl-arm][PATCH v2 09/10] imx-base: Use xf86-video-imxfb-vivant for iMX6 targets

Otavio Salvador
 

Change-Id: I9fb4fa04aef988fb8fd3105ab9444276ea0cbc29
Signed-off-by: Adrian Alonso <aalonso00@...>
Signed-off-by: Otavio Salvador <otavio@...>
---
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


[meta-fsl-arm][PATCH v2 10/10] xserver-xf86-config: Use Vivant accelerated driver for iMX6

Otavio Salvador
 

Change-Id: Ief51e752d58efbdf5412c93a786c442e3531a961
Signed-off-by: Adrian Alonso <aalonso00@...>
Signed-off-by: Otavio Salvador <otavio@...>
---
.../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


Re: [meta-fsl-arm][PATCH v2 01/10] firmware-imx: Add 12.09.01 version

Adrian Alonso <aalonso00@...>
 

Ack

On Wed, Nov 21, 2012 at 2:06 PM, Otavio Salvador
<otavio@...> wrote:
Change-Id: Ibfff91ed18a37ccac52ab1b19f8265dc8f86f03b
Signed-off-by: Otavio Salvador <otavio@...>
---
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

diff --git a/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb b/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
new file mode 100644
index 0000000..69e3381
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-imx_12.09.01.bb
@@ -0,0 +1,8 @@
+require firmware-imx.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "973fde728ab6e6be1d02954051233141"
+SRC_URI[sha256sum] = "6836ef21b0649670c8f0a0f3388f08dba620c6dea73fdf918959b3e5f965bc66"
+
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4

_______________________________________________
meta-freescale mailing list
meta-freescale@...
https://lists.yoctoproject.org/listinfo/meta-freescale


--
Saludos
Adrian Alonso
http://aalonso.wordpress.com


Re: [meta-fsl-arm][PATCH v2 04/10] imx-test: Add 12.09.01 version

Daiane
 

acked-by: Daiane Angolini <daiane.angolini@...>


Re: [meta-fsl-arm][PATCH v2 03/10] imx-lib: Add 12.09.01 version

Daiane
 

acked-by: Daiane Angolini <daiane.angolini@...>


Re: [meta-fsl-arm][PATCH v2 02/10] imx-base.inc: Add iMX6 firmware information

Daiane
 

acked-by: Daiane Angolini <daiane.angolini@...>


Re: [meta-fsl-arm][PATCH 00/10] iMX6 Yocto Support based on 12.09.01 BSP

Fabio Estevam
 

On Wed, Nov 21, 2012 at 10:38 AM, Otavio Salvador
<otavio@...> wrote:

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

41 - 60 of 24851