Commit Graph

187 Commits

Author SHA1 Message Date
Javier Viguera 5054410dfa packagegroup-core-x11-sato: reduce footprint for ccimx6ul-based images
* Disable GTK-based gstreamer player and connman network manager
* Remove matchbox-terminal to avoid pulling ICU
* Avoid pulseaudio client configuration to prevent duplicate instances

Also, delete the autospawn-for-root package config removal in our bbappend,
as that is not enabled by default in the recipe.

https://onedigi.atlassian.net/browse/DEL-9685

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-26 15:35:46 +02:00
Javier Viguera 6b40ed52d2 meta-digi-dey: backport ALSA and PulseAudio fixes from meta-imx
* Y2038: compile pulseaudio and alsa-lib with 64bit time flags
* Add patch to fix playback stuck issues on suspend/resume

https://onedigi.atlassian.net/browse/DEL-9681

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-24 12:07:18 +02:00
Javier Viguera 373f061650 dey: cosmetic, mark patches as DEY specific
Our distribution is Digi Embedded Yocto (DEY), so use that to mark the
upstream status of the patches in our layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-22 15:48:00 +02:00
Gabriel Valcazar 2bc985cbea global: add Upstream-Status tag to all patches
This avoids a QA error that is triggered if a patch is missing said tag

https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar cb3b03552c pulseaudio: remove upstreamed patch
This patch was added in pulseaudio v15.99.1, poky currently provides v17.0

https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Isaac Hermida 97dc7ddd36 pulseaudio: ccmp25: avoid speaker mute
based on commit 951f20d36b, this fix
avoids muting the speaker control.
Despite the original commit is for Headphone, it also applies, for the
ccmp25, to the Speaker control.
While on it, reword the files so the change applies to all stm platforms
by using the common machine.

https://onedigi.atlassian.net/browse/DEL-9227

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-18 16:44:07 +02:00
Isaac Hermida 0c642ed7ec Update Digi Copyright header
Standarize the Copyright header according to company policy.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-07-15 09:28:58 +02:00
Isaac Hermida d439abd0d4 alsa: do not restore UCM profiles
There is a harmless error when restoring alsa profiles, as it also
attempts to restore UCM profiles.
Since we do not include UCM profiles for our sound cards, skip it.

https://onedigi.atlassian.net/browse/DEL-9066

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-07-05 13:02:40 +02:00
Isaac Hermida 3bfcc31563 sound: max98088: update card name
Starting at kernel 6.1, the maxim98088 driver has been migrated
from the old imx-max98088.c driver to NXP’s new audio framework
fsl-asoc-card.c.
Update the sound stuff to match the new audio card and some of
the new controls.

https://onedigi.atlassian.net/browse/DEL-8596

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-08-08 10:29:16 +02:00
Francisco Gil 800e875397 pulseaudio: keep the PID file in headless system
Without the PIDfile pulseaudio is not reliable.

https://onedigi.atlassian.net/browse/DEL-8429
https://onedigi.atlassian.net/browse/DEL-6795

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2023-03-23 07:58:18 +01:00
Tatiana Leon ef9e14ab5b pulseaudio: launch pulseaudio in system mode
By launching in system mode it is possible to play music from a shell using
pulseaudio. With change all platforms and images (with or without graphical
support) have pulseaudio working.

https://onedigi.atlassian.net/browse/DEL-8417

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-03-08 12:05:52 +01:00
Tatiana Leon be17cb5bc2 ccimx6ul: pulseaudio: fix error during boot
On boot, ConnectCore 6UL was failing to start pulse audio since it was trying
to use journalctl as log target when systemd is not included.

Boot error:

   Starting Dropbear SSH server: dropbear.
   W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
   E: [pulseaudio] log.c: Invalid log target.
   E: [pulseaudio] cmdline.c: Invalid log target: use either 'syslog', 'stderr' or 'auto' or a valid file name 'file:<path>', 'newfile:<path>'.
   E: [pulseaudio] main.c: Failed to parse command line.
   Starting bluetooth: bluetoothd.

While on it change the 'connectcore-demo-server' priority to be launched after
pulseaudio when not using systemd.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-14 12:05:50 +01:00
Isaac Hermida 164a5ffc1a pulseaudio: use custom conf file
https://onedigi.atlassian.net/browse/DEL-8264

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2023-01-03 12:59:03 +01:00
Arturo Buzarra 0eb0f15e7b pulseaudio: add support to pulseaudio-server initscript for sysvinit system
This commit fixes the pulseaudio recipe to launch the pulseaudio-server
service at boot time for sysvinit systems.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-31 07:51:22 +01:00
Arturo Buzarra 3b99bf3821 pulseaudio: define runtime user-specific directory XDG_RUNTIME_DIR
This commit exports the environment variable XDG_RUNTIME_DIR if does not exists
for services that require sharing a pulseaudio instance.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-31 07:50:33 +01:00
Arturo Buzarra 443b5dbc1d pulseaudio: add support to ccmp1 platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-05 13:05:21 +02:00
Arturo Buzarra 6efe239a23 packagegroup-dey-audio: add pulseaudio packages for non-graphical images
These packages were added only for graphical images, however it could be used
also in non-graphical environments. This commit removes this restriction.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-10-05 09:17:56 +02:00
Arturo Buzarra 0380161f02 meta-digi: generalize recipes to support ConnectCore MP13 DVK platform
https://onedigi.atlassian.net/browse/DEL-8078

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2022-09-15 16:14:30 +02:00
Javier Viguera 3f6d5fc218 pulseaudio: remove duplicated patch integrated in meta-freescale
This patch has been integrated in meta-freescale's bbappend for
pulseaudio, so having it also in our bbappend results in Yocto trying to
apply it twice, which obviously fails and breaks the build.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-09-06 18:24:44 +02:00
Javier Viguera 8d123d7451 kirkstone migration: delete deprecated or duplicated recipes
Remove deprecated versions of recipes updated in other general layers
(poky, meta-openembedded). Also remove duplicated IMX specific recipes that
are available in other BSP layers (meta-freescale, meta-fsl-demos, etc).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 16550c1952 kirkstone migration: update pulseaudio package
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-21 16:49:56 +02:00
Javier Viguera 065cf3e9c4 kirkstone migration: general update to the new override syntax
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2022-06-20 11:39:57 +02:00
Mike Engel ea0d8d7b8b pulseaudio: add alsa and pulseaudio support for the CCMP15
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 71ce2842ba packagegroups: move gstreamer packagegroup into NXP dynamic-layers
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 7ebe759e0b nxp-afe: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0317bf1133 imx-vpuwrap: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 5299bb6f03 imx-sw-pdm: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 6b48437166 imx-dspc-asrc: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel ffc039ea20 imx-dsp: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 0fe6f5d5ba imx-codec: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel bd80f573f2 imx-parser: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 9014ce6f7f tinycompress: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel 798510ad64 alsa: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Mike Engel e5d5520ab9 gstreamer: move recipes into dynamic-layers for NXP
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2022-05-04 14:01:05 +02:00
Gabriel Valcazar 030fc2a641 hardknott: tinycompress: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add missing patch

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 5c0f92c76c hardknott: pulseaudio: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add custom NXP daemon.conf, new NXP patch and adapt ccimx6ulsbc patch to apply
cleanly over v14.2

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 277a7be7a4 hardknott: recipes-multimedia: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add new recipes for imx8 platforms

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 6425eaaf83 hardknott: imx-vpuwrap: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 20a049d78a hardknott: imx-parser: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 4018e8ab63 hardknott: imx-codec: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v4.6.3

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar f440a266c2 hardknott: gstreamer-1.0: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update to v1.18.5 while keeping our modifications

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar bd624bef3f hardknott: alsa-lib: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Add alsa-lib modifications

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Gabriel Valcazar 3b0cb88c15 hardknott: imx-alsa-plugins: sync with meta-imx hardknott-5.10.72-2.2.0 branch
Update branch and copyright years

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2022-01-05 11:09:46 +01:00
Francisco Gil Martinez 8722d0c4e6 ccimx6ul: gstreamer: add missing video capture plugins
https://onedigi.atlassian.net/browse/DEL-7596

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2021-06-22 12:54:10 +02:00
Arturo Buzarra 79a37bec34 gstreamer: remove RRECOMMENDS from gst-examples for cc6ul platform
packagegroup-core-x11-sato has a dependency on the gst-examples package and
adds a RRECOMMENDS for several packages including many codecs, enconders, etc.
We remove this package for the cc6ul platform to save space in rootfs.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-21 18:26:59 +02:00
Arturo Buzarra 156c33094a gatesgarth migration: imx-alsa-plugins: Sync with BSP release rel_imx_5.10.9_1.0.0
https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra a7dc3452c6 gatesgarth migration: gstreamer1.0: Upgrade to v1.18.0
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra ffd5491379 gatesgarth migration: imx-vpuwrap: Upgrade to v4.6
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra d61b04c744 gatesgarth migration: imx-parser: Upgrade to v4.6
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00
Arturo Buzarra 2bfaff986a gatesgarth migration: imx-codec: Upgrade to v4.6
Sync with BSP release rel_imx_5.10.9_1.0.0

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2021-05-05 19:18:11 +02:00