Commit Graph

2554 Commits

Author SHA1 Message Date
Arturo Buzarra 3a3d6c699f x-linux-ai: recipes-samples: add face-recognition example
Make the minimal changes needed to adapt the original X-LINUX-AI example and
integrate it into the Digi custom launcher.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-12 15:05:16 +02:00
Arturo Buzarra cb70c15394 x-linux-ai: recipes-samples: fix USB camera support on X-LINUX-AI v6.2.0
Restore the V4L2SRC based pipeline for USB webcams that was dropped in newer
X-LINUX-AI releases, fixing USB camera support on the v6.2.0 baseline.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-12 15:05:16 +02:00
Francisco Gil 599fa04a01 sysinfo: update QR payload data sources and output
Read the QR serial number from /proc/device-tree/serial-number and the
MAC address from the U-Boot ethaddr environment variable.

Include digi,drm-ic in the QR payload only when present, and update the
console output and provisioning message accordingly.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-11 16:28:10 +02:00
Francisco Gil 56865c2972 ccimx95: libdigiapix: update configuration file for ccimx95 smarc
In the smarc board there is not a PWM/ADC signal to test.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-11 16:28:10 +02:00
Isaac Hermida 3552e1b5e1 bluetooth-init: fix BT_GPIO expansion
After refactoring these scripts in a8c6dcb56e, some platforms are
not setting the enable line correctly.
Regarding the affected platforms, on the 6UL it works because that GPIO
comes enabled by default, but not on the other ones.
For the other platforms refactored, such as the CC91/93 or CCMP25,
it is not needed, as the variable is used directly in the gpioset command.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-08 12:25:27 +02:00
Hector Bujanda 897ca48d9b bootcount: change ccimx95-dvk to store bootcount in mca_cc95_smarc nvram
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-05-05 17:43:03 +02:00
Isaac Hermida f1d71fd66c cccsd: wait for network readiness before starting service
CCCS service starts before the network is fully ready and fail the first
connection attempt. When that happens, the daemon waits for the
configured reconnect interval before trying again, which delays DRM
availability for dependent services.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-04 18:39:46 +02:00
Mike Engel a8c6dcb56e bluez: generalize BT GPIO configuration for bluetooth-init script
This commit generalizes the BT GPIO value used in the bluetooth-init
script for different platforms.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-9668
2026-04-30 16:39:03 +02:00
Arturo Buzarra 8f2ac0347c bluez5-init: ccmp2: increase Bluetooth operational speed to 3M
Increase the Bluetooth UART operational speed to 3M baudrate for CCMP2.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-04-30 12:32:05 +02:00
Mike Engel e913427295 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2026-04-30 11:51:33 +02:00
Javier Viguera abd3f4dbc2 libsocketcan: drop SRCREV override from bbappend
The bbappend hardcoded an old libsocketcan revision. Remove the override
so the recipe uses the revision from meta-openembedded. Also refresh our
patch, so it applies cleanly on top of the new revision.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-29 10:59:32 +02:00
Javier Viguera a82412530c packagegroup-dey-examples: skip MCA examples on ccimx95
Module ccimx95 enables the mca machine feature, but it does not support
dey-examples-adc-cmp or dey-examples-tamper. Move the MCA example list
to DEY_EXAMPLES_MCA and clear it for ccimx95.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-17 12:08:48 +02:00
Mike Engel 0a307d029e meta-digi-dey: replace systemd-udev-settle from BT and ifupdown service
This commit replaces systemd-udev-settle from bluetooth-init and
ifupdown service. Systemd recommends not to use that service and
wait for specifc event or service to sync interfaces.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-9338
2026-04-16 11:08:02 +02:00
Francisco Gil 01ad58fcb8 sysinfo: add QR output and display backends
Add QR code generation to sysinfo using U-Boot serial and
MAC address information, with support for both standard
and legacy payload formats.

When requested with --qr_display, show the QR code using the
most suitable backend for the running system

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-04-13 16:40:04 +02:00
Javier Viguera 5c87cefd91 meta-digi-dey: drop nxp-wlan-utils from ccimx95-dvk
Restrict nxp-wlan-utils to ccimx91 and ccimx93. The ccimx95 uses the
Murata wireless chip.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-10 11:18:04 +02:00
Mike Engel a16ad0fd2d trustfence: generalize u-boot environment encryption configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
(cherry picked from commit cd9a79152866ed2fcc91a2316d6a4f9eb3e72266)
(cherry picked from commit eb3d6e0355)
2026-03-30 13:59:21 +02:00
Arturo Buzarra 4f88e8969a x-linux-ai: recipes-samples: allow builds on ccmp1x
Remove the ccmp1x machine restriction from the sample recipes, since they
support both CPU and NPU variants.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-30 13:44:30 +02:00
Mike Engel eb3d6e0355 trustfence: generalize u-boot environment encryption configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
(cherry picked from commit cd9a79152866ed2fcc91a2316d6a4f9eb3e72266)
2026-03-27 17:15:05 +01:00
Gabriel Valcazar 1ca5a27f51 weston: recover ccimx6/6qp suspend/resume workaround from DEY 3.0
We initially created this patch when adding XWayland support for the ccimx6 and
ccimx6qp back in dey-3.0-r2.1 (commit eda2f4177e), but we ended up removing
it in dey-4.0-r1.beta1 (commit 526cb3cae0). Even though the blank screen
issue isn't nearly as reproducible as it was back when it was initially
discovered (it used to have a 66% chance of happening), it can still occur
every now and then, especially on the ccimx6 when using an LVDS display.

Adapt the patch to weston 10.0.5.imx and apply it to fix the issue.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-27 12:53:41 +01:00
Francisco Gil f668d4722c lvgl: remove leading whitespaces in IMAGE_FEATURES:remove setences
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00
Francisco Gil 9834232a8c weston: allow overriding the weston background from Yocto
https://onedigi.atlassian.net/browse/DEL-9816

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00
Francisco Gil 3b89442fdc psplash: allow overriding the splash logo image from Yocto
https://onedigi.atlassian.net/browse/DEL-9816

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00
Francisco Gil 16e6e0978b core-image-base: disable splash screen
Disable splash screen for consistency with the rest of images.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00
Arturo Buzarra 8cfa94879b x-linux-ai: stai-mpu: update bbappend for X-LINUX-AI v6.2.0
ST updated the AI layer from v6.1.1 to v6.2.0, which means our v6.1.% bbappend
is no longer applied. Update the recipe version to match the new X-LINUX-AI
release.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra 55456629f0 trustfence: stm: set TF-M variables to fix build issue
The latest ST release (openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18) checks for
the presence of several TF-M-related variables at parse time, even when they are
not used. This triggers build failures with the new M33-TD flavor variables
required by the TF-M recipe.

Set default (dummy) values for these variables to avoid the parse-time failures.
This is a workaround until full support for building secure TF-M binaries is
integrated.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Gabriel Valcazar 191f891f6c lvgl: clean up configuration options
Remove options that aren't supported in v9.3.0 (LV_MEM_CUSTOM and
LV_TICK_CUSTOM_*) and move the lvgl-demo's default values to lv-conf.inc so
they can be changed via local.conf

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar 2af1e72123 lvgl: lv-conf.inc: enable touchscreen support for the wayland backend
LVGL v9.3.0 added support for multi-touch gestures via the
USE_GESTURE_RECOGNITION option, but in doing so, they made all touchscreen
support depend on said symbol, at least for the wayland backend. Since the
option is disabled by default, touchscreen support wasn't working in the
wayland version of the demo.

Enable gesture recognition/touchscreen support by default when using the
wayland backend. This depends on LVGL's floating number support, so make sure
this is reflected in the recipe as well.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar ce2b958a1d Revert "dey-image-lvgl: remove wayland backend for new version v9.3"
Now that we support the LVGL wayland backend, include the weston desktop in
dey-image-lvgl images, like we used to in older DEY versions.

This reverts commit db3e526b31.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar ec2d13053e Partially revert "wayland: remove wl_shell and libweston patch"
We only want to recover the libinput patch that fixes the cursor issue in the
LVGL demo, don't recover the wl_shell patch.

This partially reverts commit 7afc4a67de.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar de238b6d81 lvgl: lvgl-demo: rework recipe to include wayland backend support
Rework our customizations and apply them as full files instead of patches to
make it easier for users to inspect.

Instead of having one cmake file for all backends, provide a separate file for
each backend and select it dynamically based on the selected backend. To do
this, create a new LVGL_BACKEND variable in lv-conf.inc.

While at it, increase the demo's memory from 256 KiB to 2 MiB to ensure that
the wayland flavor of the demo works properly.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar e3df152ccd lvgl: remove support for the SDL backend
This backend depends on libsdl2, a library we don't include in our default
images. Even when this library is included, the LVGL demo doesn't work properly
when using the SDL backend on any of our platforms, so remove it.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar c360c9b757 Revert "lvgl-demo: remove vestigial Wayland logic"
We're going to be adding support for LVGL's wayland backend in the following
commits, so recover the initscript logic that ties in with said backend

This reverts commit 21d9c4f17b.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Gabriel Valcazar a3927c0306 lvgl: lv-conf.inc: include wayland backend support
This is mostly logic to convert the backend configured in the PACKAGECONFIG to
the lv_conf.h file, based on the DEY 4.0 version of the recipe. Add weston as
a runtime dependency to make sure the final image has a wayland compositor and
recover DEY 4.0's mechanism to fall back to a minimal backend if wayland is
missing from DISTRO_FEATURES

Use the wayland backend by default in all platforms except the ccimx6ul

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-19 15:57:18 +01:00
Arturo Buzarra 35cbb6a169 x-linux-ai: dcmipp-isp-ctrl: sync with OpenSTLinux v6.2
Synchronize the dcmipp-isp-ctrl recipe with the meta-OpenSTLinux layer from the
openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 tag. Although the version string
appears to be a downgrade, the recipe points to a newer commit (SHA1),
following ST’s versioning.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 10:44:20 +01:00
Javier Viguera 2ec067c6ee openssl: rebase patches for OpenSSL 3.5.5
This fixes the build failure caused by the OpenSSL update in Poky.

Import the OpenSSL patch set from NXP's whinlatter release. Since NXP's
whinlatter release is based on OpenSSL 3.5.4, rebase the patches on top
of OpenSSL 3.5.5 to match the current version.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-17 15:25:20 +01:00
Hector Palacios 6b9d2e4114 systemd-conf: machine-configurable power key behavior
Use placeholders and machine-configurable variables to determine systemd
behavior when receiving power key events.
By default, these are:
- short press: suspend
- long press: graceful poweroff

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-03-17 12:00:47 +01:00
Javier Viguera 2a416f7ebd neo-ipa-uguzzi: add package for NXP's Neo ISP
The neo-ipa-uguzzi package provides uGuzzi IPA (image processing
algorithms) for NXP's Neo ISP on the ccimx95. The recipe is backported
from NXP’s lf-6.12.49_2.2.0 release, and enabled at runtime as part of
the gstreamer packagegroup.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 3f4a8a410c)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-09 16:59:36 +01:00
Javier Viguera 3f4a8a410c neo-ipa-uguzzi: add package for NXP's Neo ISP
The neo-ipa-uguzzi package provides uGuzzi IPA (image processing
algorithms) for NXP's Neo ISP on the ccimx95. The recipe is backported
from NXP’s lf-6.12.49_2.2.0 release, and enabled at runtime as part of
the gstreamer packagegroup.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-09 16:51:02 +01:00
Francisco Gil 3b9a8698a7 xbee: cellular: add PLSx3 firmware updater recipe and helper script
Add new `glinswup-PLSx3_1.0.5.bb` binary recipe to package the
Cinterion PLSx3 firmware update tool.

Include `pls3_fw_update.sh` helper script to:
- validate input firmware file and modem port
- stop modem-related services before update
- run `glinswup_PLSx3` firmware update
- restore services on exit

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-09 15:54:01 +01:00
Arturo Buzarra 3fdb245765 trustfence: add encrypted boot artifact support for CCMP13 platform
This commit updates the secure boot support for STM platforms based on the
STM32 MPU Ecosystem v6.1.1. It introduces support for encrypted boot artifacts,
including TF-A and FIP for the ConnectCore MP13 platform.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-05 13:56:25 +01:00
Arturo Buzarra f4d412f08e trustfence: add warnings for deprecated TF variables
Warn when the deprecated TRUSTFENCE_DEK_PATH variable is detected, and fail the
build if it is used to disable artifact encryption. This prevents accidental
wrong compilations and guides users to replacement variables.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-02 10:08:39 +01:00
Arturo Buzarra 280594fce6 trustfence: add warnings for deprecated TF variables
Warn when the deprecated TRUSTFENCE_DEK_PATH variable is detected, and fail the
build if it is used to disable artifact encryption. This prevents accidental
wrong compilations and guides users to replacement variables.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-02-26 12:26:45 +01:00
Javier Viguera 1768135abd 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-24 17:40:59 +01:00
Javier Viguera be4c25a260 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-24 17:40:59 +01:00
Javier Viguera 11999b4810 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-24 17:40:59 +01:00
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
Hector Palacios 0d078e45a7 sysinfo: add support to retrieve MCA version for cc95
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-02-18 12:00:21 +01:00
Mike Engel 3c7301d688 trustfence: add secure storage service and script
This commit add secure storage service and helper
script to setup the secure storage at boot up.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://onedigi.atlassian.net/browse/DEL-9891
2026-02-04 10:02:40 +01:00