Commit Graph

2511 Commits

Author SHA1 Message Date
robin 51cbc751b7 Update meta-digi-dey/recipes-digi/dey-examples/dey-examples-src.inc 2026-04-14 14:37:16 +00:00
robin 4e2ff75996 Update meta-digi-dey/recipes-digi/dey-examples/dey-examples-src.inc 2026-04-14 14:33:15 +00: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 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 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
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
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
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 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
Mike Engel 190df56f4e recovery-initramfs: add retry when searching SWU package file
This commit adds a retry to the swu_package_path function of
the recovery-initramfs-init script. It has been seen that
with some USB memory stick a retry is necessary to mount
the external storage device containing the SWU package.
If the SWU package file is found before the max retries
is reached the loop will be exited and the SWU installation
will start. If max retry is reached and the SWU package
wasn't found it finishes with an error.

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

https://onedigi.atlassian.net/browse/DEL-9908
2026-01-21 17:45:53 +01:00
Javier Viguera 70ec1a8630 eiq-examples: update for NXP's lf-6.6.52-2.2.2 release
Removed not needed patch and refreshed the rest.

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 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 ad233abd34 meta-digi: update GPU related packages for 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 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
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
Gabriel Valcazar 291bddcf4c swupdate: explicitly enable SIGALG_RAWRSA when signed images are enabled
In previous versions of swupdate, only one SIGALG_* option could be chosen at
build-time, with SIGALG_RAWRSA being the default option. However, in 2025.12,
multiple SIGALG_* options can now be configured at build-time, allowing users
to choose the signature verification algorithm used at runtime via the
"digest-provider" parameter. We weren't explicitly setting any of these
algorithms in our defconfig, so the resulting builds didn't have any digest
providers, causing swupdate to fail early on when signed images are enabled.

To restore the behavior of previous swupdate versions, explicitly enable
SIGALG_RAWRSA when signed images are enabled. Since we only enable one digest
provider, it will be chosen automatically, without having to explicitly set the
"digest-provider" parameter at runtime.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-01-19 15:16:46 +01:00
Gabriel Valcazar 8393625473 swupdate: adapt patches for 2025.12
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-01-16 13:37:38 +01:00
Gonzalo Ruiz 6d83bc1ab9 bluez5-init: ccmp2: load FCC file by default
New default file is 'CYW55500A1_FCC.hcd' for ccmp2, so load that file by
default in the script.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-01-13 09:56:30 +01:00
Javier Viguera 24d1a9ec51 meta-digi-dey: bump distro version to 5.0-r4
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-19 14:09:30 +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
Gabriel Valcazar 18f823ebd1 cccs: don't change default client_cert_path for the ccimx6ul
Commit 619ca8b2a8 changed the ccimx6ul's default endpoint URL and client cert
path in order to prevent performance issues if the client cert is erased before
registering the device.

In reality, the client cert path doesn't really matter after this change since
the remotemanager.digi.com endpoint won't make use of it, and we now ensure
that /mnt/data is writable; so we might as well keep using that path.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 18:15:15 +01:00
Gonzalo Ruiz e8919d5fb4 libdigiapix: ccimx95: update default macros for dey-examples
https://onedigi.atlassian.net/browse/DEL-9832

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-15 17:44:16 +01:00
Gabriel Valcazar 55d58ea814 lvgl-demo: make HDMI the default display for ccimx6/ccimx6qp
In these platforms, /dev/fb0 corresponds to the LVDS display, so change the
demo's output framebuffer to /dev/fb3 to use the HDMI display instead.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 289a6e5e09 lvgl: move lvgl-demo-init modifications to their corresponding recipe
lv-conf.inc is a general configuration file, meant for any LVGL application,
while lvgl-demo_9.3.0.bb is the recipe for our example demo. Make sure any
modification made to the demo or its initscript is made in its corresponding
recipe.

This is cosmetic, no functional change.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 21d9c4f17b lvgl-demo: remove vestigial Wayland logic
In platforms that support wayland/xwayland, dey-image-lvgl images have most
weston/wayland packages removed from the filesystem, save for the main wayland
package (because DISTRO_FEATURES still contains "wayland"). Because of this,
the wait_for_wayland() function is called in lvgl-demo-init, but the wayland
display never gets created, causing the function to time out after 20 seconds.
Get rid of this check to have the lvgl-demo launch as soon as possible.

While at it, get rid of other wayland-related logic, since we only use LVGL's
drm or fbdev backends at the moment.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-15 10:47:32 +01:00
Gabriel Valcazar 619ca8b2a8 Revert "cccs: ccimx6ul: drop exception for `data` partition and client certificates"
If a target's DRM certificate is lost/erased before registering said target,
the CCCS server will reject all connection attempts from the target. This
can happen during development, as our installer scripts format the data
partition where the certificate is stored by default (see commit c17af3fd47).

Since the ccimx6ul uses sysvinit, we respawn the cccsd daemon via inittab if
process ends unexpectedly (see commit b154154a7e). When the server always
rejects connections due to a missing certificate, the cccsd daemon is
constantly respawning and terminating prematurely. Said daemon is very
CPU-intensive during initialization, so this causes the overall system's
performance to be hindered.

For now, to avoid this situation, use the CCCS endpoint that doesn't require
a certificate in order to ensure stable connections even if the data partition
gets formatted.

https://onedigi.atlassian.net/browse/DEL-9892
https://onedigi.atlassian.net/browse/DEL-9894

This reverts commit 4f8ed2d434.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-12-12 12:02:39 +01:00
Arturo Buzarra bd7e2f40ec swupdate: mmc uboot: improve MMC write flow
Add a check to avoid disabling read-only protection on partitions that don't
support it, and refine logging to print the specific bootloader partition being
flashed (instead of the generic "U-Boot" label).

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Arturo Buzarra 6b099b1c67 swupdate: mmc uboot: skip appending encryption key on CCMP2
Do not append the encryption key to the bootloader on STM platforms, it’s not
required and triggers an installation error.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +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 39c24dcfb5 trustfence: fix SWUpdate private key selection for STM platforms
Commit b1800736af ("trustfence: update support to
STM platforms and integrate CCMP2") renamed several variables like FIP_SIGN_KEY
to SIGN_KEY, but missed updating the `SWUPDATE_PRIVATE_KEY_TEMPLATE` assignment.
This broke .swu signing on STM targets.

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
Isaac Hermida cf27d3e201 bluetooth-init: get the BT MAC address from the DT node
Retrieve the Bluetooth MAC address from the device tree (DT) node
rather than from the environment.
U-Boot will populate this address by default, but it can be
overridden with a custom MAC address specified directly in the DT,
which then takes priority.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-12-02 12:31:33 +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 bc1d97cd3b flutter-example: fix version dependendy
Last update of the flutter engine broke the example app. Fix the version
dependency.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 12:50:09 +01:00
Javier Viguera 0400223712 flutter-example: fix version dependendy
Last update of the flutter engine broke the example app. Fix the version
dependency.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-27 15:00:04 +01:00
Isaac Hermida 08732151b9 meta-digi-dey: cosmetic, remove trailing white spaces
No functional change.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-11-27 13:03:00 +01:00
Javier Viguera 8625756a2b dey: update libgpiod preferred version
Version 1.6.4 is no longer available, as meta-openembedded updated it
to version 1.6.5. Update our preferred version using a wildcard as our
libdigiapix depends on the 1.6.x series.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 06175c3c26)
2025-11-25 13:03:17 +01:00
Javier Viguera cc7a39ed8e meta-digi-dey: add recipe for dey-image-chromium-swu
Provide a recipe to generate a SWU package based on dey-image-chromium.

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 a8108d7643 connectcore-demo-example: remove browser dependencies from browser-based pkgs
Commit 87b73f3f5d consolidated all connectcore-demo-example recipes into a
single recipe with multiple packages. Even though we choose which of these
packages to install depending on the image type, all packages (along with their
dependencies) get built regardless of which package ends up getting installed.
This means that the browsers (webkit/chromium) will get built as long as their
respective layer is in the bblayers, regardless of the image type.

For example:
    * wpewebkit will get built for all platforms with webkit support,
      regardless of the image (qt, flutter, core-image-base...)
    * chromium-ozone-wayland will get built for the ccimx95-dvk, even for qt
      and flutter images

Since we already include the main webkit and chromium packages in their
respective image's packagegroup, simply remove the dependencies from the
connectcore-demo-example recipe to avoid build overhead and unexpected errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-11-24 14:04:36 +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