Commit Graph

5351 Commits

Author SHA1 Message Date
Isaac Hermida 2abcad0c78 meta-digi: document dey-image-container-manager usage
Document dey-image-container-manager in meta-digi-containers and
update the ccmp25-dvk and ccimx95-dvk build template notes so the
image is listed during environment setup together with its
virtualization requirement.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:20:46 +01:00
Isaac Hermida 4f58ce26e9 meta-digi-containers: add dey-image-container-manager image
Add the dey-image-container-manager image recipe to provide a
dedicated DEY image for container management using the trimmed LXC
and Podman runtimes from meta-digi-containers.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:20:46 +01:00
Isaac Hermida 17a6ba59cd meta-digi-containers: add trimmed container runtime recipes
Add dedicated trimmed runtime wrappers for LXC and Podman in
meta-digi-containers so dey-image-container-manager can install
reduced container runtimes without affecting other DEY images.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:20:46 +01:00
Francisco Gil 2da298408e dey-image-container: add final artifact bundle generation
Add the artifact packaging stage that assembles deployable LXC/Podman
bundles with a normalized layout (manifest, payload, checksums, metadata).

The task also computes digests/metadata and removes intermediate build
outputs once final artifacts are produced.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:17:39 +01:00
Francisco Gil 3efe532995 dey-image-container: add core image flow for LXC and Podman outputs
Introduce the base dey-image-container recipe and split core logic into
dedicated include files for rootfs overlays, LXC bundle generation and
Podman archive conversion.

This commit defines the profile-driven variables/overrides and the
native build tasks required to produce runtime-specific container outputs.

Also allow the recipe to overwrite WAYLAND_DISPLAY on init scripts to match
with different platforms.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:16:25 +01:00
Francisco Gil 8ba3905c2e meta-digi-containers: add layer configuration for DEY 5.0 (scarthgap)
Add the new meta-digi-containers layer skeleton for Yocto 5.0 and wire it into bitbake layer discovery.

This initial layer commit provides:
- layer metadata and compatibility/dependency declarations
- recipe/bbappend file discovery for container-related content
- base structure used by subsequent commits for container images and runtime integration

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:15:39 +01:00
Gonzalo Ruiz 5d54f13c2d libubootenv: generate key modifier from fuses
Until now the key modifier was being read from 'hwid_n' device tree
entries, but now those entries reflect the environment HWID, which
could be temporarily overriding the fuse HWID.

Ensure the key modifier is generated from the new 'hwid_fuse_n'
device tree entries created by U-Boot with the contents of the
fuse HWID, just as U-Boot does to encrypt/decrypt the environment.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-03-20 10:15:09 +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 2f29dd1dec linux-dey-6.6: update STM branch for release v6.6-stm32mp-r3
Update the STM32MP-specific kernel branch to Linux v6.6.116, aligned with the
latest ST release: openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 10:48:10 +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
Arturo Buzarra a5eb54435e stm-st-stm32mp: evision: add evision libraries
These libraries are required by libcamera when IPA support is enabled.
Import them from the meta-OpenSTLinux layer at the
openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 tag.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 08:48:27 +01:00
Arturo Buzarra 17d1f19a48 stm-st-stm32mp: libcamera-stm32mp: add v0.3.0 with ST IPA
Synchronize the libcamera recipe with the meta-OpenSTLinux layer from the
openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 tag.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 08:48:27 +01:00
Arturo Buzarra d0f9c61efd x-linux-ai: fix build issue with OpenSTLinux v6.2
The meta-st-x-linux-ai layer is still based on v6.1.1 and is not compatible
with the OpenSTLinux v6.2 BSP.

Mask the recipes that fail to build with v6.2 while waiting for an official
meta-st-x-linux-ai release aligned with OpenSTLinux v6.2.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 08:48:27 +01:00
Arturo Buzarra 61db652b8b ccmp1/ccmp2: disable ENABLE_PARTITIONS_IMAGE for Digi platforms
The meta-st-stm32mp layer for OpenSTLinux v6.2 introduces the flag
ENABLE_PARTITIONS_IMAGE to generate per-partition images. This breaks the build
for DEY platforms, so disable it by default.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 08:48:27 +01:00
Arturo Buzarra fef6a25ca3 ccmp1: remove deprecated image_types-stubi class
This class was removed from meta-st-stm32mp layer for OpenSTLinux 6.2 release.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 08:48:27 +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 5b18593bfd ccimx95-dvk: remove unneeded overlays for SMARC DVK
The SMARC module uses both Ethernet controllers, so ENET2 is
no longer optional.
The DVK does no longer have a MikroBUS connector so the
Mikro-E overlays are no longer needed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-03-17 12:03:19 +01:00
Hector Palacios 77dde9f8f1 ccimx95: adapt systemd power key events for SMARC module
For the ccimx95 SMARC module, the power button is connected
to the MCA, and the MCA is the one that generates the signal
to the ON_OFF input. In the SMARC design, the power button is dedicated
(there is a different button for standby) so we want short key
presses to be treated as a poweroff event right away.
We also want systemd to ignore long presses, as these are absorbed by
the MCA firmware to forcefully power off the PMIC.

When SMARC is disabled, use the default behavior:
- short press: suspend
- long press: graceful poweroff

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-03-17 12:01:09 +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
Hector Palacios ebe606d9ac ccimx95: enable SMARC module by default and conditionalize 'mca' feature
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-03-17 11:17:20 +01:00
Javier Viguera cf8d771390 imx-system-manager: use git repository and drop local patches
Remove the local ccimx95 patch series from imx-system-manager bbappend
and fetch the DEY-specific changes directly from the Digi fork.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-13 14:56:11 +01:00
Javier Viguera fe54927861 imx-oei: use git repository and drop local patches
Remove the local ccimx95 patch series from imx-oei bbappend and fetch
the DEY-specific changes directly from the Digi fork.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-13 14:55:56 +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
Javier Viguera 35dd3ec6c9 imx-oei: add patch with support for 2GiB ram
https://onedigi.atlassian.net/browse/DUB-1117

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-06 14:49:00 +01:00
Javier Viguera d5fe033b46 imx-system-manager: add patch with SM fix for 2GiB DDR
The system manager was not reporting (via SCMI) the size for the 2GiB
ram. This patch is a backport of a newer version of the SM.

https://onedigi.atlassian.net/browse/DUB-1117

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-03-06 14:49:00 +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
Isaac Hermida 41ab14adb8 linux-dey-6.6: stm32mp-rt-r2: fix stm32-usart context after DMA revert
Kernel commit b6ae6fee73eab568ba49a4a489fdac6bb5027997 removed the
RTO-based flush logic in stm32-usart.

As a result, the RT patch no longer applies cleanly because it
modifies the receive_chars() call using the old context.

Update the RT patch to match the new baseline while preserving
the PREEMPT_RT locking changes.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-03 16:25:59 +01:00
Isaac Hermida fd54946eb0 linux-dey: rt: apply sysvinit RT fragment only when sysvinit is enabled
The fragment-07-rt-sysvinit.config disables several cgroup
controllers (PIDS, CPUACCT, DEVICE, FREEZER, etc.) and is
intended for minimal RT configurations using sysvinit.

It is currently applied unconditionally for STM32MP RT builds,
including systemd-based systems. This breaks container runtimes
such as podman, which require full cgroup support (notably
CONFIG_CGROUP_PIDS) when running on PREEMPT_RT kernels.

Apply the sysvinit RT fragment only when the 'sysvinit'
DISTRO_FEATURE is enabled, leaving systemd configurations
unaffected.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-03 08:54:05 +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 1d705c8665 ccimx95-dvk: add Neutron NPU overlay
https://onedigi.atlassian.net/browse/DEL-9987

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-02-20 16:45:14 +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
Hector Palacios c7c63e3f28 mca-tool: build the recipe for cc95
The ConnectCore 95 SMARC module has an MCA so we need to
build the mca-tool for this platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-02-18 11:25:06 +01:00
Francisco Gil d657673d1f xbee: ccimx95: fix reset line in xbee interface
Due to GPIO1 port belongs to the Always-ON (AON) domain and probed last,
port GPIO4 is probed as gpio2.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-02-06 13:42:41 +01:00
Mike Engel 4eeeacdeba u-boot-dey: add signing of install scripts
This commit add support to sign u-boot install
scripts.

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

https://onedigi.atlassian.net/browse/DEL-9931
2026-02-04 17:07:30 +01:00
Isaac Hermida 607783837d linux-virtualization: add CONFIG_NETFILTER_ADVANCED dependency
CONFIG_BRIDGE_NETFILTER depends on CONFIG_NETFILTER_ADVANCED.
Some platforms enable this support, while others do not, so add it as an
explicit dependency.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-02-04 14:09:22 +01:00
Mike Engel 3de8b47535 optee-client: add default tee-supplicant configuration file
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2026-02-04 12:46:03 +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
Arturo Buzarra 65991f2e47 firmware-murata: update firmware binaries to version imx-styhead-longma_r1.0
This commit updates the firmware binaries for Bluetooth and Wireless interfaces,
aligned with the Cypress Linux WiFi Driver (FMAC) release v6.1.145-2026_0108.
The updated wireless firmware versions are as follows:
- 2FY Wireless chip: v28.10.590.3
- 2EC Wireless chip: v18.53.546.29

These updates are included as part of the imx-styhead-longma_r1.0 Murata release.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-02-02 21:54:41 +01:00
Arturo Buzarra 8c4fcc819f hostapd: enable IEEE 802.11ax (HE) support for STM platforms
Add IEEE 802.11ax (HE) support to enable High Efficiency capabilities when
operating in the 6 GHz band.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-02-02 13:49:28 +01:00