Date   

[PATCHv2 5/8] gst-fsl-plugin.inc: Allow use of different source package

Daiane Angolini <daiane.angolini@...>
 

The package gst-fsl-plugin for imx6 was wrapped with a
different name (gst-fsl-plugins) so, in order to avoid duplicated
packaging, we now support different package names, and different
package source.

Change-Id: I866c2ffa7cb8a1aa7aaf7123bb8860116a54173d
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
index aea5d0e..5e71212 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
@@ -12,7 +12,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"

-SRC_URI = "${FSL_MIRROR}/gst-fsl-plugin-${PV}.tar.gz"
+PACKAGE_NAME ?= "${PN}"
+
+S = "${WORKDIR}/${PACKAGE_NAME}-${PV}"
+
+SRC_URI = "${FSL_MIRROR}/${PACKAGE_NAME}-${PV}.tar.gz"

inherit autotools pkgconfig

--
1.7.5.4


[PATCHv2 6/8] gst-fsl-plugin: Move fsl-mm-codeclib dependencies to 2.0.3 recipe

Daiane Angolini <daiane.angolini@...>
 

.inc file include fsl-mm-codeclib as a dependency for
gst-fsl-plugin, although, the upcoming gst-fsl-plugin
depends on libfslcodec.

DEPENDS and RDEPENDS is changed.

Change-Id: I9c6da35d7fb026cb1dd7ec77f67dcefc85adb53c
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 5 ++---
.../gst-plugins/gst-fsl-plugin_2.0.3.bb | 4 +++-
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
index 5e71212..1cc8d8e 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
@@ -4,9 +4,8 @@
DESCRIPTION = "Gstreamer freescale plugins"
LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1"
SECTION = "multimedia"
-DEPENDS = "gstreamer gst-plugins-base fsl-mm-codeclib imx-lib"
-RDEPENDS_${PN} = "fsl-mm-codeclib"
-INC_PR = "r8"
+DEPENDS = "gstreamer gst-plugins-base imx-lib"
+INC_PR = "r9"

LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb b/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb
index d9cb7ab..5db3f6f 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb
@@ -2,8 +2,10 @@
# Released under the MIT license (see COPYING.MIT for the terms)

require gst-fsl-plugin.inc
+DEPENDS += "fsl-mm-codeclib"
+RDEPENDS_${PN} = "fsl-mm-codeclib"

-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"

SRC_URI += "file://fix_segment_fault_in_v4lsink_for_yocto.patch"
SRC_URI[md5sum] = "036a8e86031b0670f41b10796e268f9e"
--
1.7.5.4


[PATCHv2 7/8] gst-fsl-plugin: Add gst-fsl-plugin 3.0.1 support

Daiane Angolini <daiane.angolini@...>
 

Add PLATFORM value for imx6 family.

Change-Id: I49d3fbaff5d619b9c5fd260b1c101a69b761c3df
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 4 +++-
.../gst-plugins/gst-fsl-plugin_3.0.1.bb | 15 +++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
create mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb

diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
index 1cc8d8e..854a5cd 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
@@ -20,13 +20,14 @@ SRC_URI = "${FSL_MIRROR}/${PACKAGE_NAME}-${PV}.tar.gz"
inherit autotools pkgconfig

PLATFORM_mx5 = "MX51"
+PLATFORM_mx6 = "MX6"

# Todo add a mechanism to map posible build targets
INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include"
EXTRA_OEMAKE = "INCLUDES=${INCLUDE_DIR}"
EXTRA_OECONF = "PLATFORM=${PLATFORM} --disable-valgrind --disable-examples --disable-debug"

-PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore \
+PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \
${PN}-libfwvss ${PN}-gplay"

@@ -38,6 +39,7 @@ FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
FILES_${PN}-gplay = "${bindir}/gplay"
FILES_${PN}-libmfwsconf = "${libdir}/libmfwsconf${SOLIBS}"
FILES_${PN}-libgplaycore = "${libdir}/libgplaycore${SOLIBS}"
+FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-0.10${SOLIBS}"
FILES_${PN}-libme = "${libdir}/libme${SOLIBS}"
FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta${SOLIBS}"
FILES_${PN}-libmfwba = "${libdir}/libmfwba${SOLIBS}"
diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb b/recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb
new file mode 100644
index 0000000..7d2760a
--- /dev/null
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb
@@ -0,0 +1,15 @@
+# Copyright (C) 2012 Freescale Semicondutor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require gst-fsl-plugin.inc
+
+DEPENDS += "libfslcodec libfslvpuwrap libfslparser"
+
+PR = "${INC_PR}.1"
+
+PACKAGE_NAME = "gst-fsl-plugins"
+
+SRC_URI[md5sum] = "9adf5e5c208989289075e6a5458a301a"
+SRC_URI[sha256sum] = "41b75d937ef0e511b21e22d7ddbb419c99dcf358bc6f581edc2c9056729bfa9b"
+
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


[PATCHv2 8/8] imx-base.inc: Allow mx6 to use accelerated codecs

Daiane Angolini <daiane.angolini@...>
 

Drop the limitation for mx6 family for gstreamer.
Allow mx6 family to use accelerated codecs for gstreamer.

Change-Id: I182d50b48b2979a680c0a0ba602f077f30136ce9
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
conf/machine/include/imx-base.inc | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index a920a4b..10d67ac 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -53,7 +53,6 @@ MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf"

# Gstreamer plugin
MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin"
-MACHINE_GSTREAMER_PLUGIN_mx6 = ""

PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-x11-bin-mx51"
PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-x11-bin-mx51"
--
1.7.5.4


[PATCH] packagegroup: Add v4l-utils to testapps

Daiane Angolini <daiane.angolini@...>
 

v4l-utils provides some simple user space application
used to test v4l layer.

Change-Id: Icf2bfefb1420c6e2bd9add7833734cfe7d9dcd8b
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
recipes-fsl/packagegroup/packagegroup-fsl.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes-fsl/packagegroup/packagegroup-fsl.bb b/recipes-fsl/packagegroup/packagegroup-fsl.bb
index 113767a..c94a3b3 100644
--- a/recipes-fsl/packagegroup/packagegroup-fsl.bb
+++ b/recipes-fsl/packagegroup/packagegroup-fsl.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

-PR = "r4"
+PR = "r5"

inherit packagegroup

@@ -52,6 +52,7 @@ RDEPENDS_${PN}-tools-testapps = " \
python-subprocess \
python-datetime \
python-json \
+ v4l-utils \
"

RDEPENDS_${PN}-tools-benchmark = " \
--
1.7.5.4


[meta-fsl-arm][PATCH 1/2] gpu-viv-bin-mx6q.inc: fix indentation

Alexandre Belloni <alexandre.belloni@...>
 

Signed-off-by: Alexandre Belloni <alexandre.belloni@...>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 83ab75a..895ff7e 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -52,7 +52,7 @@ do_install () {
cp ${S}/usr/lib/*.so ${D}${libdir}
cp -axr ${S}/usr/include/* ${D}${includedir}

- cp -axr ${S}/opt ${D}
+ cp -axr ${S}/opt ${D}

# Move DRI library to proper path
mv ${D}${libdir}/vivante_dri.so ${D}${libdir}/dri
--
1.7.9.5


[meta-fsl-arm][PATCH 2/2] gpu-viv-bin-mx6q.inc: remove warning about driver being stripped

Alexandre Belloni <alexandre.belloni@...>
 

Signed-off-by: Alexandre Belloni <alexandre.belloni@...>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 895ff7e..1f63a0b 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -7,7 +7,7 @@ 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"
+INC_PR = "r1"

inherit fsl-eula-unpack

@@ -33,6 +33,9 @@ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
libvivante-common-mx6 libvivante-common-mx6-dev libvivante-common-mx6-dbg \
"

+# Inhibit warnings about files being stripped.
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
# FIXME: The provided binary doesn't provide soname. If in future BSP
# release the libraries are fixed, we can drop this hack.
SOLIBS = "${SOLIBSDEV}"
--
1.7.9.5


Re: [meta-fsl-arm][PATCH 6/8] gst-fsl-plugin: Drop fsl-mm-codeclib from dependency

Otavio Salvador
 

On Tue, Nov 27, 2012 at 6:04 AM, Daiane Angolini
<daiane.angolini@...> wrote:
.inc file include fsl-mm-codeclib as a dependency for
gst-fsl-plugin, although, for next version dependency
will be on other package.

In fact, fsl-mm-codeclib become libfslcodelib in next
version.

DEPENDS and RDEPENDS is changed.

Change-Id: I9c6da35d7fb026cb1dd7ec77f67dcefc85adb53c
Signed-off-by: Daiane Angolini <daiane.angolini@...>
The only missing change I forgot to ask you is to change the commit
log. In fact you're not dropping it but moving to 2.0.3 recipe.

--
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 6/8] gst-fsl-plugin: Drop fsl-mm-codeclib from dependency

Daiane
 

The only missing change I forgot to ask you is to change the commit
log. In fact you're not dropping it but moving to 2.0.3 recipe.
You're right.

I will wait for other comments before sending v2.


Daiane


(No subject)

McClintock Matthew-B29882 <B29882@...>
 

On Tue, Nov 27, 2012 at 2:45 AM, GOPIKRISHNAN S <gopikrishnans@...> wrote:
I just did
$ rm -rf build<machine>
$ source ./fsl-setup-poky -m p2041rdb
$ bitbake fsl-image-minimal
$ bitbake vaminusers

Attached vaminusers.bb

Problem with useradd. First time
NOTE: package vaminusers-1.0-r0: task do_install: Started
ERROR: Function 'useradd_sysroot' failed (see
/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685
for further information)
ERROR: Logfile of failure stored in:
/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685
Log data follows:
| Running groupadd commands...
| Note: group vamin1 already exists, not re-creating it
| Note: group vamin already exists, not re-creating it
| Running useradd commands...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group,
use -g.
| WARNING: useradd command did not succeed. Retrying...
| ERROR: tried running useradd command 10 times without success, giving up
| ERROR: Function 'useradd_sysroot' failed (see
/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685
for further information)
NOTE: package vaminusers-1.0-r0: task do_install: Failed
ERROR: Task 2
(/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-testing/recipes/vaminusers/vaminusers.bb,
do_install) failed with exit code '1'
ERROR:
'/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-testing/recipes/vaminusers/vaminusers.bb'
failed
What distro are you building on?

-M


Re: [PATCHv2 6/8] gst-fsl-plugin: Move fsl-mm-codeclib dependencies to 2.0.3 recipe

Fabio Estevam
 

On Tue, Nov 27, 2012 at 10:03 AM, Daiane Angolini
<daiane.angolini@...> wrote:
.inc file include fsl-mm-codeclib as a dependency for
gst-fsl-plugin, although, the upcoming gst-fsl-plugin
depends on libfslcodec.

DEPENDS and RDEPENDS is changed.

Change-Id: I9c6da35d7fb026cb1dd7ec77f67dcefc85adb53c
Signed-off-by: Daiane Angolini <daiane.angolini@...>
When sending a v2 version, please write below the --- line what is the change.

Regards,

Fabio Estevam


[meta-fsl-arm][PATCH 1/5] mxsldr: Add recipe

Otavio Salvador
 

This provides an USB loader compatible with mxs SoCs and is specially
useful for toolchains.

Change-Id: I38d593ae84073b961b81ffc3714fde1c33fabb61
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-bsp/mxsldr/mxsldr_git.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-bsp/mxsldr/mxsldr_git.bb

diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
new file mode 100644
index 0000000..2c42b65
--- /dev/null
+++ b/recipes-bsp/mxsldr/mxsldr_git.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2012 O.S. Systems Software LTDA.
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader"
+DEPENDS = "libusb"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRCREV = "3463b576b67f03012a59cedd8e55e9d37c5cea76"
+SRC_URI = "git://git.bfuser.eu/git/marex/mxsldr.git;protocol=http"
+
+PV = "0.0.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"
--
1.7.10.4


[meta-fsl-arm][PATCH 2/5] amd-gpu-x11-bin-mx51: Use a python function to populate INSANE_SKIP

Otavio Salvador
 

To avoid manually set the INSANE_SKIP we use an annonymous python snip
to dynamically set it for every package so makeing it more robust and
easy to understand.

Change-Id: I337a407e4d561cdc213d6c6c1d0d5dc76d9ccd7a
Signed-off-by: Otavio Salvador <otavio@...>
---
.../amd-gpu-x11-bin-mx51_11.09.01.bb | 32 +++++---------------
1 file changed, 8 insertions(+), 24 deletions(-)

diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
index 19791be..66b22d8 100644
--- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
+++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
@@ -4,7 +4,7 @@
DESCRIPTION = "GPU driver and apps for x11 on mx51"
LICENSE = "Proprietary"
SECTION = "libs"
-PR = "r11"
+PR = "r12"

#todo: Replace for correct AMD license
LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802"
@@ -19,6 +19,13 @@ SRC_URI[sha256sum] = "c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408

inherit fsl-eula-unpack

+# 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 populate_packages_prepend() {
+ for p in d.getVar('PACKAGES', True).split():
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+}
+
do_install () {
install -d ${D}${libdir}
install -d ${D}${bindir}
@@ -49,56 +56,33 @@ PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \
lib2dz160-mx51 lib2dz160-mx51-dbg \
lib2dz430-mx51 lib2dz430-mx51-dbg"

-INSANE_SKIP_${PN} = "ldflags"
-
FILES_${PN}-dbg = "${bindir}/.debug/*"

FILES_libgsl-fsl-mx51 = "${libdir}/libgsl-fsl${SOLIBS}"
FILES_libgsl-fsl-mx51-dev = "${libdir}/libgsl-fsl${SOLIBSDEV}"
FILES_libgsl-fsl-mx51-dbg = "${libdir}/.debug/libgsl-fsl${SOLIBS}"

-INSANE_SKIP_libgsl-fsl-mx51 = "ldflags"
-INSANE_SKIP_libgsl-fsl-mx51-dev = "ldflags"
-INSANE_SKIP_libgsl-fsl-mx51-dbg = "ldflags"
-
FILES_libegl-mx51 = "${libdir}/libEGL${SOLIBS}"
FILES_libegl-mx51-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV}"
FILES_libegl-mx51-dbg = "${libdir}/.debug/libEGL${SOLIBS}"

-INSANE_SKIP_libegl-mx51 = "ldflags"
-INSANE_SKIP_libegl-mx51-dev = "ldflags"
-INSANE_SKIP_libegl-mx51-dbg = "ldflags"
-
FILES_libgles-mx51 = "${libdir}/libGLESv1*${SOLIBS}"
FILES_libgles-mx51-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV}"
FILES_libgles-mx51-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS}"
-INSANE_SKIP_libgles-mx51 = "ldflags"
-INSANE_SKIP_libgles-mx51-dev = "ldflags"
-INSANE_SKIP_libgles-mx51-dbg = "ldflags"

FILES_libgles2-mx51 = "${libdir}/libGLESv2${SOLIBS}"
FILES_libgles2-mx51-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}"
FILES_libgles2-mx51-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}"
-INSANE_SKIP_libgles2-mx51 = "ldflags"
-INSANE_SKIP_libgles2-mx51-dev = "ldflags"
-INSANE_SKIP_libgles2-mx51-dbg = "ldflags"

FILES_libopenvg-mx51 = "${libdir}/libOpenVG${SOLIBS}"
FILES_libopenvg-mx51-dev = "${includedir}/VG ${libdir}/libOpenVG${SOLIBSDEV}"
FILES_libopenvg-mx51-dbg = "${libdir}/.debug/libOpenVG${SOLIBS}"
-INSANE_SKIP_libopenvg-mx51 = "ldflags"
-INSANE_SKIP_libopenvg-mx51-dev = "ldflags"
-INSANE_SKIP_libopenvg-mx51-dbg = "ldflags"

FILES_lib2dz160-mx51 = "${libdir}/lib2dz160${SOLIBS}"
FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}"
-INSANE_SKIP_lib2dz160-mx51 = "ldflags"
-INSANE_SKIP_lib2dz160-mx51-dbg = "ldflags"

FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}"
FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}"
-INSANE_SKIP_lib2dz430-mx51 = "ldflags"
-INSANE_SKIP_lib2dz430-mx51-dbg = "ldflags"

COMPATIBLE_MACHINE = "(mx5)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
1.7.10.4


[meta-fsl-arm][PATCH 3/5] meta-toolchain: Include elftosb and mxsldr in toolchain

Otavio Salvador
 

Change-Id: I14bd48f6ef23232b184b477cb4d3322885530d11
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-core/meta/meta-toolchain.bbappend | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 recipes-core/meta/meta-toolchain.bbappend

diff --git a/recipes-core/meta/meta-toolchain.bbappend b/recipes-core/meta/meta-toolchain.bbappend
new file mode 100644
index 0000000..94d1d41
--- /dev/null
+++ b/recipes-core/meta/meta-toolchain.bbappend
@@ -0,0 +1,6 @@
+PRINC := "${@int(PRINC) + 1}"
+
+IMAGE_INSTALL += " \
+ elftosb-nativesdk \
+ mxsldr-nativesdk \
+"
--
1.7.10.4


[meta-fsl-arm][PATCH 4/5] imx-lib: Set PACKAGE_ARCH to MACHINE_ARCH

Otavio Salvador
 

The imx-lib needs to be build to the specific platform so it is
machine dependant requiring the set of PACKAGE_ARCH according.

Change-Id: I0b6eb8a85d5d47afd05736ef19f794ba7d5c2627
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-multimedia/imx-lib/imx-lib_11.09.01.bb | 1 +
recipes-multimedia/imx-lib/imx-lib_12.09.01.bb | 1 +
2 files changed, 2 insertions(+)

diff --git a/recipes-multimedia/imx-lib/imx-lib_11.09.01.bb b/recipes-multimedia/imx-lib/imx-lib_11.09.01.bb
index b041918..b08c560 100644
--- a/recipes-multimedia/imx-lib/imx-lib_11.09.01.bb
+++ b/recipes-multimedia/imx-lib/imx-lib_11.09.01.bb
@@ -7,4 +7,5 @@ SRC_URI += " file://0001-ENGR00156800-vpu-Fix-decoding-mp4PackedPBFrame-strea.pa
SRC_URI[md5sum] = "45574f8f32f7000ca11d585fa60dea8c"
SRC_URI[sha256sum] = "f151a8bb3099b596b5834a1139c19e526802e6a0aa965018d16375e7e1f48f27"

+PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mx5)"
diff --git a/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb b/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
index 8878f40..fd8ef87 100644
--- a/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
+++ b/recipes-multimedia/imx-lib/imx-lib_12.09.01.bb
@@ -5,4 +5,5 @@ PR = "${INC_PR}.0"
SRC_URI[md5sum] = "1ec3b9bcfaf9c0eba4babc2a3b56a5bb"
SRC_URI[sha256sum] = "9af3d62f70f1efcecd62eadb4d79ded64a699ca9e162c7494c51eb7afee0810d"

+PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mx6)"
--
1.7.10.4


[meta-fsl-arm][PATCH 5/5] imx-lib: Fix build system to allow override of CC and AR commands

Otavio Salvador
 

The build system should use CC and AR from environment if those are
set; this is need to allow cross building to work as it might need to
set sysroot options for gcc calls.

Change-Id: I8296709c59f0054eca830a06c3853893b88a5789
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-multimedia/imx-lib/imx-lib.inc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/recipes-multimedia/imx-lib/imx-lib.inc b/recipes-multimedia/imx-lib/imx-lib.inc
index 9dae521..7847bbe 100644
--- a/recipes-multimedia/imx-lib/imx-lib.inc
+++ b/recipes-multimedia/imx-lib/imx-lib.inc
@@ -5,7 +5,7 @@ LICENSE = "LGPLv2.1"
SECTION = "multimedia"
DEPENDS = "virtual/kernel"

-INC_PR = "r3"
+INC_PR = "r4"

LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e"

@@ -17,6 +17,11 @@ PLATFORM_mx5 = "IMX51"
PARALLEL_MAKE="-j 1"
EXTRA_OEMAKE = ""

+do_configure_append () {
+ # FIXME: The build system does not allow CC and AR to be overriden
+ find ${S} -name Makefile | xargs sed -i 's,^\(CC\|AR\)=,\1 ?=,g'
+}
+
do_compile () {
INCLUDE_DIR="-I${STAGING_INCDIR} -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
-I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include \
--
1.7.10.4


Re: [meta-fsl-arm][PATCH v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP

Otavio Salvador
 

On Fri, Nov 23, 2012 at 9:35 AM, Otavio Salvador
<otavio@...> wrote:
On Fri, Nov 23, 2012 at 9:18 AM, Daiane Angolini <daiane.list@...> wrote:
Overall GPU support is up and running (with and without X11)

Please, make sure commit log and subject was fixed, and
COMPATIBLE_MACHINE is set for any needed package.
I did it; this patchset is now merged! Yey!
I just merged the VPU patches as well :-)

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


iMX6 12.09.01 BSP support in meta-fsl-arm

Otavio Salvador
 

Hello,

Daiane has send the missing patch for VPU support and those are now
merged. This concludes the initial iMX6 12.09.01 BSP support.

Please give a good test on this and let us know of any issue.

Regards,

--
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 v3 0/8] iMX6 Yocto Support based on 12.09.01 BSP

Fabio Estevam
 

On Tue, Nov 27, 2012 at 1:13 AM, Fabio Estevam <festevam@...> wrote:
On Mon, Nov 26, 2012 at 4:57 PM, Otavio Salvador
<otavio@...> wrote:

In any case this seems to be kernel related and not a BSP issue.
Fabio, could you take a look?
The "failed to read firmware version" seems to be an I2C issue. The
I2C controllers send some commands to the panel, and it is failing.
I think the I2C read failure is normal, as the sabrelite panel is not egalax.

You should use the Hannstar panel.

Regards,

Fabio Estevam


Re: [PATCH] packagegroup: Add v4l-utils to testapps

Otavio Salvador
 

On Tue, Nov 27, 2012 at 10:52 AM, Daiane Angolini
<daiane.angolini@...> wrote:
v4l-utils provides some simple user space application
used to test v4l layer.

Change-Id: Icf2bfefb1420c6e2bd9add7833734cfe7d9dcd8b
Signed-off-by: Daiane Angolini <daiane.angolini@...>
Applied.

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