Commit Graph

5380 Commits

Author SHA1 Message Date
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
Isaac Hermida 865ca174c9 bluetooth-init: bluetooth-init_btbcm_hciuart: optimize script
Optimize the script to remove unneeded code.
As the BT_REG_ON is managed by the driver, the REG_POWER_ON is not
needed at all.
Loading the hci_uart pulls btbcm, so no need to load it explicitly.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:36:41 +01:00
Isaac Hermida 3408f8c4ed bluetooth-init: consolidate common scripts
Consolidate the init script for platforms based on the same driver with
the same logic.
The btbmc and hciuart drivers are used in the ccmp1 and cc95.
The btnxpuart driver is used in the cc91 and cc93.
The btdigi driver is used in the cc8 platforms with the qca65x4 driver.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:36:41 +01:00
Isaac Hermida 575377d922 bluez5-init: add firmware dependency for CC95 SOM v2
The ConnectCore 95 SOM v2 uses the Murata 2EC wireless combo chip, so this
confirmation includes the firmware recipe for Bluetooth initialization.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:36:41 +01:00
Isaac Hermida e8ab46c994 conf: ccimx91: remove ethos-u firmware
The i.MX91 does not include an NPU; only the i.MX93 does.
Remove the Ethos-U firmware support that was accidentally added during
code reorganization.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:35:32 +01:00
Isaac Hermida 5f5bf6c089 Revert "linux-virtualization: expand lxc config support"
While BTRFS can be useful on server-class systems (e.g. RAID-based or
snapshot-heavy setups), enabling it unconditionally is not appropriate
for typical embedded systems. It introduces unnecessary kernel
complexity, pulls in RAID6 support, and increases kernel boot time by
approximately 0.7 seconds.

This reverts commit 503e50f392.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:28:33 +01:00
Francisco Gil fbda81187c ccimx6: wifi: remove wpa_supplicant-based SoftAP logic on ccimx6
ccimx6 was the only platform using wpa_supplicant instead of hostapd for
SoftAP configuration, requiring additional platform-specific logic.
Since SoftAP works correctly with hostapd, drop the wpa_supplicant path
and unify the AP implementation across platforms.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-01-29 13:59:51 +01:00
Hector Palacios f95598eac7 Revert "linux-dey: ccimx95: add temporary patch to support early prototypes"
Revert patch. This is covered in Linux DT directly for SOM v2.
This reverts commit 8f7ece342d.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Hector Palacios 161117d229 conf: ccimx95: add variables for console, Wi-Fi, BT, XBee, firmware
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Hector Palacios 6a5cd177d0 conf: ccimx9: move cc93/cc91 common defines to specific machine config
Some of the hardware settings that were common between the cc93/cc91 SOMs
and DVK are not common for the cc95.
This commit moves those defines from common ccimx9.inc to each specific
machine configuration file.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Hector Palacios d6fe75b695 linux-dey: blacklist bluetooth module to let BT init script manage it
Blacklist the Bluetooth kernel module for CC95 (hci_uart) to let user
space bluetooth-init script load/unload it.
While on it, group blacklisting of all platforms using Murata chipsets.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Hector Palacios 42d7d16e98 firmware-murata-infineon: add support for cc95
ConnectCore 95 v2 uses Murata LBEE5XV2EC Wi-Fi module
with Cypress CYW55571 chipset.

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

https://onedigi.atlassian.net/browse/DEL-9915
2026-01-29 12:58:49 +01:00
Hector Palacios d452fb391c ccimx95-dvk: use cc95-specific Bluetooth and Wi-Fi overlays
For SOM v2, the Wi-Fi chipset has been changed, which requires
overlays that are specific to cc95, different than the ones
for cc93/cc91.

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

https://onedigi.atlassian.net/browse/DEL-9915
2026-01-29 12:58:49 +01:00
Gonzalo Ruiz b665651330 imx-oei: set OEI_DEBUG="1" to get DDR training console logs
Enable OEI logging to get a feeling of the device booting correctly when
it first powers up.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-29 10:52:04 +01:00
Gonzalo Ruiz 0b2e6edea8 ccimx95: add ATF, OEI, OPTEE, SM patches for SOM v2
https://onedigi.atlassian.net/browse/DEL-9915

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-29 10:49:22 +01:00
Javier Viguera 7ff33776bd meta-digi-arm: switch SDMA firmware to linux-firmware packages
Use the SDMA firmware provided by linux-firmware for i.MX6 and i.MX8
platforms. The SDMA blobs shipped in linux-firmware and firmware-imx are
identical, so just use the upstream ones as meta-freescale does.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-28 10:34:22 +01:00
Javier Viguera fbc3e54ceb imx-digi-base: update libvpx preferred version
Version 1.14.0 is no longer available, as meta-openembedded updated it
to version 1.14.1. Update our preferred version using a wildcard.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-28 10:34:22 +01:00
Arturo Buzarra f99278db33 ccmp15: add Cortex-M4 signed firmware support
Enable signed firmware to prevent unauthenticated code on the Cortex-M4
co-processor by verifying images against custom public key from OP-TEE.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-28 10:30:51 +01:00
Arturo Buzarra 263d9a2baa trustfence: add support to generate Cortex-M4 signing keys
Add RSA key generation support for the Cortex-M4 co-processor on
ConnectCore MP15 platforms as part of DEY TrustFence framework.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-27 13:04:26 +01:00
Arturo Buzarra 53d6606e69 ccmp1/ccmp2: set default OP-TEE board config for SDK generation
Select the proper OP-TEE board configuration in the optee-os-stm32mp recipe so
trusted applications are built/exported correctly in the SDK. Without this
change, the build may choose a different MACHINE and trigger unexpected
compilation issues.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-27 13:04:26 +01:00
Arturo Buzarra 8d8d750854 trustfence: fix typo in TRUSTFENCE_COPRO_PASSWORD_FILE
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-27 13:04:26 +01:00
Mike Engel 0bb84fec8b recovery-initramfs: improve initramfs retry implementation
This commit improves and simplifies the retry
implementation.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2026-01-23 10:10:08 +01:00