Commit Graph

727 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
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
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
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 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
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 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 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 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
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
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
Hector Palacios e2fb5c3dd7 ccimx95-dvk: add MikroE gyro/accel device tree overlays
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-11-14 12:20:49 +01:00
Hector Palacios b6b6419067 ccimx95-dvk: add Pcam 5C camera overlay
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9810
2025-11-14 11:59:11 +01:00
Gabriel Valcazar 55e0961c85 ccimx6: set WAYLAND_DISPLAY to wayland-0
i.MX6 platforms use an older version of weston, 10.0.5.imx, which sets the
wayland socket to wayland-0 by default. Without this change, our demo launcher
scripts/services will fail on ccimx6/6qp platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-07 14:50:20 +01:00
Javier Viguera 567a367fcc ccimx95-dvk: delete IMX_SOC_REV machine override
We support only B0 silicon revision and that is already set on
"imx-digi-base.inc" for all mx95 based machines.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-29 18:32:04 +01:00
Arturo Buzarra fc1d3c5f75 trustfence: add TRUSTFENCE_ENCRYPT variable
Add a variable analogous to TRUSTFENCE_SIGN to enable/disable artifact
encryption. Deprecate TRUSTFENCE_DEK_PATH in favor of TRUSTFENCE_KEYS_PATH to
use a more generic name and avoid overloading it as an on/off flag. Add per-key
variables for encryption key filenames to avoid hardcoded names and allow
platform overrides.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Arturo Buzarra 8ee168de0a ccmp1/ccmp2: adapt virtual optee syntax
This commit updates the virtual OP-TEE syntax for the CCMP1 and CCMP2 platforms
to align with the changes introduced in the meta-st-stm32mp layer. Specifically,
it mirrors the update made in commit ded46c7d24addf91ec81c9f64309e6376689977a
("Adapt to virtual optee changes").

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Arturo Buzarra 15c5adfbb4 ccmp25-dvk: remove unsupported usbg0 machine feature
The ConnectCore MP2 DVK does not include an external STM32G0 component.
This commit removes the 'usbg0' entry from MACHINE_FEATURES to prevent
the installation of the unnecessary stm32mp-g0 firmware.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Arturo Buzarra 3e5cf0c6e6 trustfence: add signed and encrypted firmware support for Cortex-M on STM platforms
Adds support for signing and encrypting Cortex-M firmware on STM platforms,
following the STM32 MPU Ecosystem v6.1.0. This update enables secure boot of
co-processor binaries on ConnectCore MP2, enhancing firmware protection.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Javier Viguera 13f8046d31 meta-digi: clean vfat images dependencies
vfat images need U-Boot scripts, which are always provided by the U-Boot
recipe, even for imx-boot-based machines. Replace the machine-dependent
BOOTLOADER_IMAGE_RECIPE with virtual/bootloader (which is provided by
u-boot recipes).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-23 11:31:15 +02:00
Javier Viguera 3dfd6b77ef meta-digi: drop legacy SD card image support
Remove obsolete SD card image creation logic and related variables. We
will use WIC images for bootable SD cards.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-23 11:31:15 +02:00
Javier Viguera d98b875ea5 meta-digi: support WIC images for NXP-based modules
Notice that we need to create u-boot and imx-boot symlinks in the deploy
directory, as they are required for the bootloader of the wic images.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-23 11:31:15 +02:00
Javier Viguera da00e61f80 imx-boot: generalize Cortex-M default image handling
Different platforms use different Cortex-M processors, so instead of
using the M4_DEFAULT_IMAGE_MX95 (as meta-imx does) for an M7 processor,
generalize to the CORTEXM_DEFAULT_IMAGE variable name. Also, move it
to the imx-boot recipe (where it is used) and deploy that image to
the imx-boot-tools directory, so the imx-boot image can be regenerated
externally (without yocto).

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-22 12:03:08 +02:00
Javier Viguera 0e338f4b8f ccimx9{3,5}-dvk: remove IMAGE_BOOT_FILES
Remove IMAGE_BOOT_FILES and related WKS dependencies from ccimx93-dvk and
ccimx95-dvk machine configs. IMAGE_BOOT_FILES defines the files included
in the boot partition when creating WIC images. The removed files are
the Cortex-M demo firmware that we don't want on the boot partition of
our WIC image.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-22 12:03:08 +02:00
Javier Viguera 34b7945ccb ccimx95-dvk: add enet2 and lvds overlays
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-10 10:12:02 +02:00
Arturo Buzarra c8757b7bf3 trustfence: add encrypted boot artifact support for STM platforms
This commit updates the secure boot support for STM platforms based on the
STM32 MPU Ecosystem v6.1.0. It introduces support for encrypted boot artifacts,
including TF-A and FIP, and enables this functionality for the ConnectCore MP2
platform.

This enhancement allows secure boot deployments with both authentication and
encryption for improved protection of critical boot components.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-06 17:15:17 +02:00
Arturo Buzarra aabffdd138 ccmp2: disable signing and encryption for co-processor firmware
This commit disables the signing and encryption mechanism for the ConnectCore
MP2 platform's co-processor firmware. Currently, this functionality is not yet
supported in DEY, and enabling it causes build failures when TrustFence support
is active. Disabling it ensures successful builds until full support is
implemented.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-06 13:36:32 +02:00
Javier Viguera 69a512aef1 imx-system-manager: add ccimx95-dvk support
Update machine config and add bbappend with ccimx95-dvk patches.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-01 11:55:15 +02:00
Javier Viguera 4cdc7020b6 imx-oei: add ccimx95 support
Add the ccimx95 platform cloned from mx95lp5. Provide DDR configuration,
configure the console on lpuart6, and update ccimx95-dvk.conf to select
the new board.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-01 11:48:40 +02:00
Javier Viguera a5d5cf86f1 meta-digi-arm: add ConnectCore 95 DVK platform
https://onedigi.atlassian.net/browse/DEL-9781

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-29 12:52:13 +02:00
Javier Viguera cd56a8ebf7 meta-digi-arm: clean up ccimx9 DDR firmware handling
Move the LPDDR4 firmware list from the shared ccimx9 include into the
machine configurations for the ccimx91/93 DVK, allowing the upcoming
ccimx95 to utilize its own distinct values.

Also, remove the redundant IMXBOOT_TARGETS and BOOTLOADER_SEEK_USERDATA
overrides in ccimx91-dvk, as they are duplicated.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-26 15:13:27 +02:00
Javier Viguera e3d8b314b8 weston: update to 12.0.5.imx for i.MX8/9
This is the version used by NXP with lf-6.6.52-2.2.1.

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 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
Javier Viguera 770562a704 firmware: update binary 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
Javier Viguera 74753d8f99 imx-boot: update boot artifacts for NXP's lf-6.6.52-2.2.1 release
Also, refresh patches on top of new 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
Javier Viguera 839e8aab91 imx-digi-base: fix machine override extenders for ccimx91
Following 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-05 19:38:10 +02:00
Arturo Buzarra 07c4369637 u-boot-dey: switch ccimx6sbc/ccimx6qpsbc platforms to U-Boot v2024.04
This commit updates the CC6 and CC6QP platform configurations to use the latest
NXP BSP based on U-Boot v2024.04, unifying support across all NXP-based
platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-09-03 09:03:19 +02:00
Arturo Buzarra a04846f107 meta-digi-arm: switch ccimx6sbc/ccimx6qpsbc platforms to Linux kernel v6.6
This commit updates the CC6 and CC6QP platform configurations to use the latest
NXP BSP based on Linux kernel v6.6, unifying support across all NXP-based
platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-09-03 09:03:19 +02:00
Javier Viguera d676636159 imx-digi-base: set SECOEXT_FIRMWARE_NAME to empty by default
With the updated firmware-ele-imx recipe, the installation logic now
requires SECOEXT_FIRMWARE_NAME to be empty when no extra firmware is
to be installed.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-08-20 14:57:57 +02:00
Arturo Buzarra 87060cbbd1 ccmp13: disable generation of ST user image
https://onedigi.atlassian.net/browse/DEL-9734

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-29 14:12:36 +02:00
Arturo Buzarra ea5027e623 stm-st-stm32mp: fip/tf-a: sync .bbappend recipes with ST BSP v25.06.11 release
This commit updates the Digi custom .bbappend recipes for FIP and TF-A to align
with the latest ST BSP release, based on the openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11
tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-29 11:33:15 +02:00
Mike Engel f0b4d0d02a ccmp15: enable secure_system_service for CCMP15
This commit enables the full OP-TEE support using the
secure_system_service profile.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-07-29 11:16:39 +02:00
Hector Palacios 318374f11d dey-installer: add signed/encrypted bootloader to installer zip
On NXP platforms, the signed/encrypted bootloader images are not
included on the installer ZIP. This prevents from using the installer
when TrustFence is enabled.

This commit adds to the installer:
 - If encryption is enabled
   - encrypted bootloader
   - signed bootloader (for USB recovery boot)
 - If encryption is disabled
   - signed bootloader
 - If TrustFence is disabled
   - non-signed bootloader

It also treats the ccimx6ul special, as this has a dedicated file for
USB recovery boot.

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

https://onedigi.atlassian.net/browse/DEL-9698
2025-07-02 21:17:24 +02:00