Commit Graph

2437 Commits

Author SHA1 Message Date
Mike Engel a81298940f lvgl-demo: add patch to discover input device and draw mouse cursor
https://onedigi.atlassian.net/browse/DEL-9750

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:46:00 +02:00
Mike Engel 7afc4a67de wayland: remove wl_shell and libweston patch
This commit removes the wl_shell and libweston patche, which
are now not necessary anymore. Becasue we have removed the
wayland backend for the LVGL image.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:44:35 +02:00
Mike Engel 6b33d06197 lvgl-demo: add patches for the default Lvgl demo git sources
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:22:09 +02:00
Mike Engel b1c2b3a6d0 lvgl-demo: update init and service scripts for updated lvgl demo version
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:22:09 +02:00
Mike Engel db3e526b31 dey-image-lvgl: remove wayland backend for new version v9.3
This commit removes the wayland backend use directly the video
interface and reduce image size. In this version the wayland
support is still not fully suport or similar how it was in the
previous verison we used.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:22:09 +02:00
Mike Engel 69680ded39 lvgl: upgrade to version 9.3
This commit upgrades our LVGL support to v9.3.0.
We used the meta-openembedded implementation, reference
and reused the lv_conf.inc file for the demo configuration.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-18 12:22:09 +02:00
Mike Engel f789fa8fb2 qt6-layer: add QT6 support for CCiMX6UL
This commit adds QT6 support for the CCiMX6UL
platform and QT6 as the default setup.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2025-09-15 12:39:12 +02:00
Javier Viguera 1437b734a3 weston: update bbappend to NXP's lf-6.6.52-2.2.1
Also, refresh patches.
Missing from previous commit.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-09-09 17:22:35 +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
Gabriel Valcazar 0ceb58fc57 stm: gstreamer1.0-plugins-bad: use strict assignment for default PACKAGECONFIG
A recent change in meta-st-x-linux-ai was completely overwriting our default
PACKAGECONFIG values, causing several plugins to be omitted (for example, the
wayland plugin). In turn, this was causing several build errors in many
packages that depend on said plugins.

Use a strict PACKAGECONFIG assignment to prevent this. As a side effect, this
removes the new "uvcsink" PACKAGECONFIG introduced by the recent change in
meta-st-x-linux-ai, so make sure to re-add it to avoid unexpected behavior when
building the brand new people-tracking-heatmap AI example.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-08-22 13:30:00 +02:00
Gabriel Valcazar d95b2449b1 x-linux-ai: use wildcard for hotfix version number in stai-mpu recipe
STM recently updated their AI layer from v6.1.0 to v6.1.1, so our v6.1.0
bbappend wasn't being applied anymore. Use a wildcard for the hotfix version
number in case this happens again in the future.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-08-22 11:20:15 +02:00
Arturo Buzarra d8ab99f9b2 x-linux-ai: recipes-samples: remove custom patches for setup camera script
Since commit 7f1a3011521c955760b2fec24e64a721d22eaa91 ("applications: replace
camera source v4l2src with libcamera") in the meta-st-x-linux-ai layer, the
setup camera script has been replaced by libcamera. As a result, these patches
are no longer applicable.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-08-01 11:29:46 +02:00
Arturo Buzarra b13fda0a2d x-linux-ai: update support for new X-LINUX-AI v6.1.0 release
This commit introduces the necessary changes in the Digi Embedded Yocto layer
to support the X-LINUX-AI v6.1.0 software package from the meta-st-x-linux-ai
layer.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-29 22:11:02 +02:00
Isaac Hermida 5001419caf swupdate: mmc uboot: enable write access to update U-Boot artifact
While on it, remove the third argument to write_artifact_emmc function,
as write access is always needed to write in U-Boot partitions, otherwise
they would be 'ro' protected.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-07-23 12:41:48 +02:00
Arturo Buzarra 85c0607856 meta-digi-dey: bump distro version to 5.0-r3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-21 16:16:11 +02:00
Arturo Buzarra 2309293051 Merge tag 'dey-5.0-r2.2' into dey-5.0/master
Digi Embedded Yocto 5.0-r2.2

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-21 16:12:18 +02:00
Arturo Buzarra b2eb7a5825 meta-digi: update revisions for dey-5.0-r2.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-15 22:10:11 +02:00
Arturo Buzarra 915b235f5a meta-digi-dey: bump distro version to 5.0-r2.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-15 22:10:11 +02:00
Hector Palacios 656a23cd42 sysinfo: properly format table header row for markdown
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-07-09 12:06:45 +02:00
Tatiana Leon 4f8ed2d434 cccs: ccimx6ul: drop exception for `data` partition and client certificates
Until DEY 5.0, the ccimx6ul platform was the only one that did not include a
`data` partition.
As a result, `cccsd` had to store the client certificate from Remote Manager in
the root filesystem, under `/etc/ssl/certs` by default.

This setup caused issues after a software update, as the received client
certificate would be lost, making the device unable to reconnect to the server
until the certificate was manually reset from Remote Manager.
The same problem occurred in dual-boot systems, since the certificate was stored
in the rootfs of the current bank and was not accessible from the other bank.

To avoid this situation, the ccimx6ul used the `remotemanager.digi.com` endpoint
instead of `edp12.devicecloud.com`, as the former does not support or deliver
client certificates.

Now that DEY 5.0 includes a `data` partition in the ccimx6ul partition table, we
can remove this exception and allow the use of `edp12.devicecloud.com`, storing
the certificates persistently in the `data` partition.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2025-07-09 12:06:45 +02:00
Arturo Buzarra 756957e280 x-linux-ai: recipes-samples: fix broken webcam support after latest release
The latest X-LINUX-AI v6.0.1 release consolidated the config_board_npu.sh
script across all STM32MP2x platforms with NPU support. As part of this
consolidation, the supported video resolutions were unified under a single
default setting, which does not work correctly with USB webcams.

This commit updates Digi’s custom patch to adjust the internal resolution used
for processing video streams from webcams, ensuring proper support and
functionality.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-08 15:43:00 +02:00
Arturo Buzarra bf15b1ae91 x-linux-ai: recipes-samples: move Digi webcam patch to config-npu bbappend
Since the release of X-LINUX-AI v6.0.1, AI support has been split between
devices with NPU and those relying solely on CPU. As a result, the Digi custom
patch to enable USB webcam support was no longer applied, because the
config_board_npu.sh script is now handled by the new config-npu.bb recipe.

This commit addresses the issue by introducing a new bbappend for config-npu,
ensuring that the webcam-related patch is correctly applied for NPU-enabled
platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-08 15:34:11 +02:00
Arturo Buzarra 6858f8aa25 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-04 11:15:42 +02:00
Arturo Buzarra 15dee0005e meta-digi: update revisions for dey-5.0-r2.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-04 11:15:37 +02:00
Javier Viguera 5c96ae3ecd base-files: fix sysctl config installation on systemd-based systems
Systemd-based systems do not use the global /etc/sysctl.conf file. Instead,
they read configuration from individual files under /etc/sysctl.d. This
change installs our sysctl settings as /etc/sysctl.d/console.conf when
systemd is enabled.

For systems that do not use systemd, the configuration file is still
installed at /etc/sysctl.conf. The CONFFILES entry is also updated.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-07-03 13:48:32 +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
Arturo Buzarra b460485771 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-02 12:53:57 +02:00
Javier Viguera 35148654c7 u-boot: drop '-dtb' from signed/encrypted image filenames
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-07-01 18:21:13 +02:00
Francisco Gil d3e6f8648b cc6ul: vsftpd-cert: increase init priority to ensure certificates generation
The vsftpd-cert init script was previously starting too late,
causing vsftpd to start before the certificates were generated.
The priority has been increased (to 70) so that vsftpd-cert
runs earlier during boot.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-07-01 13:27:36 +02:00
Javier Viguera 053adc70c0 meta-digi-dey: remove curl bbappend overriding resolver backend
Removed curl_%.bbappend which forced the use of ares over the default
threaded-resolver. We did this customization for NetworkManager long
ago in the context of network failover. Later we dropped it from NM,
but the customization in curl remained.

This saves approx. 100KB in the rootfs (libcares.so).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-26 15:35:46 +02:00
Javier Viguera 5054410dfa packagegroup-core-x11-sato: reduce footprint for ccimx6ul-based images
* Disable GTK-based gstreamer player and connman network manager
* Remove matchbox-terminal to avoid pulling ICU
* Avoid pulseaudio client configuration to prevent duplicate instances

Also, delete the autospawn-for-root package config removal in our bbappend,
as that is not enabled by default in the recipe.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-26 15:35:46 +02:00
Javier Viguera 6b40ed52d2 meta-digi-dey: backport ALSA and PulseAudio fixes from meta-imx
* Y2038: compile pulseaudio and alsa-lib with 64bit time flags
* Add patch to fix playback stuck issues on suspend/resume

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-24 12:07:18 +02:00
Javier Viguera 01ead103b1 meta-digi-dey: remove DEY specific y2038 issue fix
As of Yocto 5.0, Poky includes an equivalent solution for the Y2038 issue,
so drop the redundant code in meta-digi.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-23 17:26:45 +02:00
Isaac Hermida e9af98f586 libpam: ccmp13: disable pam_systemd integration to improve login performance
On the CCMP13 platform, the inclusion of pam_systemd in the PAM stack
causes excessive delays during login -close to 10 seconds- and can
even lead to SSH login failures.
Since we do not require per-user systemd services (--user), disable
the pam_systemd session module to improve login responsiveness.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-06-23 15:14:33 +02:00
Arturo Buzarra 5947b0cc9c vsftpd: add support for SSL/TLS encrypted FTP sessions
This commit enables SSL/TLS support in vsftpd, allowing FTP communications to
be encrypted for improved security.

SSL/TLS support is enabled by default, but to preserve compatibility with
clients that do not support encrypted connections, this feature can be disabled
at runtime. Users can simply comment or uncomment a few lines in the
`vsftpd.conf` configuration file to toggle the behavior.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-06-18 12:00:38 +02:00
Hector Palacios fc641ce680 dey-image: enable DEY_IMAGE_INSTALLER by default
This generates an installer.zip image with all the firmware
images, including install scripts for UUU, SD card, and USB.
This is helpful to share the artifacts with manufacturing
or for deploying to external media such as microSD or USB stick.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-16 08:35:19 +02:00
Arturo Buzarra a20aadbeec bluez5-init: add Bluetooth init script for CCMP1x platforms
The HCI_UART Bluetooth driver does not support suspend-to-RAM operation, so the
driver must be loaded and unloaded manually. This commit adds support for the
Bluetooth initialization script used across Digi platforms, specifically for
ConnectCore MP13 and MP15.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-06-13 13:24:28 +02:00
Hector Palacios a2153e44ef init-ifupdown: use dhcp for bridge connection
When you create a bridge between Wi-Fi hostap and Ethernet, it's more
convenient to let the bridge take an appropriate dynamic IP from the
DHCP server, than needing to configure a manual one.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-04 14:09:13 +02:00
Arturo Buzarra 0335333727 trustfence-fscrypt: add support to STM32MP1x platforms based on libteec v1.0.0
This commit includes a new tarball based on trustfence-fscrypt v0.2,
cross-compiled against libteec v1.0.0, to enable support for STM32MP1x platforms.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-26 09:48:00 +02:00
Isaac Hermida fdadc10e30 recipes-digi: nxp-wlan-utils: add nxp wlan tools
add a new recipe to include nxp prebuilt binaries for:
 * mlanutl: WoWLAN support
 * nanapp:  NAN support
 * nmlawls: monitor Wi-Fi events

Included prebuilt version obtained from next release:
SD-WLAN-UART-BT-SPI-OT-Zigbee-DualPAN-IW612-LNX_6_12_3-IMX8-18.99.3.p23.20-18.99.3.p23.20-MM6X18505.p23-GPL.zip

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-05-21 12:51:41 +02:00
Tatiana Leon b154154a7e cccs: switch daemon init method to inittab for sysvinit-based systems
This commit updates the CCCS recipe to support `inittab`-based daemon
initialization for platforms using `sysvinit`, such as ConnectCore 6UL.

By switching to `inittab` for daemon control in these systems, we guarantee
automatic relaunch of `cccsd` if it exits unexpectedly (this functionality was
previously only available with `systemd`)

This improves reliability and aligns behavior across `systemd` and non-`systemd`
platforms.

See Confluence question
"Why won't CC6-UL rejoin DRM after a planned DRM outage?"
(https://onedigi.atlassian.net/wiki/plugins/servlet/ac/com.atlassian.confluence.plugins.confluence-questions/globalQuestionsViewer?ac.com.atlassian.confluence.plugins.confluence-questions.path=/questions/236710985798)

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
(cherry picked from commit 5c667641a88437795fea3097ca5cf76c22de47c1)
2025-05-21 09:49:56 +02:00
Gabriel Valcazar 6345d46ce1 bluez5: remove btconfig binary in ccimx6 platforms
poky commit 3c9b461dd0d26a5f6941000d839636ad32cd6f29 added this binary to the
bluez5-noinst-tools package, and it has the same exact path as the one from our
dey-examples-btconfig package. This causes a conflict when both packages are
installed in the same image.

Judging by bluez5's btconfig sources, it's merely a skeleton without any real
functionality, so simply remove it to avoid the conflict.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-20 14:36:38 +02:00
Gabriel Valcazar 0d9762442e dey-examples: set correct COMPATIBLE_MACHINE where applicable
Some of our example recipes that are meant to be used on specific platform
subsets are available to be built/installed for all platforms. Even though it's
possible to build/install these recipes for platforms they aren't meant for,
we should restrict them to their intended platforms:

    * dey-examples-btconfig: this is only meant for ccimx6 platforms that use
      the Atheros wifi/bt chip, so reflect this in the recipe and in the
      examples packagegroup.
    * dey-examples-tamper: this is only meant for platforms with MCA (ccimx6ul,
      ccimx8x and ccimx8m). This requirement was already set in the examples
      packagegroup, but the recipe was available to any platform.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-20 14:36:38 +02:00
Gabriel Valcazar 3eb66c25cb packagegroup-dey-examples: remove outdated dependency with dey-examples-v4l2
Commit 15f9aeba0e removed the dey-examples-v4l2
recipe, yet we still kept it as a dependency for ccimx6 platforms. Remove this
impossible dependency to be able to build the examples packagegroup for ccimx6
platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-20 14:36:31 +02:00
Gabriel Valcazar 7614d4ab39 swupdate: fix regression in 2024.12.1
This version of swupdate has a bug that happens if the root of sw-description
is redirected via a link, which is the case is some of our sw-description
templates (such as the one we use for file updates). Backport a fix from
v2025.05.

https://onedigi.atlassian.net/browse/ADK4A-1957

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 5bdd59a647)
2025-05-19 15:42:42 +02:00
Gabriel Valcazar 5bdd59a647 swupdate: fix regression in 2024.12.1
This version of swupdate has a bug that happens if the root of sw-description
is redirected via a link, which is the case is some of our sw-description
templates (such as the one we use for file updates). Backport a fix from
v2025.05.

https://onedigi.atlassian.net/browse/ADK4A-1957

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-19 10:42:18 +02:00
Gabriel Valcazar 119292e68c dey-image-flutter: add recipe for dey-image-flutter-swu
Like we do for our other supported images, provide a recipe to generate a SWU
package based on dey-image-flutter

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-19 10:25:01 +02:00
Gabriel Valcazar b9bf87d8f1 packagegroup-qt6-dey: don't install examples in ccmp15-dvk images
When building DEY 5.0 ccmp15-dvk images with Qt6 instead of Qt5, the rootfs
image is too big for the default settings (512 MiB, dualboot enabled). Make
room by removing the *-examples Qt6 packages, which are over 30 MiB in total.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-16 10:49:05 +02:00
Gabriel Valcazar d4e1917f1c global: remove recipes related to outdated features
There are several recipes in meta-digi related to features that we haven't
tested in a long time and don't appear in the DEY 5.0 documentation. Remove
them to avoid unexpected behavior.

Said features are:
    * Coral TPU support (only supported in DEY 3.2)
    * AWS support (removed from default images and docs in DEY 4.0)
    * dey-image-tiny (hasn't been maintained since DEY 2.0)

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-15 15:58:06 +02:00