Commit Graph

259 Commits

Author SHA1 Message Date
Javier Viguera c7e86408f0 libcamera: backport NXP fork and enable on ccimx95
Add libcamera from NXP’s lf-6.12.49_2.2.0 release, and enable libcamera
gstreamer support for ccimx95.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-02-19 17:09:23 +01:00
Javier Viguera 7080522938 packagegroup-imx-ml: cosmetic, remove redundant code
ETHOS_U_PKGS appended packages are already set in the bitbake recipe,
so there is no need to add them also in this bbappend.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-02-19 17:08:53 +01:00
Javier Viguera ebe73d5db7 ccimx95: backport NPU suppport from lf-6.12.49-2.2.0
https://onedigi.atlassian.net/browse/DEL-9987

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-02-19 17:08:23 +01:00
Javier Viguera 70ec1a8630 eiq-examples: update for NXP's lf-6.6.52-2.2.2 release
Removed not needed patch and refreshed the rest.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-21 12:19:25 +01:00
Javier Viguera 618d842d75 weston: update to NXP's lf-6.6.52-2.2.2 release
https://onedigi.atlassian.net/browse/DEL-9905

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-21 12:19:25 +01:00
Javier Viguera ad233abd34 meta-digi: update GPU related packages for NXP's lf-6.6.52-2.2.2 release
https://onedigi.atlassian.net/browse/DEL-9905

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-21 12:19:25 +01:00
Javier Viguera 2dfe30fb54 imx-boot: update boot artifacts for NXP's lf-6.6.52-2.2.2 release
Also, refresh patches on top of new release.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-21 12:19:25 +01:00
Arturo Buzarra de852f317d meta-digi-dey: add dynamic layer for ST X-LINUX-ISP integration
Introduce a dynamic layer to integrate X-LINUX-ISP v6.1.0 ST layer into DEY,
providing ISP image quality software, tools, and example applications for
STM32MP25x series.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-19 21:29:25 +01:00
Javier Viguera 0400223712 flutter-example: fix version dependendy
Last update of the flutter engine broke the example app. Fix the version
dependency.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-27 15:00:04 +01:00
Isaac Hermida 08732151b9 meta-digi-dey: cosmetic, remove trailing white spaces
No functional change.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-11-27 13:03:00 +01:00
Gabriel Valcazar a8108d7643 connectcore-demo-example: remove browser dependencies from browser-based pkgs
Commit 87b73f3f5d consolidated all connectcore-demo-example recipes into a
single recipe with multiple packages. Even though we choose which of these
packages to install depending on the image type, all packages (along with their
dependencies) get built regardless of which package ends up getting installed.
This means that the browsers (webkit/chromium) will get built as long as their
respective layer is in the bblayers, regardless of the image type.

For example:
    * wpewebkit will get built for all platforms with webkit support,
      regardless of the image (qt, flutter, core-image-base...)
    * chromium-ozone-wayland will get built for the ccimx95-dvk, even for qt
      and flutter images

Since we already include the main webkit and chromium packages in their
respective image's packagegroup, simply remove the dependencies from the
connectcore-demo-example recipe to avoid build overhead and unexpected errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 14:04:36 +01:00
Javier Viguera 59377e5748 meta-digi-dey: add dey-image-chromium for ConnectCore 95
The new image runs the local ConnectCore demo application using chromium
on the ccimx95.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 2441ddb589 meta-digi-dey: add chromium support
This comes from NXP's 'walnascar-6.12.34.2.1.0' release.

It depends on "meta-chromium" layer (which is part of meta-browser
repository.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Javier Viguera 87b73f3f5d meta-digi-dey: refactor connectcore demo recipes
Replace the standalone connectcore-demo-example-webkit recipe with
a bbappend extending the main demo recipe. This is in preparation for
adding support for chromium-based connectcore demo.

While on it, merge the .inc file into the main recipe as there is only a
consumer of that inc file. Also minor cosmetic fixes to make the recipe
more Yoct-ish.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00
Arturo Buzarra 3e8042f8d8 stm-st-stm32mp: add libcamera-stm32mp recipe
Integrate ST libcamera recipe from meta-st-openstlinux layer at
openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 tag. This recipe is required by
the NPU demos in meta-st-x-linux-ai.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-11-18 21:50:23 +01:00
Gabriel Valcazar 62f2f0d911 wpewebkit: port custom Digi patches to 2.46.X
Out of the three patches we currently apply to v2.44.4, two are no longer
needed for v2.46.7:

    * 0001-Build-fix-when-LAYER_BASED_SVG_ENGINE-is-off.patch is already
      included in v2.46.X releases
    * 0001-DMABufVideoSinkGStreamer-disable-sink-unconditionall.patch is no
      longer needed, since the GL sink is chosen by default in v2.46.7

Only port 0001-UIProcess-WebProcessPool-always-swap-process-when-us.patch to
avoid performance issues on platforms with memory restrictions.

Keep the v2.44.4 patches in case customers want to use said version, and
clearly separate the patchsets for both versions.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-11 14:14:59 +01:00
Arturo Buzarra e9ad0abb48 x-linux-ai: dcmipp-isp-ctrl: update recipe to v6.1
This commit updates the dcmipp-isp-ctrl recipe to align with the version
provided in OpenSTLinux v6.1.0. This new version includes support for histogram
handling in the ISP controller.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Javier Viguera 4786ff1c7f meta-digi-dey: add libgpuperfcnt version r50.4
This is the version supporting the i.MX95. This library is a dependence
of the gputop package.

As a requirement to allow building this library for the ccimx95-dvk,
update the fsl-eula-graphics bbclass with the latest changes in meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-09 17:44:04 +02:00
Javier Viguera 33ec8a994e gstreamer: remove 1.24.7 version recipes
They have been added to meta-freescale.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-09 17:43:04 +02:00
Mike Engel 7afc4a67de wayland: remove wl_shell and libweston patch
This commit removes the wl_shell and libweston patche, which
are now not necessary anymore. Becasue we have removed the
wayland backend for the LVGL image.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:44:35 +02:00
Mike Engel f789fa8fb2 qt6-layer: add QT6 support for CCiMX6UL
This commit adds QT6 support for the CCiMX6UL
platform and QT6 as the default setup.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-15 12:39:12 +02:00
Javier Viguera 1437b734a3 weston: update bbappend to NXP's lf-6.6.52-2.2.1
Also, refresh patches.
Missing from previous commit.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-09 17:22:35 +02:00
Javier Viguera 8fa9002ffd meta-digi: update multimedia packages for NXP's lf-6.6.52-2.2.1 release
https://onedigi.atlassian.net/browse/DEL-9748

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-09 11:43:36 +02:00
Javier Viguera 9e1e5bd80f meta-digi: update GPU related packages for NXP's lf-6.6.52-2.2.1 release
https://onedigi.atlassian.net/browse/DEL-9748

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-09 11:24:55 +02:00
Gabriel Valcazar 0ceb58fc57 stm: gstreamer1.0-plugins-bad: use strict assignment for default PACKAGECONFIG
A recent change in meta-st-x-linux-ai was completely overwriting our default
PACKAGECONFIG values, causing several plugins to be omitted (for example, the
wayland plugin). In turn, this was causing several build errors in many
packages that depend on said plugins.

Use a strict PACKAGECONFIG assignment to prevent this. As a side effect, this
removes the new "uvcsink" PACKAGECONFIG introduced by the recent change in
meta-st-x-linux-ai, so make sure to re-add it to avoid unexpected behavior when
building the brand new people-tracking-heatmap AI example.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-08-22 13:30:00 +02:00
Gabriel Valcazar d95b2449b1 x-linux-ai: use wildcard for hotfix version number in stai-mpu recipe
STM recently updated their AI layer from v6.1.0 to v6.1.1, so our v6.1.0
bbappend wasn't being applied anymore. Use a wildcard for the hotfix version
number in case this happens again in the future.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-08-22 11:20:15 +02:00
Arturo Buzarra d8ab99f9b2 x-linux-ai: recipes-samples: remove custom patches for setup camera script
Since commit 7f1a3011521c955760b2fec24e64a721d22eaa91 ("applications: replace
camera source v4l2src with libcamera") in the meta-st-x-linux-ai layer, the
setup camera script has been replaced by libcamera. As a result, these patches
are no longer applicable.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-08-01 11:29:46 +02:00
Arturo Buzarra b13fda0a2d x-linux-ai: update support for new X-LINUX-AI v6.1.0 release
This commit introduces the necessary changes in the Digi Embedded Yocto layer
to support the X-LINUX-AI v6.1.0 software package from the meta-st-x-linux-ai
layer.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-29 22:11:02 +02:00
Arturo Buzarra 756957e280 x-linux-ai: recipes-samples: fix broken webcam support after latest release
The latest X-LINUX-AI v6.0.1 release consolidated the config_board_npu.sh
script across all STM32MP2x platforms with NPU support. As part of this
consolidation, the supported video resolutions were unified under a single
default setting, which does not work correctly with USB webcams.

This commit updates Digi’s custom patch to adjust the internal resolution used
for processing video streams from webcams, ensuring proper support and
functionality.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-08 15:43:00 +02:00
Arturo Buzarra bf15b1ae91 x-linux-ai: recipes-samples: move Digi webcam patch to config-npu bbappend
Since the release of X-LINUX-AI v6.0.1, AI support has been split between
devices with NPU and those relying solely on CPU. As a result, the Digi custom
patch to enable USB webcam support was no longer applied, because the
config_board_npu.sh script is now handled by the new config-npu.bb recipe.

This commit addresses the issue by introducing a new bbappend for config-npu,
ensuring that the webcam-related patch is correctly applied for NPU-enabled
platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-08 15:34:11 +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
Gabriel Valcazar b9bf87d8f1 packagegroup-qt6-dey: don't install examples in ccmp15-dvk images
When building DEY 5.0 ccmp15-dvk images with Qt6 instead of Qt5, the rootfs
image is too big for the default settings (512 MiB, dualboot enabled). Make
room by removing the *-examples Qt6 packages, which are over 30 MiB in total.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-16 10:49:05 +02:00
Gabriel Valcazar d4e1917f1c global: remove recipes related to outdated features
There are several recipes in meta-digi related to features that we haven't
tested in a long time and don't appear in the DEY 5.0 documentation. Remove
them to avoid unexpected behavior.

Said features are:
    * Coral TPU support (only supported in DEY 3.2)
    * AWS support (removed from default images and docs in DEY 4.0)
    * dey-image-tiny (hasn't been maintained since DEY 2.0)

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-15 15:58:06 +02:00
Javier Viguera 4f09a9f546 wpewebkit: restrict VPU patch to 8M Mini
The 8M Nano does not have a VPU.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-13 09:44:02 +02:00
Javier Viguera 7d076d76a5 wpewebkit: fix using VPU also for ccimx8mm
The patch we applied for the ccimx8x to enable VPU usage when playing
videos under WebKit is also necessary for the ccimx8mm.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-12 13:00:37 +02:00
Hector Palacios 63e7031614 add missing `pn-` prefix to INSANE_SKIP appends
Commit 9c3916da94 added INSANE_SKIP
"32bit-time" to certain recipes that use 32bit APIs on the ccmp1
SOMs, but forgot to include the `pn-` prefix to really apply to
those recipes.

While on it, add two additional ones on recipes used by NXP 32-bit
platforms.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-09 12:40:51 +02:00
Javier Viguera c2632d1b00 meta-digi-dey: update GPU-related packages to rel_imx_6.6.52_2.2.0
* Add imx-gpu-sdk 6.4.2 recipe
* Update GPU tools package groups to match NXP release

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-09 09:54:44 +02:00
Javier Viguera 1ae68ffa59 meta-digi-dey: update wayland for release rel_imx_6.6.52_2.2.0
* Remove wayland_1.22.0.bbappend, with changes originally added for Crank
  UI (commit 25c699e05b), which we no longer support.
* Update wayland_%.bbappend to align with NXP’s rel_imx_6.6.52_2.2.0
  release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-09 09:54:44 +02:00
Javier Viguera fb655dd021 meta-digi: xwayland: use poky's xwayland 23.2.5 recipe
That includes several CVE patches not present of meta-freescale's
23.2.5.imx recipe (which is based in exactly the same revision).

Similar change was done in NXP's meta-imx (see commit
99ceb057fcfdc8151c1488089d5f22363dfdb6d7).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:27:04 +02:00
Javier Viguera 1032a127e2 meta-digi: update i.MX GStreamer stack to 1.24.7.imx
NXP uses this version for its 6.6.52-2.2.0 release.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:26:59 +02:00
Arturo Buzarra 499ce2e97b flutter-apps-layer: add init service to automatically launch Flutter demo
This commit introduces a dynamic layer that extends the flutter-apps layer by
adding an init service to automatically launch the Flutter demo on boot.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-24 17:29:01 +02:00
Gabriel Valcazar 8b8788d68e qt6: qttools: remove spurious clang dependency in dey-toolchain SDK
Typically, recipes that support clang builds only pull in the required clang
dependencies when the TOOLCHAIN variable is expliciltly set to "clang". The
qttools recipe in meta-qt6 differs from this by adding the dependency as soon
as meta-clang is present in the bblayers, regardless of the selected toolchain.

This causes all of the nativesdk clang packages to get included in our SDK
(along with the gcc ones), causing SDK bloat and spurious build errors on build
machines with limited resources.

Make sure that the dependency is only added when the clang TOOLCHAIN is
explicitly selected.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-23 18:05:19 +02:00
Arturo Buzarra 8f1413f5cc x-linux-ai: update support for new X-LINUX-AI v6.0.1 release
This commit introduces the necessary changes in the Digi Embedded Yocto layer
to support the X-LINUX-AI v6.0.1 software package from the meta-st-x-linux-ai
layer.

The update removes support that is now provided directly by the ST layer in
this new version and adapts existing recipes to align with the updated
mechanisms for AI application integration. These changes ensure compatibility
with platforms that feature hardware acceleration (NPU), as well as those that
rely solely on CPU-based inference.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 16:34:20 +02:00
Gabriel Valcazar 8ec2635654 wpewebkit: add workaround to improve memory usage in ConnectCore Demo app
Even though we launch said demo with WebKit's page cache disabled, WebKit still
caches most of the demo's contents for two reasons:

    * The demo is browsed using a non-HTTP(S) protocol (file://)
    * The demo is contained within the same domain (same-site browsing)

This can lead to unexpected behavior on platforms with small RAM size. Add
a workaround to force WebKit to create a new web process everytime we open
a page on the demo, deleting the previous process and freeing its memory.

An alternative solution would be to alter our demo to make sure a page's
resources are correctly freed when exiting said page, but this provides a
general solution that ensures memory cleanup in all cases, albeit with slightly
longer loading times.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-08 12:13:32 +02:00
Isaac Hermida 36ba80b3ea imx-machine-learning: use local ssd_mobilenet_v1 model
after commit 8ad093c37b we are detecting
if a model conversion fails.
Currently the mode ssd_mobilenet_v1 fails and cannot be converted by
vela.
This is reported to NXP and will be fixed in next releases.
Meanwhile, for the current version, use a local copy.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-25 16:34:14 +01:00
Hector Palacios 45d4f56ff1 dey-gstreamer: add 'autovideosink' for ccimx6ul
'gplay' tries to use playbin3 and autovideosink by default
which is provided by plugins-good package and missing on the
ccimx6ul.
Add this package so that video playback works with 'gplay'
command alone.

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

https://onedigi.atlassian.net/browse/DEL-9525
2025-02-25 11:03:38 +01:00
Francisco Gil 839e0d4ebb meta-digi: update home path to "/root" in our recipes
Due to a change in systemd the default home directory is now "/root".

Modify our recipes to match with this change.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-02-14 13:30:10 +01:00
Gabriel Valcazar 6a7e9fa9e4 webkit: downgrade wpewebkit to 2.44.4 for stability purposes
2.46.5 has an issue where the ConnectCore demo doesn't register mouse clicks
in its main window, making it unusable. Until we find the cause of this issue,
downgrade to the nearest available release 2.44.4, where mouse clicks are
working fine.

Backport a patch from 2.46.X to allow builds with the lbse PACKAGECONFIG
disabled and apply a custom patch to make sure the correct gstreamer sink is
used for the ccimx8x.

https://onedigi.atlassian.net/browse/DEL-9446
https://onedigi.atlassian.net/browse/DEL-9498

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-13 13:46:41 +01:00
Gabriel Valcazar 8cb3bada3a freescale: imx-gpu-viv: don't install kernel-module-imx-gpu-viv
For i.MX platforms with a GPU, we already enable its driver as built-in in the
kernel, so there's no need to install the external version of the driver. This
removes one of the dependencies with the linux-imx repo, the other one being
linux-imx-headers.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-06 14:16:25 +01:00
Gabriel Valcazar 24fec7be70 qt5: NXP: remove outdated recipes
Both gstreamer1.0-plugins-good-qt and imx-qtapplications haven't been
officially supported by NXP ever since they migrated to qt6 on i.MX platforms,
and both of them apply only to imxgpu3d platforms. In our case, we only use qt5
in the ccimx6ul, so we don't need these packages at all.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-02-04 17:50:03 +01:00