Commit Graph

89 Commits

Author SHA1 Message Date
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
Javier Viguera 187ee9bdcd morty migration: packagegroups: remove explicit LICENSE variable
The LICENSE is added through the packagegroup bbclass and the checksums
were outdated making the build fail with:

The LIC_FILES_CHKSUM does not match for poky/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2017-02-28 11:46:57 +01:00
Gabriel Valcazar b2259f7a83 ccimx6sbc: pulseaudio: Make pulseaudio load the sgtl5000 sink
The profiles created for the sgtl5000 sound card didn't have any priorities
assigned, making pulseaudio map a different profile than before and causing the
sink to remain unloaded.

This commit fixes this by assigning a priority to each profile. The values
were taken directly from the default profile to assure that pulseaudio's
behavior is the same using one profile or the other.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2017-01-31 10:02:23 +01:00
Gabriel Valcazar 5d34a217ab ccimx6sbc: pulseaudio: change module-suspend-on-idle timeout to 0
In pulseaudio, module-suspend-on-idle controls how much time a sink spends
in the 'idle' state before going to 'suspended'. This means the ALSA device
associated with the sink stays busy for a few seconds after loading or using
the sink.

This commit adds the timeout=0 parameter when loading module-suspend-on-idle.
Now the sink will go to the 'suspended' state right after being loaded or used.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2017-01-20 17:43:33 +01:00
Gabriel Valcazar 25a5e7c7d3 meta-digi-dey: pulseaudio: reduce pulseaudio loading time
On boot, pulseaudio looks for the sound cards' corresponding profile sets, and
uses a default configuration if none is found. This was causing pulseaudio to
take up to 5 seconds trying every possible default profile.

This commit fixes this by creating a specific profile set for each of the sound
cards on the ccimx6sbc so pulseaudio doesn't spend time trying different
profiles that don't apply to our platform. It also adds udev rules so
pulseaudio knows which configuration to load for each card.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2017-01-20 17:43:33 +01:00
Gabriel Valcazar 73ebf262de meta-digi-dey: pulseaudio: improve HDMI hotplug script
The HDMI hotplug script required alsa-utils to be installed in order to work.
This commit avoids this by adding a recipe for a small binary that replaces
aplay in the script.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2017-01-20 17:40:04 +01:00
Hector Palacios 5c0627a517 gstreamer1.0-plugins-good: add support for VP8 enc/dec
VP8 is an open royalty-free video compression format by
Google Inc.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-01-17 15:40:47 +01:00
Hector Palacios 77d07b8ed7 packagegroup-dey-gstreamer: remove plugins-bad/ugly for CC6UL
The CC6UL has little video capabilities and reduced storage memory so lets
remove gstreamer plugins included in -bad and -ugly to reduce the rootfs
size.

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

https://jira.digi.com/browse/DUB-713
2017-01-16 17:11:19 +01:00
Gabriel Valcazar 3e8887da53 meta-digi-dey: pulseaudio: load HDMI sink on hotplug
When hotplugging the HDMI cable after booting the target, pulseaudio doesn't
load the HDMI sink. This commit fixes this by adding a udev rule and a script
that prompts pulseaudio to detect the HDMI sound card and load its sink, as
well as making it the default one.

If alsa-utils is available, a faulty command is run to load the card without
any audio output. Otherwise, module-udev-detect is unloaded and reloaded.

This is based on commit fca507d316.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2017-01-11 09:36:00 +01:00
Hector Palacios 951f20d36b pulseaudio: avoid headphone mute when no jack detection
Some platforms, like ccimx6ulsbc, don't support jack detection
out of the box.
PulseAudio will mute the Headphones by default if it believes
there is no headphones jack plugged-in. With this patch we
tell it to preserve ALSA default value for the headphones
controls.

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

https://jira.digi.com/browse/DEL-3435
2017-01-02 17:56:46 +01:00
Hector Palacios 2d2afe1286 meta-digi: fix gst1.0-fsl-plugin video sink device
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3399
2016-12-26 10:55:01 +01:00
Javier Viguera a4c45ecd2d gst-player: disable 'glimagesink' patch for ccimx6ul
The ccimx6ul does not have a GPU, so opengl based gstreamer sink will
not work. Thus apply the patch only for the CCIMX6.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-09-27 11:27:50 +02:00
Diaz de Grenu, Jose fa853e0c2e Revert "pulseaudio: remove module-udev-detect"
Using module-detect there are some audio reverb problems. Reverting that commit
will make pulseaudio use module-udev-detect again instead, which takes longer
to initialize but does not have that problem.

This reverts commit e021f738ee.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-14 17:48:00 +02:00
Diaz de Grenu, Jose 5bd0835150 Revert "meta-digi-dey: pulseaudio: add HDMI audio sink on hotplug"
When module-alsa-sink is used, the audio is sometimes heard with
reverb. We will go back to module-udev-detect, so the functionality
introduced in the commit being reverted won't longer work.

This reverts commit fca507d316.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-07-14 17:16:42 +02:00
Isaac Hermida 9ec5895eb0 pulseaudio: only install hdmi_hotplug.sh for ccimx6 platforms
The ccimx6ul or ccardimx28 do not have hdmi interface, so do not install the
hdmi hotplug script.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2016-07-05 15:52:38 +02:00
Jose Diaz de Grenu de Pedro fca507d316 meta-digi-dey: pulseaudio: add HDMI audio sink on hotplug
This patch adds a udev rule and a script to detect HDMI hotplug and create
the HDMI audio pulseaudio sink if needed (that is, if the system was
booted with no HDMI cable plugged).

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-03-22 11:51:14 +01:00
Jose Diaz de Grenu de Pedro e021f738ee pulseaudio: remove module-udev-detect
module-udev-detect blocks the sound interface on boot for about five
seconds while detecting the hardware. This patch removes it so that
module-detect is used instead, which uses static hardware detection and is
faster.

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

Signed-off-by: Jose Diaz de Grenu de Pedro <Jose.DiazdeGrenudePedro@digi.com>
2016-02-25 11:46:38 +01:00
Javier Viguera ef230a3616 gst-player: support setting the video sink from environment var
Also initialize the video sink to 'glimagesink' in case it has not been
configured from the environment, but only for the X11 application
(gtk-play). This recipe also provides a command line application for
framebuffer (gst-play) that is not affected by this change.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2016-01-15 17:25:19 +01:00
Javier Viguera 93864cc3c4 gstreamer packagegroup: add gstreamer1.0-rtsp-server
Adds the library and the example applications.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2015-12-29 16:52:00 +01:00