Commit Graph

2784 Commits

Author SHA1 Message Date
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
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 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 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
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
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
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
Javier Viguera 4f9f4b113e openssl: integrate support for pkcs11-provider NXP fork
This is the version used in 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 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 c9e2da3214 imx-secure-enclave: update to NXP's release lf-6.6.52-2.2.2
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
Gonzalo Ruiz 6b08824f14 firmware-murata-infineon: ccmp2: install NVRAM file from Murata repo
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-20 09:19:49 +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 2430122424 ccimx93-dvk: add missing NHD-3.5-640480EF-MSXP display overlay
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-15 11:55:31 +01:00
Gonzalo Ruiz 0c006332fa firmware-murata-infineon: use symlinks for regdomain files
For both wireless and Bluetooth regulatory domain files, install the
files as is and create symlinks for the different regulatory domains.

Then, the drivers are responsible of loading the default files (US for
wireless, FCC for Bluetooth) or other files when specified through the
'regdmn' module parameters.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-13 09:50:25 +01:00
Arturo Buzarra 0883522ffa firmware-murata: update firmware binaries to version imx-scarthgap-kraken_r1.0
This commit updates the firmware binaries for Bluetooth and Wireless interfaces,
aligned with the Cypress Linux WiFi Driver (FMAC) release v6.1.110-2025_0718.
The updated wireless firmware versions are as follows:
- 2FY Wireless chip: v28.10.522.8
- 2FY Bluetooth chip: v1.2.32.40.33 FCC and CE.JP

These updates are included as part of the imx-scarthgap-kraken_r1.0 Murata release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-30 13:50:50 +01:00
Javier Viguera e2ed58b70b Merge tag 'dey-5.0-r3.1' into dey-5.0/master
Digi Embedded Yocto 5.0-r3.1

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-19 14:00:21 +01:00
Arturo Buzarra 19a2ad15a8 meta-digi: update revisions for dey-5.0-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-16 18:01:33 +01:00
Gonzalo Ruiz f82ea20153 installer: ccimx95: install dey-image-chromium by default
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-11 13:14:54 +01:00
Arturo Buzarra 13556606e0 swupdate: stm: fix TF-A/FIP artifact names in .swu when TrustFence is enabled
Correct the bootloader artifact names (TF-A and FIP) for CCMP1/CCMP2 during
.swu generation with TrustFence enabled.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 98c3e6427b trustfence: make co-processor secure firmware optional
Introduce a configurable variable to enable/disable secure co-processor
firmware when TrustFence is enabled.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Gonzalo Ruiz 08637debae meta-digi-arm: ccmp25: add USB recovery artifacts to the ZIP installer
Distribute all the required bootloader artifacts required for USB recovery
as part of the ZIP installer. That way, every pre-compiled set of images
is enough for starting development.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-09 17:51:54 +01:00
Isaac Hermida 8f7ece342d linux-dey: ccimx95: add temporary patch to support early prototypes
As the HWID support is not implemented yet, is needed to fill
the wireless information in the DT structure to have Wi-Fi and
Bluetooth working.
This is just a temporal patch for initial prototypes.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-12-05 16:42:06 +01:00
Javier Viguera 052cd63529 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 17:58:45 +01:00
Javier Viguera 532939fa9f digi-defaults: add dey-image-chromium to graphical images
https://onedigi.atlassian.net/browse/DEL-9838

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-24 18:33:43 +01:00
Gabriel Valcazar 0eaf1038d3 ccmp15: add meta-clang to default bblayers
Other platforms that have flutter support use clang to build the flutter-engine
recipe, so do the same with the ccmp15. meta-flutter uses clang for a set of
its recipes (mainly flutter-engine) as long as meta-clang is in the bblayers,
so all we need to do is add said layer.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 18:28:48 +01:00
Francisco Gil 055378aee3 installer: replace setenv instructions with direct install_linux_fw_uuu.sh usage
Updated error guidance to use `./install_linux_fw_uuu.sh -u <uboot_file>`
instead of setting INSTALL_UBOOT_FILENAME manually.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-11-24 18:13:08 +01:00
Gabriel Valcazar af3ebf910c ccimx91: remove webkit and selinux layers
We originally removed GUI-related layers from headless platforms in commit
ef26e935d0, but we left meta-webkit in the ccimx91's bblayers due to a
spurious selinux dependency. Since we recently removed both the webkit and
selinux layers from the ccimx95's bblayers in commit 2aaa76c963, do the same
for the ccimx91.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 14:04:36 +01:00
Hector Palacios db74634234 imx-atf: enable access to GPIO1 port on i.MX95
GPIO1 port access was not enabled on ATF because NXP
reserved it to have exclusive access from the secure
world on their EVK.

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

https://onedigi.atlassian.net/browse/DEL-9839
2025-11-24 09:33:39 +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 2aaa76c963 ccimx95: remove webkit and selinux layers
At the moment, webkit does not work well on the ccimx95. Running cog on
wayland crashes with:

  eglCreateWaylandBufferFromImageWL not found
  cog-platform-wl.c:1731:on_export_wl_egl_image: assertion failed: (wpe_view_data.buffer)

So just delete the layer from the project's config file. Selinux layer
depends on meta-webkit, so we need to remove it as well.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-21 14:41:54 +01:00