imx-vpu (3.10.9-1.0.0): Use imx-vpu.inc to avoid code duplication
PATCH 1/6 imx-vpu (3.10.9-1.0.0): Use imx-vpu.inc to avoid code duplication
The code in 3.10.9-1.0.0 version was duplicating the logic used in the imx-vpu.inc so we removed this duplication.
--- recipes-bsp/imx-vpu/imx-vpu.inc | 1 + recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb | 16 +--------------- 2 files changed, 2 insertions(+), 15 deletions(-)
recipes-bsp/imx-vpu/imx-vpu.inc +1 -0
@@ -6,6 +6,7 @@ DEPENDS = "virtual/kernel" inherit fsl-eula-unpack PLATFORM_mx5 = "IMX51" +PLATFORM_mx6 = "IMX6Q" SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb +1 -15
@@ -1,23 +1,9 @@ # Copyright (C) 2013 Freescale Semiconductor - -require recipes-bsp/imx-lib/imx-lib.inc - -inherit fsl-eula-unpack - -DESCRIPTION = "Freescale VPU library" -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54" +require imx-vpu.inc PE = "1" -SRC_URI = "${FSL_MIRROR}/imx-vpu-${PV}.bin;fsl-eula=true" SRC_URI[md5sum] = "61331c9ed2d4c1b3aeab9c35fd034ac3" SRC_URI[sha256sum] = "5dd86a26c8d3013e0d78308b1ccd8815730818e465787f55013b492d2d3c7710" -do_compile () { - INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" - - oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all -} - COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.8.4.rc3
PATCH 2/6 libfslcodec: Update to 3.0.9
From: Lauren Post <[email protected]>
Released with 3.10.9-1.0.0 release
--- recipes-multimedia/libfslcodec/libfslcodec.inc | 8 +++++--- recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb | 13 ------------- recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb | 13 +++++++++++++ 3 files changed, 18 insertions(+), 16 deletions(-) delete mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb
recipes-multimedia/libfslcodec/libfslcodec.inc +5 -3
@@ -3,7 +3,7 @@ DESCRIPTION = "Freescale Multimedia codec libs" LICENSE = "Proprietary" SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" +LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6" inherit fsl-eula-unpack autotools pkgconfig
@@ -44,8 +44,9 @@ 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 textrel") + d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel dev-so") d.setVar("DEBIAN_NOAUTONAME_%s" % p, "1") # Allow addition of all codecs in a image; useful specially for
@@ -58,7 +59,8 @@ python populate_packages_prepend() { FILES_${PN} = "" FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \ - ${libdir}/imx-mm/*/*/*${SOLIBSDEV}" + ${libdir}/imx-mm/*/*/*${SOLIBSDEV} \ + ${libdir}/pkgconfig/*.pc ${includedir}/imx-mm/*" # FIXME: The wrap and lib names does not match FILES_${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm*_elinux.so.*"
recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb deleted +0 -13
@@ -1,13 +0,0 @@ -# Copyright (C) 2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) - -require libfslcodec.inc - -# FIXME: Inspecting the source code the content is in fact 3.0.8 -SRC_URI = "${FSL_MIRROR}/${PN}-3.5.7-1.0.0.bin;fsl-eula=true" -S = "${WORKDIR}/${PN}-3.5.7-1.0.0" - -SRC_URI[md5sum] = "bfdae0e2c6f7355c370c9bb6cd3ab9f9" -SRC_URI[sha256sum] = "657a1a67e26889efcecd8272a4420d88c0fc2a103d6551d0f126d8fe8c333a39" - -COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb new file +13 -0
@@ -0,0 +1,13 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +require libfslcodec.inc + +# FIXME: Inspecting the source code the content is in fact 3.0.9 +SRC_URI = "${FSL_MIRROR}/${PN}-3.10.9-1.0.0.bin;fsl-eula=true" +S = "${WORKDIR}/${PN}-3.10.9-1.0.0" + +SRC_URI[md5sum] = "8fd6f1f4f7a504adfc27c1f73de554b4" +SRC_URI[sha256sum] = "76a8a93d452db07e2531fbbc6dc1cbdf21943e6b3dfa1b2435faf5b356819f95" + +COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
Signature · 1 line
1.8.4.rc3
PATCH 3/6 libfslvpuwrap: Update to 1.0.40
In reply to Otavio SalvadorFrom: Lauren Post <[email protected]>
Released with 3.10.9-1.0.0_alpha
--- .../libfslvpuwrap/libfslvpuwrap_1.0.38.bb | 26 ---------------------- .../libfslvpuwrap/libfslvpuwrap_1.0.40.bb | 24 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 26 deletions(-) delete mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.38.bb create mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.40.bb
recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.38.bb deleted +0 -26
@@ -1,26 +0,0 @@ -# Copyright (C) 2012-2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) -DESCRIPTION = "Freescale Multimedia VPU wrapper" -DEPENDS = "imx-lib" -LICENSE = "Proprietary" -SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" -DEPENDS = "imx-lib" - -inherit fsl-eula-unpack autotools pkgconfig - -SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" -SRC_URI[md5sum] = "bb7d7500705f9cc433ba04a21995c608" -SRC_URI[sha256sum] = "57004df11e5e2f5e96033d87e85ef8c7791d57cf747db9fb41d49c4d1f38ec15" - -# FIXME: Inspecting the source code the content is in fact 1.0.38 -SRC_URI = "${FSL_MIRROR}/${PN}-3.5.7-1.0.0.bin;fsl-eula=true" -S = "${WORKDIR}/${PN}-3.5.7-1.0.0" - -do_install_append() { - # FIXME: Drop examples for now - rm -r ${D}${datadir}/imx-mm -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(mx6)"
recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.40.bb new file +24 -0
@@ -0,0 +1,24 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) +DESCRIPTION = "Freescale Multimedia VPU wrapper" +DEPENDS = "imx-vpu" +LICENSE = "Proprietary" +SECTION = "multimedia" +LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6" + +# FIXME: Inspecting the source code the content is in fact 1.0.40 +SRC_URI = "${FSL_MIRROR}/${PN}-3.10.9-1.0.0.bin;fsl-eula=true" +SRC_URI[md5sum] = "25891ef8d92e82d9b2e999a74a327971" +SRC_URI[sha256sum] = "84d610c478963e7b6a9660a38547b5365ca910159972b3860d7356aee33b9b41" + +S = "${WORKDIR}/${PN}-3.10.9-1.0.0" + +inherit fsl-eula-unpack autotools pkgconfig + +do_install_append() { + # FIXME: Drop examples for now + rm -r ${D}${datadir}/imx-mm +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6s)"
Signature · 1 line
1.8.4.rc3
PATCH 4/6 libfslparser: Update to 3.0.9
In reply to Otavio SalvadorFrom: Lauren Post <[email protected]>
Released with 3.10.9-1.0.0_alpha release
--- recipes-multimedia/libfslparser/libfslparser.inc | 5 ++++- recipes-multimedia/libfslparser/libfslparser_3.0.8.bb | 13 ------------- recipes-multimedia/libfslparser/libfslparser_3.0.9.bb | 13 +++++++++++++ 3 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.8.bb create mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.9.bb
recipes-multimedia/libfslparser/libfslparser.inc +4 -1
@@ -3,12 +3,15 @@ DESCRIPTION = "Freescale Multimedia parser libs" LICENSE = "Proprietary" SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" +LIC_FILES_CHKSUM = "file://COPYING;md5=93b784b1c11b3fffb1638498a8dde3f6" inherit fsl-eula-unpack autotools pkgconfig SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" +# Choose between Soft Float-Point and Hard Float-Point +EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d)}" + INHIBIT_PACKAGE_DEBUG_SPLIT = "1" python populate_packages_prepend() {
recipes-multimedia/libfslparser/libfslparser_3.0.8.bb deleted +0 -13
@@ -1,13 +0,0 @@ -# Copyright (C) 2012-2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) - -require libfslparser.inc - -# FIXME: Inspecting the source code the content is in fact 3.0.8 -SRC_URI = "${FSL_MIRROR}/${PN}-3.5.7-1.0.0.bin;fsl-eula=true" -S = "${WORKDIR}/${PN}-3.5.7-1.0.0" - -SRC_URI[md5sum] = "67e02486fba970a922f1e0ab686b9ab0" -SRC_URI[sha256sum] = "757640954637599159f7491942723a3bd59abd2474785f6ba31bbdd06d06fe45" - -COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
recipes-multimedia/libfslparser/libfslparser_3.0.9.bb new file +13 -0
@@ -0,0 +1,13 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +require libfslparser.inc + +# FIXME: Inspecting the source code the content is in fact 3.0.9 +SRC_URI = "${FSL_MIRROR}/${PN}-3.10.9-1.0.0.bin;fsl-eula=true" +S = "${WORKDIR}/${PN}-3.10.9-1.0.0" + +SRC_URI[md5sum] = "655970eb7389860a58cfd3c1e7d3efcf" +SRC_URI[sha256sum] = "bcef8a03d935ac52d2cba8b9aec664906d63cea31d37c05b0bad11dd38fbefca" + +COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
Signature · 1 line
1.8.4.rc3
PATCH 5/6 gst-fsl-plugin.inc: Fix runtime dependencies for special/excluded
In reply to Otavio SalvadorThe special and excluded plugins require explicit runtime dependencies so those are add throught PACKAGECONFIG.
--- recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +6 -6
@@ -35,14 +35,14 @@ PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \ # FIXME: Add all features # feature from excluded mm packages -PACKAGECONFIG[ac3] += "--enable-ac3dec,--disable-ac3dec,libfslac3codec" +PACKAGECONFIG[ac3] += "--enable-ac3dec,--disable-ac3dec,libfslac3codec,libfslac3codec" # feature from special mm packages -PACKAGECONFIG[aacp] += "--enable-aacpdec,--disable-aacpdec,libfslaacpcodec" +PACKAGECONFIG[aacp] += "--enable-aacpdec,--disable-aacpdec,libfslaacpcodec,libfslaacpcodec" MSDEPENDS = "libfslmsparser libfslmscodec" -PACKAGECONFIG[wma10dec] +="--enable-wma10dec,--disable-wma10dec,${MSDEPENDS}" -PACKAGECONFIG[wma8enc] +="--enable-wma8enc,--disable-wma8enc,${MSDEPENDS}" -PACKAGECONFIG[wmv9mpdec] +="--enable-wmv9mpdec,--disable-wmv9mpdec,${MSDEPENDS}" -PACKAGECONFIG[wmv78dec] +="--enable-wmv78dec,--disable-wmv78dec,${MSDEPENDS}" +PACKAGECONFIG[wma10dec] +="--enable-wma10dec,--disable-wma10dec,${MSDEPENDS},${MSDEPENDS}" +PACKAGECONFIG[wma8enc] +="--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}" +PACKAGECONFIG[wmv9mpdec] +="--enable-wmv9mpdec,--disable-wmv9mpdec,${MSDEPENDS},${MSDEPENDS}" +PACKAGECONFIG[wmv78dec] +="--enable-wmv78dec,--disable-wmv78dec,${MSDEPENDS},${MSDEPENDS}" FILES_${PN} = "${libdir}/gstreamer-0.10/*.so ${datadir}" RDEPENDS_${PN} += "gst-plugins-good-id3demux libfslparser"
Signature · 1 line
1.8.4.rc3
PATCH 6/6 gst-fsl-plugin: Update to 3.0.9
In reply to Otavio SalvadorFrom: Lauren Post <[email protected]>
This changes the gst-fsl-plugin.inc to include the 'uapi' into include paths for kernels >= 3.10 and adds the need changes to proper build for i.MX6 and i.MX6SL (which does not has VPU support).
--- recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 10 ++-- ...c-Use-pkg-config-sysroot-when-checking-fo.patch | 58 ---------------------- .../remove-GST_INFO-in-mfw_gst_utils.h.patch | 40 +++++++++++++++ .../gst-plugins/gst-fsl-plugin_3.0.8.bb | 15 ------ .../gst-plugins/gst-fsl-plugin_3.0.9.bb | 15 ++++++ 5 files changed, 61 insertions(+), 77 deletions(-) delete mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin/configure.ac-Use-pkg-config-sysroot-when-checking-fo.patch create mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch delete mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.8.bb create mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.9.bb
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +6 -4
@@ -7,7 +7,8 @@ SECTION = "multimedia" DEPENDS = "gstreamer gst-plugins-base libfslcodec libfslparser virtual/kernel" DEPENDS_append_mx5 = " imx-lib imx-vpu" -DEPENDS_append_mx6 = " imx-lib libfslvpuwrap" +DEPENDS_append_mx6 = " imx-lib imx-vpu libfslvpuwrap" +DEPENDS_append_mx6sl = " imx-lib" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
@@ -21,12 +22,13 @@ inherit autotools pkgconfig PLATFORM_mx5 = "MX51" PLATFORM_mx6 = "MX6" +PLATFORM_mx6sl = "MX6SL" PLATFORM_mx28 = "MX28" # 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" +INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" +EXTRA_OEMAKE = "INCLUDES="${INCLUDE_DIR}"" +EXTRA_OECONF = "PLATFORM=${PLATFORM} --disable-valgrind --disable-examples --disable-debug CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}" CACHED_CONFIGUREVARS += "CROSS_ROOT=${STAGING_DIR_TARGET}" PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
recipes-multimedia/gst-plugins/gst-fsl-plugin/configure.ac-Use-pkg-config-sysroot-when-checking-fo.patch deleted +0 -58
58 lines not on this page · raw message
recipes-multimedia/gst-plugins/gst-fsl-plugin/remove-GST_INFO-in-mfw_gst_utils.h.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 28ad25933dc51d8af13927a9943a353677c31a3a Mon Sep 17 00:00:00 2001 +From: Lyon Wang <[email protected]> +Date: Tue, 22 Oct 2013 16:15:43 +0800 +Subject: [PATCH] remove GST_INFO in mfw_gst_utils.h + +GST_INFO() should not be used in the global header +or it will cause some macro definiation error. + +so comment the GST_INFO() in the mfw_gst_utils.h + +Upstream-Status: Backport [GIT] +--- + inc/plugin/mfw_gst_utils.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/inc/plugin/mfw_gst_utils.h b/inc/plugin/mfw_gst_utils.h +index 366d50e..c1b6f90 100755 +--- a/inc/plugin/mfw_gst_utils.h ++++ b/inc/plugin/mfw_gst_utils.h +@@ -876,7 +876,7 @@ getChipCodeFromSocid (void) + } + fclose(fp); + +- GST_INFO("SOC is %s\n", soc_name); ++ //GST_INFO("SOC is %s\n", soc_name); + + int num = sizeof(soc_info) / sizeof(SOC_INFO); + int i; +@@ -913,7 +913,7 @@ getChipCode (void) + } + + kv = ((kv_major << 16) + (kv_minor << 8) + kv_rel); +- GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel); ++ //GST_INFO("kernel:%s, %d.%d.%d\n", sys_name.release, kv_major, kv_minor, kv_rel); + + if (kv < KERN_VER(3, 10, 0)) + return getChipCodeFromCpuinfo(); +-- +1.7.9.5 +
recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.8.bb deleted +0 -15
@@ -1,15 +0,0 @@ -# Copyright (C) 2012-2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) - -require gst-fsl-plugin.inc - -SRC_URI[md5sum] = "fe298c831e107ae5b93df05c4c29bb65" -SRC_URI[sha256sum] = "6c3215f24dedabf97ad6a7bd5c8d088b01dc4cd4792c56e0df353ae03adb35ff" - -# FIXME: Inspecting the source code the content is in fact 3.0.8 -SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-3.5.7-1.0.0.tar.gz" -S = "${WORKDIR}/gst-fsl-plugins-3.5.7-1.0.0" - -SRC_URI_append += "file://configure.ac-Use-pkg-config-sysroot-when-checking-fo.patch" - -COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.9.bb new file +15 -0
@@ -0,0 +1,15 @@ +# Copyright (C) 2013 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +require gst-fsl-plugin.inc + +# FIXME: Inspecting the source code the content is in fact 3.0.9 +SRC_URI = "${FSL_MIRROR}/gst-fsl-plugins-3.10.9-1.0.0.tar.gz \ + file://remove-GST_INFO-in-mfw_gst_utils.h.patch" + +SRC_URI[md5sum] = "a338a5c25225c765ae5f44af82fe7413" +SRC_URI[sha256sum] = "e809daa0cd60381f05a79f34a53305a5ee53bfed22192a1cda6d998acc84a6fd" + +S = "${WORKDIR}/gst-fsl-plugins-3.10.9-1.0.0" + +COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
Signature · 1 line
1.8.4.rc3