Date   

How to build & boot

Gary Thomas <samoht.yrag@...>
 

Here's what I did, trying to follow the directions at

Using this configuration:
Build Configuration:
BB_VERSION = "1.16.0"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "imx6qsabrelite"
DISTRO = "poky"
DISTRO_VERSION = "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "danny:27af23e65f63b41962a7cfddba9e9372d5212396"
meta-fsl-arm = "master:77a0c5c41bde8237edf64cda0e8eb5d4c8b76970"
meta-fsl-demos = "master:430c3baf4a6781256e9a0cb1e5647c071c732c18"
meta-oe = "danny:f8ad0760abf8055bac27036853c56f56b40a36c7"
My local.conf file is attached.

I then built using 'bitbake core-image-sato' which yielded:
[gthomas@titan imx_danny]$ ls tmp/deploy/images/ -l
total 388368
-rw-r--r-- 1 gthomas gthomas 218103808 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
-rw-r--r-- 1 gthomas gthomas 234881024 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
-rw-r--r-- 1 gthomas gthomas 44111182 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
lrwxrwxrwx 1 gthomas gthomas 57 Nov 26 16:32 core-image-sato-imx6qsabrelite.ext3 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
lrwxrwxrwx 1 gthomas gthomas 59 Nov 26 16:32 core-image-sato-imx6qsabrelite.sdcard -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
lrwxrwxrwx 1 gthomas gthomas 60 Nov 26 16:32 core-image-sato-imx6qsabrelite.tar.bz2 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
-rw-rw-r-- 1 gthomas gthomas 410329 Nov 26 15:20 modules-3.0.35-12.09.01+yocto+geaaf30e-r32.3-imx6qsabrelite.tgz
-rw-rw-r-- 1 gthomas gthomas 294 Nov 26 16:25 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
lrwxrwxrwx 1 gthomas gthomas 37 Nov 26 16:25 u-boot.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
lrwxrwxrwx 1 gthomas gthomas 37 Nov 26 16:25 u-boot-imx6qsabrelite.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
-rwxr-xr-x 1 gthomas gthomas 269520 Nov 26 16:25 u-boot-imx6qsabrelite-v2012.10-r1.imx
lrwxrwxrwx 1 gthomas gthomas 53 Nov 26 15:20 uImage -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
-rw-r--r-- 1 gthomas gthomas 3833708 Nov 26 15:20 uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
lrwxrwxrwx 1 gthomas gthomas 53 Nov 26 15:20 uImage-imx6qsabrelite.bin -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin

I created my SD card via
% sudo dd if=tmp/deploy/images/core-image-sato-imx6qsabrelite.sdcard of=/dev/sdc bs=1M

Sadly, this doesn't boot at all. I can tell that the SD image does not have U-Boot on
it, so the board is booting U-Boot from FLASH which is quite old:
U-Boot 2009.08 (Jul 05 2012 - 15:37:27)

How do I build an SD card image which uses the U-Boot built by this process
and actually boots?

Thanks for any pointers. I'd sure like to get this running X when built using Yocto.


Re: How to build & boot

Fabio Estevam
 

On Mon, Nov 26, 2012 at 10:26 PM, Gary Thomas <samoht.yrag@...> wrote:

Sadly, this doesn't boot at all. I can tell that the SD image does not have
U-Boot on
it, so the board is booting U-Boot from FLASH which is quite old:
U-Boot 2009.08 (Jul 05 2012 - 15:37:27)
There is a workaround that allows you to boot from the SD card and it
is described at:
http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx6qsabrelite/README;h=6f2f5343de29a539c11dbe59181d96c4e1dfde93;hb=HEAD

Regards,

Fabio Estevam


Re: How to build & boot

Gary Thomas <samoht.yrag@...>
 

On 2012-11-26 17:26, Gary Thomas wrote:
Here's what I did, trying to follow the directions at
Oops - the page I referred to was
https://github.com/Freescale/Documentation/wiki/Build-and-Flash-the-SD-card-Image


Using this configuration:
Build Configuration:
BB_VERSION = "1.16.0"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "imx6qsabrelite"
DISTRO = "poky"
DISTRO_VERSION = "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "danny:27af23e65f63b41962a7cfddba9e9372d5212396"
meta-fsl-arm = "master:77a0c5c41bde8237edf64cda0e8eb5d4c8b76970"
meta-fsl-demos = "master:430c3baf4a6781256e9a0cb1e5647c071c732c18"
meta-oe = "danny:f8ad0760abf8055bac27036853c56f56b40a36c7"
My local.conf file is attached.

I then built using 'bitbake core-image-sato' which yielded:
[gthomas@titan imx_danny]$ ls tmp/deploy/images/ -l
total 388368
-rw-r--r-- 1 gthomas gthomas 218103808 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
-rw-r--r-- 1 gthomas gthomas 234881024 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
-rw-r--r-- 1 gthomas gthomas 44111182 Nov 26 16:32 core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
lrwxrwxrwx 1 gthomas gthomas 57 Nov 26 16:32 core-image-sato-imx6qsabrelite.ext3 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.ext3
lrwxrwxrwx 1 gthomas gthomas 59 Nov 26 16:32 core-image-sato-imx6qsabrelite.sdcard -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.sdcard
lrwxrwxrwx 1 gthomas gthomas 60 Nov 26 16:32 core-image-sato-imx6qsabrelite.tar.bz2 -> core-image-sato-imx6qsabrelite-20121126231404.rootfs.tar.bz2
-rw-rw-r-- 1 gthomas gthomas 410329 Nov 26 15:20 modules-3.0.35-12.09.01+yocto+geaaf30e-r32.3-imx6qsabrelite.tgz
-rw-rw-r-- 1 gthomas gthomas 294 Nov 26 16:25 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
lrwxrwxrwx 1 gthomas gthomas 37 Nov 26 16:25 u-boot.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
lrwxrwxrwx 1 gthomas gthomas 37 Nov 26 16:25 u-boot-imx6qsabrelite.imx -> u-boot-imx6qsabrelite-v2012.10-r1.imx
-rwxr-xr-x 1 gthomas gthomas 269520 Nov 26 16:25 u-boot-imx6qsabrelite-v2012.10-r1.imx
lrwxrwxrwx 1 gthomas gthomas 53 Nov 26 15:20 uImage -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
-rw-r--r-- 1 gthomas gthomas 3833708 Nov 26 15:20 uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin
lrwxrwxrwx 1 gthomas gthomas 53 Nov 26 15:20 uImage-imx6qsabrelite.bin -> uImage-3.0.35-r32.3-imx6qsabrelite-20121126210918.bin

I created my SD card via
% sudo dd if=tmp/deploy/images/core-image-sato-imx6qsabrelite.sdcard of=/dev/sdc bs=1M

Sadly, this doesn't boot at all. I can tell that the SD image does not have U-Boot on
it, so the board is booting U-Boot from FLASH which is quite old:
U-Boot 2009.08 (Jul 05 2012 - 15:37:27)

How do I build an SD card image which uses the U-Boot built by this process
and actually boots?

Thanks for any pointers. I'd sure like to get this running X when built using Yocto.


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

Fabio Estevam
 

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 will take try to reproduce this when I have a chance.

Regards,

Fabio Estevam


Re: Perl & fsl-image-core

M P Sairam <sai438@...>
 

you can add the specific perl package to your local.conf file under conf folder of build directory.
It will be something like QorIQ-SDK-<your release string>/build_p2041ds_release/conf/local.conf
Add Entry IMAGE_INSTALL_append += "perl-modules"

I hope this will help.

Thanks,
sairam



On Mon, Nov 26, 2012 at 9:44 PM, Otavio Salvador <otavio@...> wrote:
On Mon, Nov 26, 2012 at 1:55 PM, GOPIKRISHNAN S <gopikrishnans@...> wrote:
>     Is there any way to include complete PERL with all the PERL Modules on
> to a fsl-image-core. Its coming on fsl-image-full, But missing on
> fsl-image-core.
>
>     Anybody worked on building PERL based package Makefile.pl like
> shorewall?

This is trivial todo; you can install perl-modules package in your
image however this is not an optmal solution and would be better if
you could package shorewall properly and make it depends on the need
modules set so you don't bloat the image.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@...  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
_______________________________________________
meta-freescale mailing list
meta-freescale@...
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-fsl-arm][PATCH 1/8] fsl-mm-codeclib.inc: Drop duplicated files definition

Daiane Angolini <daiane.angolini@...>
 

From: Otavio Salvador <otavio@...>

Change-Id: I3b0712bfe5f95659feecfe37dc1f29eb0c5f481d
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
index 313c149..2ec60be 100644
--- a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
+++ b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
@@ -8,7 +8,7 @@ DEPENDS = "pkgconfig"

LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"

-INC_PR = "r2"
+INC_PR = "r3"

INSANE_SKIP_${PN} = "ldflags"
INSANE_SKIP_${PN}-dev = "ldflags"
@@ -30,7 +30,4 @@ do_install () {
find ${D} -type f -exec chmod a-x '{}' ';'
}

-FILES_${PN} += "${libdir}/${SOLIBS}"
-FILES_${PN}-dev += "${libdir}/${SOLIBSDEV}"
-
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
1.7.5.4


[meta-fsl-arm][PATCH 2/8] libfslcodec: Add support for libfslcodec 3.0.1

Daiane Angolini <daiane.angolini@...>
 

This package is only compatible for imx6

Change-Id: Id98a267df62aade658c80468acd72d13dae27526
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslcodec/libfslcodec_3.0.1.bb | 58 ++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb

diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
new file mode 100644
index 0000000..c20e46a
--- /dev/null
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
@@ -0,0 +1,58 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia codec libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+SRC_URI[md5sum] = "9e0a765de73b32efa5d276fa90372ce1"
+SRC_URI[sha256sum] = "882f223375652b639b7167adca6858dd7c7f1f1cf4d3c6b5b62eec2466bd53be"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+PACKAGES_DYNAMIC = "${PN}-*"
+
+do_install_append() {
+ # FIXME: This link points to nowhere
+ rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
+
+ # LTIB move the files around or gst-fsl-plugin won't find them
+ for p in $(find ${D}${libdir}/imx-mm -mindepth 1 -maxdepth 1 -type d); do
+ mv $p/* ${D}${libdir}
+ rmdir $p
+ done
+ rmdir ${D}${libdir}/imx-mm
+
+ # FIXME: Drop examples
+ rm -r ${D}${datadir}/imx-mm
+}
+
+python populate_packages_prepend() {
+ do_split_packages(d, d.getVar('libdir', True), '^lib_(.*)_elinux\.so\..*',
+ aux_files_pattern_verbatim='${libdir}/lib_%s_elinux.so.*',
+ output_pattern='libfslcodec-audio-%s',
+ description='Freescale IMX Codec (%s)',
+ extra_depends='', prepend=True)
+
+ wrapdir = bb.data.expand('${libdir}/wrap', d)
+ do_split_packages(d, wrapdir, '^lib_(.*)_elinux\.so\..*',
+ aux_files_pattern_verbatim='${libdir}/wrap/lib_%s_elinux.so.*',
+ output_pattern='libfslcodec-audio-wrap-%s',
+ description='Freescale IMX Codec Wrap (%s)',
+ extra_depends='', prepend=True)
+
+ # 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.
+ for p in d.getVar('PACKAGES', True).split():
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+}
+
+# Ensure we get warnings if we miss something
+FILES_${PN} = ""
+
+FILES_${PN}-dev += "${libdir}/*/*${SOLIBSDEV} \
+ ${libdir}/*/*/*${SOLIBSDEV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


[meta-fsl-arm][PATCH 3/8] libfslparser: Add libfslparser 3.0.1 support

Daiane Angolini <daiane.angolini@...>
 

This package if for imx6 only.

Change-Id: If661edd86add2a0bcff3b3c38b394a5bdb63394e
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslparser/libfslparser_3.0.1.bb | 31 ++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.1.bb

diff --git a/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
new file mode 100644
index 0000000..f612b79
--- /dev/null
+++ b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia parser libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae"
+SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+do_install_append() {
+ # FIXME: The only parser outside imx-mm/parse is the mp3 so move it
+ mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/
+}
+
+python populate_packages_prepend() {
+ # 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.
+ # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
+ for p in d.getVar('PACKAGES', True).split():
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so")
+}
+
+# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
+FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


[meta-fsl-arm][PATCH 4/8] libfslvpuwrap: Add libfslvpuwrap 1.0.17 support

Daiane Angolini <daiane.angolini@...>
 

This package is for imx6 only.

Change-Id: I6697c7d6caa469261eb0a54001b456b4f69f5fd2
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslvpuwrap/libfslvpuwrap_1.0.17.bb | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb

diff --git a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb
new file mode 100644
index 0000000..cb109b2
--- /dev/null
+++ b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb
@@ -0,0 +1,16 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia VPU wrapper"
+DEPENDS = "imx-lib"
+LICENSE = "GPLv2"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit autotools pkgconfig
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "d1499b9da40db798a9b1ba932c6f9525"
+SRC_URI[sha256sum] = "4e0e79053b745d69aec9007216ae0017e719fb6459b4e54d30d6666625a03b0b"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


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

Daiane Angolini <daiane.angolini@...>
 

The source package gst-fsl-plugin for imx6 was wrapped with a
different name (gst-fsl-plugins) so to avoid duplicating we now
support to specify the source package to use.

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


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

Daiane Angolini <daiane.angolini@...>
 

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


[meta-fsl-arm][PATCH 7/8] gst-fsl-plugin: Add gst-fsl-plugin 3.0.1 support

Daiane Angolini <daiane.angolini@...>
 

Add PLATFORM 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


[meta-fsl-arm][PATCH 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


(No subject)

GOPIKRISHNAN S <gopikrishnans@...>
 

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



Re: How to build & boot

Gary Thomas <samoht.yrag@...>
 

On 2012-11-26 17:30, Fabio Estevam wrote:
On Mon, Nov 26, 2012 at 10:26 PM, Gary Thomas <samoht.yrag@...> wrote:

Sadly, this doesn't boot at all. I can tell that the SD image does not have
U-Boot on
it, so the board is booting U-Boot from FLASH which is quite old:
U-Boot 2009.08 (Jul 05 2012 - 15:37:27)
There is a workaround that allows you to boot from the SD card and it
is described at:
http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx6qsabrelite/README;h=6f2f5343de29a539c11dbe59181d96c4e1dfde93;hb=HEAD
I followed these instructions, but sadly my board is now a brick :-(

I think the .zip archive at https://wiki.linaro.org/Boards/MX6QSabreLite?action=AttachFile&do=view&target=iMX6DQ_SPI_to_SD_loader_binaries_rev1.0.zip
is damaged. Here's what I got when I unpacked it:
gthomas@zeus:/tmp/iMX6DQ_SPI_to_SD_loader_rev1.0$ ls -l
total 44
-rw-rw-r-- 1 gthomas gthomas 1647 Feb 4 2012 COPYING_BSD.txt
-rw-rw-r-- 1 gthomas gthomas 1136 Jan 5 2012 iMX6DQ_SPI_to_uSDHC3.bin
-rw-rw-r-- 1 gthomas gthomas 11656 Jan 5 2012 iMX6DQ_SPI_to_uSDHC3.elf
-rw-rw-r-- 1 gthomas gthomas 1136 Jan 5 2012 iMX6DQ_SPI_to_uSDHC4.bin
-rw-rw-r-- 1 gthomas gthomas 11656 Jan 5 2012 iMX6DQ_SPI_to_uSDHC4.elf
-rw-rw-r-- 1 gthomas gthomas 740 Feb 4 2012 Readme.txt

Notice that the iMX6DQ_SPI_to_uSDHC3.bin is TINY compared to the .elf file.
Looking at the headers:
gthomas@zeus:/tmp/iMX6DQ_SPI_to_SD_loader_rev1.0$ readelf -e iMX6DQ_SPI_to_uSDHC3.elf
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x90a42c
Start of program headers: 52 (bytes into file)
Start of section headers: 10236 (bytes into file)
Flags: 0x5000002, has entry point, Version5 EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 1
Size of section headers: 40 (bytes)
Number of section headers: 16
Section header string table index: 13

Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .ivt_start PROGBITS 0090a000 002000 00042c 00 AX 0 0 1
[ 2] .text.main PROGBITS 0090a42c 00242c 000044 00 AX 0 0 4
[ 3] .debug_abbrev PROGBITS 00000000 002470 000064 00 0 0 1
[ 4] .debug_info PROGBITS 00000000 0024d4 00009f 00 0 0 1
[ 5] .debug_line PROGBITS 00000000 002573 000052 00 0 0 1
[ 6] .debug_pubnames PROGBITS 00000000 0025c5 00001b 00 0 0 1
[ 7] .debug_aranges PROGBITS 00000000 0025e0 000020 00 0 0 1
[ 8] .debug_ranges PROGBITS 00000000 002600 000010 00 0 0 1
[ 9] .debug_str PROGBITS 00000000 002610 0000b5 01 MS 0 0 1
[10] .comment PROGBITS 00000000 0026c5 00002a 01 MS 0 0 1
[11] .ARM.attributes ARM_ATTRIBUTES 00000000 0026ef 000035 00 0 0 1
[12] .debug_frame PROGBITS 00000000 002724 000020 00 0 0 4
[13] .shstrtab STRTAB 00000000 002744 0000b5 00 0 0 1
[14] .symtab SYMTAB 00000000 002a7c 000230 10 15 30 4
[15] .strtab STRTAB 00000000 002cac 0000dc 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00908000 0x00908000 0x02470 0x02470 R E 0x8000

Section to Segment mapping:
Segment Sections...
00 .ivt_start .text.main

So, the .bin file should be 9238 (0x2470) bytes long, not just 1136.

Now I get to try and figure out the black magic involved in restoring the boot
loader environment to my board :-( Any help gladly accepted (the note at
https://wiki.linaro.org/Boards/MX6QSabreLite says to "write me" for help,
but I've not figured out yet where/who that is!)


Re: [meta-fsl-arm][PATCH] Remove warning about vivante driver being stripped

Otavio Salvador
 

On Mon, Nov 26, 2012 at 7:33 PM, Alexandre Belloni
<alexandre.belloni@...> wrote:
On Mon, Nov 26, 2012 at 04:34:24PM -0200, Otavio Salvador wrote :
On Mon, Nov 26, 2012 at 4:21 PM, Otavio Salvador
<otavio@...> wrote:
On Mon, Nov 26, 2012 at 3:56 PM, Alexandre Belloni
<alexandre.belloni@...> wrote:
Signed-off-by: Alexandre Belloni <alexandre.belloni@...>
Good catch! Did you check the code if it will warn if it has debug
symbols in the package? My concern here is if examples or other apps
has symbols if it is going to warn so we can fix it.
Looking at the python code it seems we ought to use:

INHIBIT_PACKAGE_STRIP = "1"
Just to be clear, you mean you want to use both
INHIBIT_PACKAGE_DEBUG_SPLIT = 1, to solve the warning issue and
INHIBIT_PACKAGE_STRIP = 1 ?

If I'm not mistaken, this will mean that unstripped binaries won't get
stripped. Is that what you want ?
Just INHIBIT_PACKAGE_DEBUG_SPLIT = 1, sorry if I confused you.

Regarding your patch, please:

* bump INC_PR;
* prefix short commit description with the recipe name you are changing;
Will do.
Good, thanks.

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


[PATCH v2 1/8] fsl-mm-codeclib.inc: Drop duplicated files definition

Daiane Angolini <daiane.angolini@...>
 

From: Otavio Salvador <otavio@...>

Change-Id: I3b0712bfe5f95659feecfe37dc1f29eb0c5f481d
Signed-off-by: Otavio Salvador <otavio@...>
---
recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
index 313c149..2ec60be 100644
--- a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
+++ b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc
@@ -8,7 +8,7 @@ DEPENDS = "pkgconfig"

LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"

-INC_PR = "r2"
+INC_PR = "r3"

INSANE_SKIP_${PN} = "ldflags"
INSANE_SKIP_${PN}-dev = "ldflags"
@@ -30,7 +30,4 @@ do_install () {
find ${D} -type f -exec chmod a-x '{}' ';'
}

-FILES_${PN} += "${libdir}/${SOLIBS}"
-FILES_${PN}-dev += "${libdir}/${SOLIBSDEV}"
-
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
1.7.5.4


[PATCH v2 2/8] libfslcodec: Add support for libfslcodec 3.0.1

Daiane Angolini <daiane.angolini@...>
 

This package is only compatible for imx6

fsl-mm-codeclib was divided in 3 pieces,
libfslcodec libfslvpuwrap and libfslparser.

Change-Id: Id98a267df62aade658c80468acd72d13dae27526
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslcodec/libfslcodec_3.0.1.bb | 59 ++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb

diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
new file mode 100644
index 0000000..68e2266
--- /dev/null
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
@@ -0,0 +1,59 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia codec libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+SRC_URI[md5sum] = "9e0a765de73b32efa5d276fa90372ce1"
+SRC_URI[sha256sum] = "882f223375652b639b7167adca6858dd7c7f1f1cf4d3c6b5b62eec2466bd53be"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+PACKAGES_DYNAMIC = "${PN}-*"
+
+do_install_append() {
+ # FIXME: This link points to nowhere
+ rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
+
+ # FIXME: Drop examples
+ rm -r ${D}${datadir}/imx-mm
+}
+
+python populate_packages_prepend() {
+ audiodir = bb.data.expand('${libdir}/imx-mm/audio-codec', d)
+ do_split_packages(d, audiodir, '^lib_(.*)_elinux\.so\..*',
+ aux_files_pattern_verbatim='${libdir}/imx-mm/audio-codec/lib_%s_elinux.so.*',
+ output_pattern='libfslcodec-audio-%s',
+ description='Freescale IMX Codec (%s)',
+ extra_depends='', prepend=True)
+
+ audiowrapdir = bb.data.expand('${libdir}/imx-mm/audio-codec/wrap', d)
+ do_split_packages(d, audiowrapdir, '^lib_(.*)_elinux\.so\..*',
+ aux_files_pattern_verbatim='${libdir}/imx-mm/audio-codec/wrap/lib_%s_elinux.so.*',
+ output_pattern='libfslcodec-audio-wrap-%s',
+ description='Freescale IMX Codec Wrap (%s)',
+ extra_depends='', prepend=True)
+
+ videodir = bb.data.expand('${libdir}/imx-mm/video-codec', d)
+ do_split_packages(d, videodir, '^lib_(.*)_elinux\.so\..*',
+ aux_files_pattern_verbatim='${libdir}/imx-mm/video-codec/lib_%s_elinux.so.*',
+ output_pattern='libfslcodec-video-%s',
+ description='Freescale IMX Codec (%s)',
+ extra_depends='', prepend=True)
+
+ # 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.
+ for p in d.getVar('PACKAGES', True).split():
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+}
+
+# Ensure we get warnings if we miss something
+FILES_${PN} = ""
+
+FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \
+ ${libdir}/imx-mm/*/*/*${SOLIBSDEV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


[PATCHv2 3/8] libfslparser: Add libfslparser 3.0.1 support

Daiane Angolini <daiane.angolini@...>
 

This package if only compatible for imx6.

fsl-mm-codeclib was divided in 3 pieces,
libfslcodec libfslvpuwrap and libfslparser.

Change-Id: If661edd86add2a0bcff3b3c38b394a5bdb63394e
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslparser/libfslparser_3.0.1.bb | 41 ++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.1.bb

diff --git a/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
new file mode 100644
index 0000000..4276784
--- /dev/null
+++ b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
@@ -0,0 +1,41 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia parser libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae"
+SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+PACKAGES_DYNAMIC = "${PN}-*"
+
+do_install_append() {
+ # FIXME: The only parser outside imx-mm/parse is the mp3 so move it
+ mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/
+}
+
+python populate_packages_prepend() {
+ parserdir = bb.data.expand('${libdir}/imx-mm/parser', d)
+ do_split_packages(d, parserdir, '^lib_(.*)_elinux\.so\.',
+ aux_files_pattern_verbatim='${libdir}/imx-mm/parser/lib_%s_elinux.so.*',
+ output_pattern='libfslparser-%s', recursive=True,
+ description='Freescale IMX Parser (%s)',
+ extra_depends='', prepend=True)
+
+ # 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.
+ for p in d.getVar('PACKAGES', True).split():
+ d.setVar("INSANE_SKIP_%s" % p, "ldflags")
+}
+
+# Ensure we get warnings if we miss something
+FILES_${PN} = ""
+
+FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4


[PATCHv2 4/8] libfslvpuwrap: Add libfslvpuwrap 1.0.17 support

Daiane Angolini <daiane.angolini@...>
 

This package is only compatible for imx6.

fsl-mm-codeclib was divided in 3 pieces,
libfslcodec libfslvpuwrap and libfslparser.

Change-Id: I6697c7d6caa469261eb0a54001b456b4f69f5fd2
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
.../libfslvpuwrap/libfslvpuwrap_1.0.17.bb | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb

diff --git a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb
new file mode 100644
index 0000000..cb109b2
--- /dev/null
+++ b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb
@@ -0,0 +1,16 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia VPU wrapper"
+DEPENDS = "imx-lib"
+LICENSE = "GPLv2"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit autotools pkgconfig
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "d1499b9da40db798a9b1ba932c6f9525"
+SRC_URI[sha256sum] = "4e0e79053b745d69aec9007216ae0017e719fb6459b4e54d30d6666625a03b0b"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
--
1.7.5.4

141 - 160 of 24854