Commit Graph

2858 Commits

Author SHA1 Message Date
Arturo Buzarra 74628a35ce meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-27 22:03:34 +02:00
Arturo Buzarra 1acb052f68 meta-digi: update revisions for dey-5.0-r4.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-05-27 22:03:33 +02:00
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
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
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 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
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
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
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
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
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 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
Gonzalo Ruiz fb7815bc6e firmware_qualcomm: ccimx6ul: adjust 2.4GHz TxPower
Update US Board Data File to use the new CTL3 power limits,
adjusting the TxPower levels in the 2.4GHz band to account for
output power tolerances.

The new BDF is:

- bdwlan30_US.bin (6ec9d36d5149c1cd3b6c3cbbed1bfb0e)

https://onedigi.atlassian.net/browse/DEL-10010
https://onedigi.atlassian.net/browse/CC6UL-1351

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2026-05-05 15:34:10 +02:00
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
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
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
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
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
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 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
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
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
Arturo Buzarra c5dc142d65 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>
(cherry picked from commit 9b99c0b073)
2026-03-30 13:59:21 +02: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
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 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
Francisco Gil 9834232a8c weston: allow overriding the weston background 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
Francisco Gil ca9f16965f u-boot: allow overriding the built-in splash logo 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
Arturo Buzarra da4aefa006 Revert "x-linux-ai: fix build issue with OpenSTLinux v6.2"
This reverts commit d0f9c61efd because it is no
longer needed with the X-LINUX-AI v6.2.0 release.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra ab5f937cb6 stm-st-stm32mp: tf-m-stm32mp-scripts: fix SDK build issue due to wrong UID ownership
The original do_install() preserves file ownership, which can contaminate the
SDK build and cause "getpwuid(): uid not found: 1000". Adjust the copy command
to not preserve owner/group.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra b0a140a35c stm-st-stm32mp: tf-m-stm32mp/m33fw-stm32mp2: Add custom sign-stm32mp bbclass to fix build issue
This commit imports the Digi custom version of sign-stm32mp bbclass to ensure
that the search_path() function does not raise a build exception if the signing
tool or keys are not present in the PATH before starting the build process.

In our case, we do not need to manually install the tools or generate the keys
beforehand, as this is automatically handled by Yocto in our DEY distribution.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra 261f0e1399 trustfence: fix PKI tree generation on non-encrypted platforms
Commit 3fdb245765 ("trustfence: add encrypted
boot artifact support for CCMP13 platform") broke PKI tree generation when
encryption is disabled. Fix it for ccmp15.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra 287a42403f stm-st-stm32mp: optee-os: remove CFG_REMOTEPROC_PUB_KEY_VERIFY for ccmp15
Commit 52a1111da6d72446530da26e135b65a34b48e279 ("OPTEE: MANAGE signature,
M33TD") in the ST layer incorrectly enables CFG_REMOTEPROC_PUB_KEY_VERIFY=y for
all platforms when SIGN_ENABLE is set.

However, co-processor public key verification against OTP fuses is not
supported on stm32mp1x platforms and causes the build to fail.

Remove CFG_REMOTEPROC_PUB_KEY_VERIFY for ccmp15.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra 1015773388 machine: ccmp2: fix SDK build issue with gcc-aarch64-none-elf toolchain
Remove the TF-A specific toolchain from SDK generation to avoid build issues
caused by unresolved runtime library dependencies in nativesdk-gcc-aarch64-none-elf,
including libcrypt.so.1, libncursesw.so.6, libpython3.8.so.1.0, and
libtinfo.so.6.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 21:45:00 +01:00
Arturo Buzarra ab4a2d558b ccmp15/ccmp25: update Cortex-M signed firmware support
Update secure boot support for Cortex-M processors by refreshing the patch set
and dropping patches already integrated, aligning the implementation with ST
release openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-23 11:59:23 +01:00