Commit Graph

5501 Commits

Author SHA1 Message Date
Arturo Buzarra 89c42a5b0f installer: media: drop extra usb reset between partitions
Avoid EHCI timeout errors seen on some USB sticks by removing the redundant
`usb reset` between partitions.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-27 21:13:33 +02:00
Gonzalo Ruiz ed9beccdcd sysinfo: add SMARC information
If device is a SMARC, use SMARC properties to log in sysinfo (serial
number, variant, hardware version). If not, use SOM properties.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-27 18:32:17 +02:00
Gonzalo Ruiz 9be4f140d2 connectcore-demo-example: ccimx95: add mp4 video file
Replace current MOV video file not supported by Chromium with a MP4
video file with the same video content.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-27 18:29:34 +02:00
Gonzalo Ruiz 0248d4a728 video-examples: update tarball to include mp4 file
Add an mp4 example video, with the same contents as the mov file:
1280x720, MPEG-4 format.

Also, for ccimx95, due to Chromium limitations, install the mp4 file
instead of the mov file.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-27 18:29:34 +02:00
Francisco Gil 18a23d71d6 dey-image-containers: rename image references
While on it, fix a typo.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-27 17:36:07 +02:00
Isaac Hermida 7950ac2460 meta-digi-containers: modify how to generate the DCP
Modify and document the way to generate a DCP by package_id.
Update the source code of the container manager to align with.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-27 17:01:02 +02:00
Isaac Hermida 9de4842dc3 meta-digi-containers: set container runtime paths
Install the manager configuration with CC_CONTAINER_PATH as working_path.
Move Podman graphroot under installed/podman and set lxc.lxcpath under
installed/lxc for both LXC recipes.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-27 17:01:02 +02:00
Francisco Gil 804e5d5514 dcp: remove unused custom profile
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Francisco Gil 6fd27ea079 dey-image-dcp: rename built-in profiles with -demo suffix
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Francisco Gil f3dc656029 dcp: chromium: fix hardcoded wayland display
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Francisco Gil 86763846ae dcp: remove CONTAINER_NAME variable and rename CONTAINER_TYPE
Now CONTAINER_TYPE is named DCP_NAME

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Francisco Gil 095fe1ac36 dey-image-dcp: rename dey-image-containers
Rename the files/references as follow:

dey-image-container-manager  ---> dey-image-containers
dey-image-containers ---> dey-image-dcp

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Francisco Gil 8674cf9edf containers: set lvgl as default CONTAINER_TYPE
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-27 16:47:58 +02:00
Hector Bujanda 852cac43ac mca-tool: update to version 1.28
Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2026-05-27 03:34:19 +02:00
Arturo Buzarra 4645131dd8 dey-image-container-manager: include DEY Bluetooth packagegroup
Bluetooth init scripts depend on the `btmgmt` tool, which is provided by the
`bluez5-noinst-tools` package. Since we already include several BlueZ packages,
include the full Bluetooth stack via `packagegroup-dey-bluetooth`, consistent
with how we handle Wi-Fi.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-26 13:20:14 +02:00
Arturo Buzarra b1a41a9593 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-24 23:20:53 +02:00
Arturo Buzarra 2a44e1aae0 meta-digi: update revisions for dey-5.0-r4.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-24 23:20:52 +02:00
Arturo Buzarra 963787022f README: dey-5.0-r4 release notes
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-24 22:21:42 +02:00
Isaac Hermida f041267730 meta-digi-containers: add explicit runtime dependencies for the manager
Our container managers depends on podman and LXC runtime tools, so add
that dependency.
As we provide a trimmed version of both tools (to keep the rootfs minimal),
add a variable so it is easily configurable by customers.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-22 16:32:16 +02:00
Isaac Hermida e713e2d2c0 cc-container-mng: update CLI package
Install the CLI wrapper as containerctl, and refresh archive checksums.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-22 16:32:16 +02:00
Isaac Hermida 1ab4bad7b0 dey-image-container-manager: add SFTP server
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-22 16:32:16 +02:00
Francisco Gil e079bb4689 hostapd: ccimx95: enable ACS by default
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-22 13:13:27 +02:00
Isaac Hermida d9e2154ddc weston-init: skip socket wait without a display
The previous socket wait fixed a race where the login prompt could appear
before Weston had created its Wayland socket. In that case, logging in as
root left WAYLAND_DISPLAY empty and applications could not use waylandsink.

Only wait for the socket when a DRM display is connected, or when the kernel
does not expose DRM connector status files. This keeps the race fix for
display boots while allowing immediate headless logins.
Keep showing a warning when there is no wayland socket.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-21 18:55:10 +02:00
Isaac Hermida 6325cddb21 mount_digiparts: detect active block root by mounted device
Bootable SD cards may boot with root=/dev/mmcblkXpY instead of
root=PARTUUID=... In that case mount_digiparts.sh treated the system
as NAND/UBI and failed to mount the Digi partitions.
Resolve the active system from the block device mounted as "/" before
falling back to the existing UBI logic.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-21 18:54:10 +02:00
Arturo Buzarra 7522d609d8 wpa_supplicant/hostapd: apply Murata custom patches on ConnectCore 95
ConnectCore 95 integrates the Murata 2EC Wi-Fi module and requires applying the
vendor custom patch set across the supported releases.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-21 15:10:59 +02:00
Arturo Buzarra f27ad6b93c wpa_supplicant/hostapd: align nl80211 headers with Linux v6.6.116
Update nl80211 definitions to match Linux v6.6.116, preventing extended feature
mismatches and fixing parsing of driver-reported capabilities.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-21 15:10:59 +02:00
Francisco Gil 91434f2ce6 conf: set by default HAS_WIFI_VIRTWLANS to "true"
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-21 08:53:29 +02:00
Francisco Gil 6fe296b691 ccimx95: align Wi-Fi userspace with Murata brcmfmac
Adjust the ccimx95-specific networking pieces so they no longer inherit
the IW612-specific behavior from ccimx9:
- use wlan1/p2p0 instead of uap0/wfd0 where appropriate
- install hostapd_wlan1.conf instead of hostapd_uap0.conf
- restore virtual WLAN handling for ccimx95
- avoid IW612-specific suspend/resume actions such as moal reload and
  load_iw612.sh

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-21 08:53:29 +02:00
Isaac Hermida c7adf015f9 bluetooth-init: validate HCI interface after initialization
Some Bluetooth controllers may expose hci0 even when the firmware
initialization has not completed correctly. In that state, the init
script may report success but bluetoothd cannot use the controller.

Validate the controller through the kernel management interface before
accepting the initialization as successful. This matches the interface
used by bluetoothd and catches controllers that are visible through HCI
but not registered in MGMT yet.

Use a timeout for the MGMT query so a broken controller state cannot
block the init script instead of falling back to the retry loop.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-19 08:54:56 +02:00
Gonzalo Ruiz 23c969f954 firmware-murata-infineon: generalize autocountry service
Make this service generic so it can be reused on every device containing
a Murata+Infineon chip.

In some platforms Worldwide pseudo-country could be 'XZ', in others it
could be 'WW'. Cover both of them.

In the meantime, improve the service to ensure the wifi device is
available by waiting for udev device discovery to settle, retrying
until the wireless interface responds to wl, and restarting the
oneshot unit on failure.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-18 17:54:37 +02:00
Gonzalo Ruiz 8359b75ec0 firmware-murata-infineon: add initial CCMP2 CLM blob files
Add CLM blob files with power limits based on the CCMP25 Certification
process.

There is a different CLM blob file to be used if the device operates
as STATION or Access point (AP) or if it is meant to be used Indoors or
Outdoors. Every file is deployed into the system, but only
STATION+INDOOR files are selected by default.

For each use case there is a US-only and a Worlwide CLM blob file.
Initial list of countries covered by the Worldwide binaries is:
* US
* Canada
* Europe
* Japan
* Australia
* New Zealand

Files:
- cyfmac55500-sdio_US.APIndoor.clm_blob      (MD5SUM: 3e6f5fdcf9a88cf425179c69862ac67f)
- cyfmac55500-sdio_US.APOutdoor.clm_blob     (MD5SUM: f8655f59b87ac5a71a2a90f08c52755b)
- cyfmac55500-sdio_US.STAIndoor.clm_blob     (MD5SUM: e2bf5ed665876203085bd0cc9c90e590)
- cyfmac55500-sdio_US.STAOutdoor.clm_blob    (MD5SUM: ddc81881d8ed0b70e2b843bb7899e758)
- cyfmac55500-sdio_World.APIndoor.clm_blob   (MD5SUM: e48416c461469652ef5594a402a596cd)
- cyfmac55500-sdio_World.APOutdoor.clm_blob  (MD5SUM: 5c57605395d4e186c58b59e4a57d80cd)
- cyfmac55500-sdio_World.STAIndoor.clm_blob  (MD5SUM: 3f54dbf06d633d7b1aad816f6d655b9d)
- cyfmac55500-sdio_World.STAOutdoor.clm_blob (MD5SUM: 9f706f9ae5d833e386ebabc21e7c779b)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-18 17:54:37 +02:00
Isaac Hermida 2845b72ce9 x-linux-ai: recipes-samples: improvements to face-recognition
Add full support to face-recognition demo so it can be integrated in the
webkit demo.

Improvements are:
* support for USB camera
* use 640x480 resolution so it fits in our COG demo

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-15 11:39:39 +02:00
Isaac Hermida 2bbaa723b0 dey-image-container: remove old DCP artifacts when RM_OLD_IMAGE is set
dey-image-container is not a full image, so the regular image cleanup
does not remove old DCP artifacts from the deploy directory.
Add a dedicated cleanup task that honors RM_OLD_IMAGE and removes previous
LXC and Podman DCP artifacts before generating the new ones.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-14 18:02:27 +02:00
Isaac Hermida d54f8b7281 dey-image-container: flatten LXC payload layout
Generate the LXC payload tarball with config and rootfs/ at the
archive root so it matches the documented DCP format and the strict
installer expectations.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-14 18:02:27 +02:00
Isaac Hermida 57a87c4000 bluetooth-init: expand BT_GPIO in installed scripts
Expand the BT_GPIO placeholder after installing the init script, so
optional scripts such as bluetooth-init_atheros are handled the same way.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-14 18:01:24 +02:00
Mike Engel bcf4883d60 linux-dey-6.6: update RT patches to v6.6-stm32mp-r3 Linux release
Sync STM32MP-specific RT kernel patches, aligned with the latest
ST release from meta-st-x-linux-rt layer.

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2026-05-14 13:02:11 +02:00
Isaac Hermida 58577373ba mount: fix intermittent data partition automount
The udev mount script always queried the active system before mounting
any partition. On eMMC systems this lookup used /dev/disk/by-partlabel,
which is populated by udev itself and may still be incomplete and the
script exited for that partition.
Only resolve the active system for linux_a/linux_b, and read the eMMC
root partition name from sysfs instead of the udev-created by-partlabel
links.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-13 19:23:19 +02:00
Javier Viguera 32996b0885 tf-a-tools: fix FIP encryption key conversion
create_st_fip_binary.sh converts binary encryption keys to hex before
passing them to encrypt_fw. hexdump may collapse repeated binary data
into '*', corrupting the key and causing encrypt_fw to reject it with an
invalid key size.

Add a bbappend to patch the helper from meta-digi and use hexdump -v so
the full key is emitted.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-05-13 12:12:34 +02:00
Javier Viguera 8293eddb57 tf-a-stm32mp: force verbose hexdump for FIP encryption key
When TrustFence encryption is enabled, the TF-A recipe converts the
binary FIP encryption key to a hexadecimal string and passes it to the
TF-A build as ENC_KEY.

hexdump suppresses repeated output by default and emits '*' when it folds
duplicate data. If that happens while converting the key, the generated
ENC_KEY contains the '*' marker instead of the full hex string. The
malformed value then breaks the make command line, and make can interpret
the remaining key fragment as a target, failing for example with:

make ... ENC_KEY=13eb911dfcc316b1b99bbbbf10a7000c3055e863* 166d3c8c9cd6f888b720a9 all
make: *** No rule to make target '166d3c8c9cd6f888b720a9'.  Stop.

Use hexdump -v so every byte of the binary key is emitted and ENC_KEY is
always a complete, contiguous hex string.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-05-13 12:12:34 +02:00
Francisco Gil 351a8df4ef ccimx95-dvk: update XBee UART and reset GPIO for smarc
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-13 10:14:54 +02:00
Arturo Buzarra 3a3d6c699f x-linux-ai: recipes-samples: add face-recognition example
Make the minimal changes needed to adapt the original X-LINUX-AI example and
integrate it into the Digi custom launcher.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-12 15:05:16 +02:00
Arturo Buzarra cb70c15394 x-linux-ai: recipes-samples: fix USB camera support on X-LINUX-AI v6.2.0
Restore the V4L2SRC based pipeline for USB webcams that was dropped in newer
X-LINUX-AI releases, fixing USB camera support on the v6.2.0 baseline.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-12 15:05:16 +02:00
Francisco Gil 599fa04a01 sysinfo: update QR payload data sources and output
Read the QR serial number from /proc/device-tree/serial-number and the
MAC address from the U-Boot ethaddr environment variable.

Include digi,drm-ic in the QR payload only when present, and update the
console output and provisioning message accordingly.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-11 16:28:10 +02:00
Francisco Gil 56865c2972 ccimx95: libdigiapix: update configuration file for ccimx95 smarc
In the smarc board there is not a PWM/ADC signal to test.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2026-05-11 16:28:10 +02:00
Javier Viguera e60ec31593 imx-oei: update source revision
* Add support for 4GiB LPDDR5.
* Make default the 2GiB configuration.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-05-08 15:24:07 +02:00
Javier Viguera d96004a043 imx-boot: stop bundling ccimx95 Cortex-M7 demo firmware
Drop the imx-m7-demos dependency and build only the A55 boot target,
since Cortex-M firmware is board-specific and should not be selected as
a default SoC artifact. This follows the same cleanup done upstream in
meta-freescale commit 598f047ef112a0c88f699714cd10dc87c8460c5a.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 81cf596834382f87701d701277e13c97316de978)
2026-05-08 15:22:02 +02:00
Isaac Hermida 3552e1b5e1 bluetooth-init: fix BT_GPIO expansion
After refactoring these scripts in a8c6dcb56e, some platforms are
not setting the enable line correctly.
Regarding the affected platforms, on the 6UL it works because that GPIO
comes enabled by default, but not on the other ones.
For the other platforms refactored, such as the CC91/93 or CCMP25,
it is not needed, as the variable is used directly in the gpioset command.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-08 12:25:27 +02:00
Isaac Hermida f814f4cda0 meta-digi-arm: fix Wi-Fi direct interface name for cc91/cc93
This error was introduced while refactoring the cc9 family config.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-07 12:27:57 +02:00
Isaac Hermida 2c9a8d9ca0 dey-image-container-manager: add recommended Wi-Fi tools
Add the complete Digi recommended set of Wi-Fi tools, if not wpa-cli or
hostapd are not included.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-07 12:24:28 +02:00
Isaac Hermida a8d8aeade8 cc-container-mng: switch to proprietary 1.0.0 tarball source
The package is no longer fetched from Git, so rename the recipe to a
versioned .bb file and fetch the proprietary artifact from Digi server.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-05-07 12:20:18 +02:00