Commit Graph

5419 Commits

Author SHA1 Message Date
Javier Viguera abd3f4dbc2 libsocketcan: drop SRCREV override from bbappend
The bbappend hardcoded an old libsocketcan revision. Remove the override
so the recipe uses the revision from meta-openembedded. Also refresh our
patch, so it applies cleanly on top of the new revision.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-29 10:59:32 +02:00
Arturo Buzarra 28113b1665 build.sh: add support to build dey-image-container-manager images daily
Add support to build `dey-image-container-manager` daily, including handling
images that require additional Yocto layers or configuration beyond the default
set.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-04-27 14:01:58 +02:00
Isaac Hermida 267f78ac9d containers: derive DCP package id from logical name
Generate the package if from logical name when it is not specified in
the json. If case it is set, use it.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-24 09:14:00 +02:00
Isaac Hermida 3b93a2c2e1 containers: preserve friendly names in generated DCP manifests
Propagate an optional manifest name field through the DCP generator, so the
container manager can publish friendly names DRM.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-24 09:14:00 +02:00
Isaac Hermida 2fa5427622 meta-digi-containers: generate DCP with DRM policy block
Align the policy DRM block with the latest changes done in the
cc-container-mng tool.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-24 09:14:00 +02:00
Isaac Hermida 408a8bec60 cc-containerd: stop managed containers earlier on shutdown
Keep the shutdown helper active during normal system operation and run the
managed container stop path from ExecStop when shutdown begins.

This makes the container stop happen before the general system teardown,
so network and CCCS are still available and reboot is less likely to
block waiting for late shutdown ordering.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-23 10:22:05 +02:00
Isaac Hermida 6ad1a57317 cc-containerd: use "/root/container" as default containers path
Currently only the CCMP25 and CC95 will officially support containers.
For these platforms, "/root" is a common path with enough free space.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-23 10:22:05 +02:00
Isaac Hermida 69286f4057 Generate unique DCP package ids
https://onedigi.atlassian.net/browse/DEL-10035
https://onedigi.atlassian.net/browse/DEL-10081

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 10:00:31 +02:00
Isaac Hermida d743784281 cc-containerd: order service around CCCS
As cc-containerd uses DRM to publish metrics, start the service after
cccs (this is optional, as the container will retry it) and stop our
service before cccsd (to do our best to try to upload the STOP status
to DRM)

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:39 +02:00
Isaac Hermida 61dc4c88cf cc-container-mng: install config at /etc
There is no need to have a dedicated folder, as we only use a configuration
file. Other data is stored in a different path.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:39 +02:00
Isaac Hermida 6d29433642 meta-digi-containers: dey-image-container: add DRM support for DCP
Add the support to enable DRM support on the DCP artifact.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:37 +02:00
Isaac Hermida 6a75e08023 containers: cc-container-mng: add shutdown service
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-20 09:21:57 +02:00
Javier Viguera a82412530c packagegroup-dey-examples: skip MCA examples on ccimx95
Module ccimx95 enables the mca machine feature, but it does not support
dey-examples-adc-cmp or dey-examples-tamper. Move the MCA example list
to DEY_EXAMPLES_MCA and clear it for ccimx95.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-17 12:08:48 +02:00
Mike Engel 0a307d029e meta-digi-dey: replace systemd-udev-settle from BT and ifupdown service
This commit replaces systemd-udev-settle from bluetooth-init and
ifupdown service. Systemd recommends not to use that service and
wait for specifc event or service to sync interfaces.

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

https://onedigi.atlassian.net/browse/DEL-9338
2026-04-16 11:08:02 +02:00
Isaac Hermida 0c915b99f0 dey-image-container-manager: add curl
Include curl in the container-manager image so basic HTTP checks can be
run directly on target when validating containers published ports.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:43:14 +02:00
Isaac Hermida 2d261dd473 containers: enable netavark port publishing
Enable netavark bridge networking in the trimmed Podman recipe
so container images support publish-port arguments
such as -p 80:8080 and restore iptables dependency.
It's needed to install iptables-modules because it is not
populated due to NO_RECOMMENDATIONS.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:42:44 +02:00
Isaac Hermida a5f42a53af linux-virtualization: enable CNI multiport support
Enable CONFIG_NETFILTER_XT_MATCH_MULTIPORT in the Docker kernel fragment
so port publishing works.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:42:44 +02:00
Isaac Hermida f70b5328c4 dey-image-container: generate canonical tar.gz LXC bundle payloads
Switch the Yocto LXC bundle output to tar.gz and require the same format
in the external DCP generator so the DCP can embed the payload
without extra conversion.
This saves time on the device when installing.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:42:44 +02:00
Isaac Hermida efa04d2069 dey-image-container: move recipe to use external script
Instead of using the internal logic, move to use the external
script to generate the DCP, so internal and external DCP are
using a common flow.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:42:44 +02:00
Isaac Hermida 6fe49f0469 containers: create external script to generate DCP
https://onedigi.atlassian.net/browse/DEL-10037

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-16 09:42:44 +02:00
Isaac Hermida bc497e0c48 dey-image-container-manager: add DRM runtime support
https://onedigi.atlassian.net/browse/DEL-10035

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-15 19:52:06 +02:00
Francisco Gil 01ad58fcb8 sysinfo: add QR output and display backends
Add QR code generation to sysinfo using U-Boot serial and
MAC address information, with support for both standard
and legacy payload formats.

When requested with --qr_display, show the QR code using the
most suitable backend for the running system

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-04-13 16:40:04 +02:00
Javier Viguera 5c87cefd91 meta-digi-dey: drop nxp-wlan-utils from ccimx95-dvk
Restrict nxp-wlan-utils to ccimx91 and ccimx93. The ccimx95 uses the
Murata wireless chip.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-10 11:18:04 +02:00
Javier Viguera 2a121a371d imx-system-manager: update source revision
This brings latest changes related with SMARC modules.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-09 15:06:37 +02:00
Javier Viguera 322f90d0a4 meta-digi-arm: add u-boot environment partition to WIC images
Switch ccimx8/ccimx9 wic images to a layout with a u-boot-env
partition. Use a fixed PARTUUID for SD rootfs.

https://onedigi.atlassian.net/browse/DUB-1119

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-04-08 13:19:02 +02:00
Isaac Hermida 25dfe3d20a containers: make trimmed runtimes conflict with standard ones
Mark the trimmed runtime variants as conflicting with the standard
packages so images cannot include both Podman or LXC flavors at the
same time.

This avoids ambiguous runtime layouts and configuration ownership when a
minimal container-manager image uses the trimmed packages while other
images may select the standard runtimes.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:02:20 +02:00
Isaac Hermida 5b45c1e64c podman: configure network backend explicitly
Generate /etc/containers/containers.conf so Podman does not depend on
its internal default network backend at runtime.
If not, at runtime, the default podman network fails with:
"""
Error: could not find "netavark" in one of {[/usr/local/libexec/podman /usr/local/l
ib/podman /usr/libexec/podman /usr/lib/podman] {<nil>}}.  To resolve this error, se
t the helper_binaries_dir key in the `[engine]` section of containers.conf to the d
irectory containing your helper binaries.
"""

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:02:20 +02:00
Isaac Hermida da1aaeec78 dey-image-container: webkit: do not spawn two start init processes
The container entrypoint already runs docker-init, so there is no
need to chain a second instance.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:01:25 +02:00
Isaac Hermida f7a882fa1e dey-image-container: add DCP registration defaults
Include default registration settings in the generated DCP manifest so
future install flows can bootstrap the container configuration directly
from the package metadata.

Add registration_defaults with autostart, monitor and restart policy,
and populate those values for the lvgl and webkit container profiles.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:01:25 +02:00
Isaac Hermida 36716d7b4d dey-image-container: webkit/lvgl: add podman create args
Populate the DCP manifest for the ccmp25 lvgl and webkit profiles with
the Podman runtime arguments required to create the containers on the
target.

Keep only runtime options in CONTAINER_CREATE_ARGS_PODMAN and compose the
entrypoint automatically from CONTAINER_INIT_MANAGER and
CONTAINER_INIT_SCRIPT when generating the Podman artifact metadata.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:01:25 +02:00
Isaac Hermida d88eb15ccb containers: store LXC console logs
The log file is used by the daemon to show the LXC logs

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:00:08 +02:00
Isaac Hermida 4dba2c617b containers: add flutter demo profile
https://onedigi.atlassian.net/browse/DEL-10050

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-08 09:00:08 +02:00
Hector Palacios efb20ef387 ccimx9: rename LVDS ovelays
For consistency, rename LVDS overlays:
- Add display model to ccimx93-dvk LVDS overlay
- Convert underscore to dash on ccimx95-dvk LVDS overlays
  (the underscore only to separate platform from functionality)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-04-07 11:32:07 +02:00
Arturo Buzarra 613b22faa2 firmware-murata: fetch firmware from Infineon repo instead of tarball
Update the recipe to pull Infineon firmware binaries from the official Infineon
repository (aligned with imx-scarthgap-longma Murata branch), avoiding
tarball-related build issues. Firmware remains at Infineon 2026_0108.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-30 22:16:06 +02:00
Isaac Hermida 69f53bf2d8 dey-image-container-manager: add dualboot
Add dualboot as part of the core support for dey-image-container-manager

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-30 18:58:02 +02:00
Isaac Hermida e8ecb28944 dey-image-container: webkit: fix config devices for ccmp25
The ccmp25 WebKit container needs a small set of extra device nodes
to run the embedded AI demos reliably.
Bind only the device nodes validated on target for the browser demos:
galcore, DRM, framebuffer, input, and the camera video/media/subdevice
nodes used by the AI examples.

https://onedigi.atlassian.net/browse/DEL-10038
https://onedigi.atlassian.net/browse/DEL-10039

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-30 18:58:02 +02:00
Isaac Hermida 4898b616a7 dey-image-container: webkit: complete runtime packages
The WebKit container profile was missing runtime pieces that are
present in the native WebKit image and required by the embedded
ConnectCore demos.

Add the font and icon packages needed by the fish tank WebGL demo,
include the Weston and GStreamer runtime packages used by the browser
demo stack, and switch the ccmp25 profile to the GCNano userspace
packages used by the native image.

Keep the machine learning packagegroup scoped to ccmp25, since the
ST X-LINUX-AI subset and its demo integration are specific to that
platform.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-30 18:58:02 +02:00
Isaac Hermida c0d042e953 dey-image-container: webkit/lvgl: modify weston startup
Standalone GPU and video tests perform as expected in the WebKit
container, but rendering degrades once Cog runs on top of Weston.
Align the container Weston startup with the native setup by
loading the default Weston options, enabling the systemd-notify
module and exporting WL_EGL_GBM_FENCE=0 before starting the compositor.

https://onedigi.atlassian.net/browse/DEL-10038
https://onedigi.atlassian.net/browse/DEL-10039

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-30 18:58:02 +02:00
Isaac Hermida 682b2aec84 dey-image-container-manager: restore hotplug support
Package recommendations are disable, so some recommended packages might
be missed.
For HW detecting add the next explicit packages, which solves the
microSD card detection.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-30 18:58:02 +02:00
Arturo Buzarra 4f88e8969a x-linux-ai: recipes-samples: allow builds on ccmp1x
Remove the ccmp1x machine restriction from the sample recipes, since they
support both CPU and NPU variants.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-30 13:44:30 +02:00
Mike Engel eb3d6e0355 trustfence: generalize u-boot environment encryption configuration
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
(cherry picked from commit cd9a79152866ed2fcc91a2316d6a4f9eb3e72266)
2026-03-27 17:15:05 +01:00
Arturo Buzarra 9b99c0b073 libubootenv: add support for environment encryption on CCMP2
This commit adds support for environment encryption/decryption of the
u-boot environment on the CCMP2 platform in Linux.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-27 17:14:23 +01:00
Arturo Buzarra 095726c170 ccimx95: bootscript: add bootscript for ConnectCore 95
Add a bootscript for the ConnectCore 95 platform, including the default device
tree overlay names.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-27 13:31:01 +01:00
Gabriel Valcazar 1ca5a27f51 weston: recover ccimx6/6qp suspend/resume workaround from DEY 3.0
We initially created this patch when adding XWayland support for the ccimx6 and
ccimx6qp back in dey-3.0-r2.1 (commit eda2f4177e), but we ended up removing
it in dey-4.0-r1.beta1 (commit 526cb3cae0). Even though the blank screen
issue isn't nearly as reproducible as it was back when it was initially
discovered (it used to have a 66% chance of happening), it can still occur
every now and then, especially on the ccimx6 when using an LVDS display.

Adapt the patch to weston 10.0.5.imx and apply it to fix the issue.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2026-03-27 12:53:41 +01:00
Hector Bujanda 5407d4a206 mca-tool: update version 1.26 with artifacts from BuildServer
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-03-27 09:19:40 +01:00
Arturo Buzarra 4e191ff58a Revert "mca-tool/trustfence-tool: don't install files in /sbin when usrmerge is enabled"
This partially reverts commit f6d91b9022. The new
mca-tool v1.26 already installs its binaries to /usr/sbin (instead of /sbin),
so the workaround is no longer needed.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-27 08:35:21 +01:00
Hector Palacios f8df964716 ccimx95-dvk: add NXP EXPI-OS08A20 camera DT overlay
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-10036
2026-03-26 18:14:02 +01:00
Hector Bujanda 5c37352478 mca-tool: update to version 1.26 with support for mca_cc95_smarc
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-03-26 08:24:01 +01:00
Francisco Gil f668d4722c lvgl: remove leading whitespaces in IMAGE_FEATURES:remove setences
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00
Francisco Gil addf529fc7 linux-dey: allow overriding the kernel logo file from Yocto
https://onedigi.atlassian.net/browse/DEL-9816

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-03-25 16:19:01 +01:00