Commit Graph

5445 Commits

Author SHA1 Message Date
Hector Bujanda 8b03656826 mca-tool: update to version 1.27
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-05-04 16:26:11 +02:00
Mike Engel a8c6dcb56e bluez: generalize BT GPIO configuration for bluetooth-init script
This commit generalizes the BT GPIO value used in the bluetooth-init
script for different platforms.

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

https://onedigi.atlassian.net/browse/DEL-9668
2026-04-30 16:39:03 +02:00
Isaac Hermida 9576c20113 meta-digi-containers: remove DRM options
The DRM support is still a work in progress feature and is not ready yet.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-30 13:00:13 +02:00
Isaac Hermida 0df6685a07 cccsd: add syslog dependency
The Cloud Connector depends on syslog for logging, so this package is
required to properly collect its messages.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-30 12:55:07 +02:00
Arturo Buzarra 7d18bd37f3 ccimx95-dvk: add wl manufacturing tool for Infineon wireless chips
Install the wl tool by default. It is a useful utility for customers to
perform additional wireless configuration and debugging.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-04-30 12:32:40 +02:00
Arturo Buzarra 8f2ac0347c bluez5-init: ccmp2: increase Bluetooth operational speed to 3M
Increase the Bluetooth UART operational speed to 3M baudrate for CCMP2.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-04-30 12:32:05 +02:00
Mike Engel e913427295 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2026-04-30 11:51:33 +02:00
Francisco Gil 6f1080025c dey-image-container: clean temporary task directories reliably
Create task temporary directories under `${T}` instead of the host `/tmp`
and remove them when the task exits.

This avoids leaving large temporary directories behind during container
artifact generation.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-04-30 07:37:10 +02:00
Francisco Gil cc2630c59e ccimx95: dey-image-container: add chromium base image
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-04-30 07:37:10 +02:00
Francisco Gil c2c4edac9b ccimx95: dey-image-container: create base image for flutter/lvgl
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-04-30 07:37:10 +02:00
Hector Bujanda dd0c1a1957 ccimx95-dvk: add overlay for mca gpio watchdog
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-04-29 16:42:37 +02:00
Arturo Buzarra 9da8426ab4 build.sh: add step to partially copy build artifacts
Add an extra step to copy build artifacts after each build. Some build targets
require additional layers and custom configurations, and subsequent build steps
can overwrite or remove previously generated artifacts once the configuration is
no longer compatible.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-04-29 15:09:07 +02:00
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