Commit Graph

107 Commits

Author SHA1 Message Date
Javier Viguera 0aa52b8a6e imx-codec: skip 'file-rdeps' QA check when building with MUSL
Otherwise there are QA check failures:

package imx-codec-test-bin requires librt.so.1, but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps]
package imx-codec-test-bin requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps]
...

This is due to the 'imx-codec-test-bin' package containing NXP-provided
pre-built binaries that are compiled with GLIBC.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-03 11:10:25 +01:00
Javier Viguera da46ed4a07 imx-gst1.0-plugin: fix build using MUSL C library
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2020-01-03 11:10:25 +01:00
Gabriel Valcazar 5424fb89db pulseaudio-init: cosmetic: add curly braces to variable expansions
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-10 16:15:40 +02:00
Gabriel Valcazar f3692de0c5 pulseaudio: let systemd know the PID of the pulseaudio daemon
Otherwise, systemd will have to guess the PID of the service's main process.
It guesses right most of the time, but sometimes it chooses the PID of the
original pulseaudio process instead of the daemon that gets forked off. This
caused the daemon to stop immediately after starting, breaking other apps that
require the pulseaudio server to be running.

Since the PID file is created in a user-specific runtime directory (and the
service is meant for the whole system), modify the wrapper script to create
a symlink to the PID file in a place where it can be obtained by systemd.

https://jira.digi.com/browse/DEL-6795

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-10-10 16:15:32 +02:00
Gabriel Valcazar b30c5fa07e pulseaudio: add a systemd service that starts pulseaudio for the entire system
The default service only starts once per non-root user. Add a service that
starts pulseaudio by default along with a wrapper script that sets the
necessary environment variables before launching the daemon.

https://jira.digi.com/browse/DEL-6746

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-10 12:14:49 +02:00
Gabriel Valcazar 6dee8a38a2 imx-alsa-plugins: use older revision for ccimx6/ccimx6qp
The most current revision is incompatible with the v4.9 Linux UAPI. Reverting
to the previous commit of the imx-alsa-plugins repo reverts the UAPI changes
while keeping the same functionality, so use this revision for the ccimx6 and
ccimx6qp.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-05 12:25:02 +02:00
Arturo Buzarra e8dd29392f imx-alsa-plugins: add 'git' recipe to fix k4.14 build
Latest meta-fsl-bsp-release tag 'rel_imx_4.14.98_2.1.0' replaces the
imx-alsa-plugins recipe from the meta-freescale upstream layer to fix
the build with the kernel 4.14. The commit cde60d6 ("asrc_pair: update
according to latest mxc_asrc.h") fixes the build issues.

https://jira.digi.com/browse/DEL-6732

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-09-04 13:38:25 +02:00
Gabriel Valcazar ec7a413ee8 imx-parser: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v4.4.7.

https://jira.digi.com/browse/DEL-6722

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 74542d8d6b imx-codec: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update to v4.4.7.

https://jira.digi.com/browse/DEL-6722

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 0b31ae037e gstreamer: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0
Update SRCREV and SRCBRANCH in most recipes. Update imx-gst1.0-plugin to
v4.4.7.

https://jira.digi.com/browse/DEL-6722

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-09-02 09:43:15 +02:00
Gabriel Valcazar 5868541cc1 packagegroup-dey-audio: add pulseaudio packages as dependencies
These packages are included in ccimx6/6qp/6ul images because they are a part of
packagegroup-core-x11-sato, which isn't included in ccimx8x images. To assure
that pulseaudio always gets included in non-fb images, add it as a dependency
in packagegroup-dey-audio.

https://jira.digi.com/browse/DEL-6464

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-06-26 18:53:57 +02:00
Gabriel Valcazar 4500494582 gstreamer: update recipes to v1.14.4.imx
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.

https://jira.digi.com/browse/DEL-6603

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:13 +02:00
Gabriel Valcazar 0db6363af5 imx-parser: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

https://jira.digi.com/browse/DEL-6603

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Gabriel Valcazar 1bd374a763 imx-codec: update to v4.4.5
This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Change the .bbappend name so it's compatible with all versions of the package.

https://jira.digi.com/browse/DEL-6603

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2019-05-15 10:35:12 +02:00
Arturo Buzarra 2ecc433295 pulseaudio: generalize recipe and add support to MAX98089 sound card profile
Add pulseaudio audio profile for MAX98089 sound card and
generalize the recipe to support multiple platforms with
the same audio sound card.

https://jira.digi.com/browse/DEL-6461

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-26 14:13:44 +01:00
Arturo Buzarra 2e28c68d38 thud migration: move forward gstreamer version 1.14
https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-02-06 08:50:48 +01:00
Gabriel Valcazar 912fa14573 gstreamer1.0-plugins-good: add the vpx package back to the recipe
vpx was wrongly removed when updating the recipe to version 1.14, but it's
required to build x11 images for the ccimx6ulsbc.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 1e2244afcd)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-01-29 15:59:42 +01:00
Arturo Buzarra f4f1eb1144 sumo migration: update gstreamer plugins to version 1.14
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2019-01-16 11:31:00 +01:00
Jose Diaz de Grenu 6044011127 kernel-module-imx-gpu, imx-gst1.0-plugin: fix file paths
Currently the contents of FILESEXTRAPATHS and the actual paths being used for
the patch files are not aligned. That generates the following WARNINGs:

imx-gst1.0-plugin_4.3.4.bb: Unable to get checksum for imx-gst1.0-plugin SRC_URI entry 0001-gstimxv4l2-map-dev-video1-to-dev-fb0.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found
kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb: Unable to get checksum for kernel-module-imx-gpu-viv SRC_URI entry 0001-mxc-gpu-use-recommended-values-for-minimum-GPU-frequ.patch: file could not be found

Also, those patches are not being applied.

This patch fixes FILESEXTRAPATHS to contain the actual paths being used.

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
(cherry picked from commit 4d35d15fee)
2018-10-09 13:43:38 +02:00
Gabriel Valcazar 5f70a38ef3 packagegroup-dey-gstreamer: install extra packages for all imxgpu2d platforms
These packages are required for videos to play properly on the ccimx8x. Also,
add gstreamer1.0-libav explicitly since the only package that depends on it
(gst-player-bin) was removed from packagegroup-core-x11-sato.

https://jira.digi.com/browse/DEL-6026

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-08-14 13:11:25 +02:00
Gabriel Valcazar 1e2244afcd gstreamer1.0-plugins-good: add the vpx package back to the recipe
vpx was wrongly removed when updating the recipe to version 1.14, but it's
required to build x11 images for the ccimx6ulsbc.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-26 17:07:54 +02:00
Gabriel Valcazar bcd65427a1 ccimx6/6qp: imx-gst1.0-plugin: add missing symbol to fix compilation
This package depends on libg2d, and the latest version of this library's
sources for imx6 platforms are currently unavailable. Among other things, the
newer sources add a symbol needed by imx-gst1.0-plugin to compile, so this
patch manually adds the symbol as a macro in the package's source code.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-20 18:43:08 +02:00
Gabriel Valcazar df7f4becee imx-parser: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:27 +02:00
Gabriel Valcazar 178bb41446 imx-codec: update to version 4.4.0
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:48:22 +02:00
Gabriel Valcazar 8fc5defdf7 gstreamer: update recipes to version 1.14
This is the version used by NXP in the rocko-4.9.88-2.2.0_8qxp_beta2 branch of
their meta-fsl-bsp-release layer.

https://jira.digi.com/browse/DEL-6078

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2018-07-19 12:47:25 +02:00
Hector Palacios e7f1aaddec gstreamer1.0: fix cc6ul gstreamer build
Commit 15139a3e97 wrongly removed 'vpx' from plugins-good which
is needed to play WebM files on the CC6UL.

The packagegroup-dey-gstreamer also needed to be updated to use
'pulseaudio' from plugins-good which was apparently renamed from 'pulse'.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
(cherry picked from commit 29add13409)
2018-06-20 15:16:50 +02:00
Hector Palacios 0e7de0eb75 gstreamer1.0: re-add missing recipes
Commit 105ab7a89b removed all gstreamer plugins recipes
but NXP meta-fsl-bsp-release still contains .bbappends that
this commit re-adds.

Besides, the imx-gst1.0-plugin recipe contained a patch by Digi
that was also wrongly removed and that this commit re-adds without
the version on the filename.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-15 12:43:09 +02:00
Hector Palacios 105ab7a89b gstreamer1.0: remove unneeded recipes
meta-freescale rocko branch now sources gstreamer and its plugins
from repositories in codeaurora that contain all patches, so these
recipes are no longer required in meta-digi.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
2018-06-14 15:09:14 +02:00
Jose Diaz de Grenu dca0b219b7 gstreamer: add NXP patches for gstreamer 1.12
Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-18 16:29:23 +01:00
Jose Diaz de Grenu a41d386204 rocko migration: adapt layer for meta-freescale rocko
Some packages are not updated in meta-freescale/rocko, so we do
need to include some of these.

The patches for gstreamer in the original commit are skipped, as
poky/rocko uses a newer version.

This partially reverts commits:
 * 52a10ff88d.
 * b06c81b277

https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-18 16:29:23 +01:00
Jose Diaz de Grenu f0df7957a7 rocko migration: dey-audio: update recipe
Starting in alsa-lib 1.1.3, the package alsa-lib does not exist,
libasound is the real library package.

https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:18 +01:00
Jose Diaz de Grenu 52a10ff88d rocko migration: remove duplicated NXP packages
All these recipes and patches are now available and maintained in the
meta-freescale layer.

https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00
Jose Diaz de Grenu edb44f9948 rocko migration: update recipes
All this recipes only need to be renamed to the new version:
* cherokee
* curl
* imx-codec
* imx-gst1.0-plugin
* imx-parser

https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:15 +01:00
Jose Diaz de Grenu b06c81b277 rocko migration: gstreamer: plugins-good: add libvpx
https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2018-01-12 15:59:14 +01:00
Javier Viguera 3261119470 imx-parser: remove unneeded binaries from the rootfs
The current recipe copies binaries for different ARM architectures to
the rootfs.

For the CC6UL we need to save some space, so delete the versions of the
binaries that are not being used.

https://jira.digi.com/browse/DEL-4987

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-11-22 18:30:07 +01:00
Javier Viguera 2fb4cfa675 imx-codec: remove unneeded binaries from the rootfs
The current recipe copies binaries for different ARM architectures to
the rootfs.

For the CC6UL we need to save some space, so delete the versions of the
binaries that are not being used.

https://jira.digi.com/browse/DEL-4987

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-11-22 18:30:07 +01:00
Javier Viguera c224555451 packagegroup-dey-gstreamer: define installed packages per machine
This allows to specify a different set of gstreamer packages to be
installed per machine. It's mainly used for the CC6UL to define a
minimum set of packages that allows to play a WEBM video, and at the
same time save some space as this platform does not have much storage.

The space saved with this change for the CC6UL and the default QT image
is about ~5MB.

https://jira.digi.com/browse/DEL-4987

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-11-22 18:30:07 +01:00
Arturo Buzarra 55b59c9525 imx-parser: Upgrade to 4.2.1 version
https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra cb496e49be imx-codec: Upgrade to 4.2.1 version
https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-11-03 15:08:09 +01:00
Arturo Buzarra 8c14ae877f meta-digi recipes: adjust machine overrides for new platform
This commit modifies different recipes to support the new platform
ccimx6qpsbc and adapt it to maintain the support to ccimx6sbc.

https://jira.digi.com/browse/DEL-5082

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2017-10-18 09:20:11 +02:00
Alejandro Navarro 45f84286a3 pulseaudio: disable memfd for CC6
Pulseaudio 9.0 relies on the syscall memfd_create, which was introduced
in kernel 3.17, but the version currently supported for the CC6 SBC is
3.14.

There is a corner case where the configure script does not detect the
actual kernel version, thus enabling memfd_create. When Pulseadio tries
to call memfd_create, it shows error messages, so disable memfd
explicitly.

https://jira.digi.com/browse/DEL-3923

Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>
2017-04-27 16:59:57 +02:00
Javier Viguera 05ca6d3c78 packagegroup-dey-gstreamer: fix override for CC6UL
As of DEY-2.0 "mx6" was an override value for CC6, but not for the
CC6UL, so we used it to restrict the packages to be installed only in
the CC6.

Now in DEY-2.2 "mx6" is also a correct override value for the 6UL
family, so correct the override to prevent those gstreamer packages to
be installed in 6UL machines.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-03-01 15:27:51 +01:00
Javier Viguera ee9f5a387a morty migration: gst-player: remove patch
It does not apply to current revision of the package.

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera f8d39cc5a6 morty migration: gstreamer1.0-rtsp-server: update package
Also, fix gstreamer rtsp package name in dey-gstreamer package group.

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera b094497c8d morty migration: gstreamer1.0-plugins-bad: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 2ab3c8792e morty migration: gstreamer1.0-plugins-good: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera 047f502cfd morty migration: gstreamer1.0-plugins-base: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera c2c16b3f68 morty migration: gstreamer1.0: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1)

https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera c08860bf5f morty migration: imx-gst1.0-plugin: update package
https://jira.digi.com/browse/DEL-3459

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Javier Viguera ffeecb7483 morty migration: card-detect: fix build failure
Let Yocto use their own compilation flags instead of hard-coding the
compile command. This fixes:

ERROR: card-detect-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary

https://jira.digi.com/browse/DEL-3451

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00