Commit Graph

764 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Arturo Buzarra 2f29dd1dec linux-dey-6.6: update STM branch for release v6.6-stm32mp-r3
Update the STM32MP-specific kernel branch to Linux v6.6.116, aligned with the
latest ST release: openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-03-18 10:48:10 +01:00
Isaac Hermida 41ab14adb8 linux-dey-6.6: stm32mp-rt-r2: fix stm32-usart context after DMA revert
Kernel commit b6ae6fee73eab568ba49a4a489fdac6bb5027997 removed the
RTO-based flush logic in stm32-usart.

As a result, the RT patch no longer applies cleanly because it
modifies the receive_chars() call using the old context.

Update the RT patch to match the new baseline while preserving
the PREEMPT_RT locking changes.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-03 16:25:59 +01:00
Isaac Hermida fd54946eb0 linux-dey: rt: apply sysvinit RT fragment only when sysvinit is enabled
The fragment-07-rt-sysvinit.config disables several cgroup
controllers (PIDS, CPUACCT, DEVICE, FREEZER, etc.) and is
intended for minimal RT configurations using sysvinit.

It is currently applied unconditionally for STM32MP RT builds,
including systemd-based systems. This breaks container runtimes
such as podman, which require full cgroup support (notably
CONFIG_CGROUP_PIDS) when running on PREEMPT_RT kernels.

Apply the sysvinit RT fragment only when the 'sysvinit'
DISTRO_FEATURE is enabled, leaving systemd configurations
unaffected.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-03 08:54:05 +01:00
Isaac Hermida 607783837d linux-virtualization: add CONFIG_NETFILTER_ADVANCED dependency
CONFIG_BRIDGE_NETFILTER depends on CONFIG_NETFILTER_ADVANCED.
Some platforms enable this support, while others do not, so add it as an
explicit dependency.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-02-04 14:09:22 +01:00
Isaac Hermida 5f5bf6c089 Revert "linux-virtualization: expand lxc config support"
While BTRFS can be useful on server-class systems (e.g. RAID-based or
snapshot-heavy setups), enabling it unconditionally is not appropriate
for typical embedded systems. It introduces unnecessary kernel
complexity, pulls in RAID6 support, and increases kernel boot time by
approximately 0.7 seconds.

This reverts commit 503e50f392.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-01-30 12:28:33 +01:00
Hector Palacios f95598eac7 Revert "linux-dey: ccimx95: add temporary patch to support early prototypes"
Revert patch. This is covered in Linux DT directly for SOM v2.
This reverts commit 8f7ece342d.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Hector Palacios d6fe75b695 linux-dey: blacklist bluetooth module to let BT init script manage it
Blacklist the Bluetooth kernel module for CC95 (hci_uart) to let user
space bluetooth-init script load/unload it.
While on it, group blacklisting of all platforms using Murata chipsets.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2026-01-29 12:58:49 +01:00
Javier Viguera 7ff33776bd meta-digi-arm: switch SDMA firmware to linux-firmware packages
Use the SDMA firmware provided by linux-firmware for i.MX6 and i.MX8
platforms. The SDMA blobs shipped in linux-firmware and firmware-imx are
identical, so just use the upstream ones as meta-freescale does.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2026-01-28 10:34:22 +01:00
Arturo Buzarra f99278db33 ccmp15: add Cortex-M4 signed firmware support
Enable signed firmware to prevent unauthenticated code on the Cortex-M4
co-processor by verifying images against custom public key from OP-TEE.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2026-01-28 10:30:51 +01:00
Javier Viguera e2ed58b70b Merge tag 'dey-5.0-r3.1' into dey-5.0/master
Digi Embedded Yocto 5.0-r3.1

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-19 14:00:21 +01:00
Arturo Buzarra 4e19acb893 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-16 18:02:34 +01:00
Arturo Buzarra 19a2ad15a8 meta-digi: update revisions for dey-5.0-r3.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-12-16 18:01:33 +01:00
Arturo Buzarra 98c3e6427b trustfence: make co-processor secure firmware optional
Introduce a configurable variable to enable/disable secure co-processor
firmware when TrustFence is enabled.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-10 11:16:38 +01:00
Isaac Hermida 8f7ece342d linux-dey: ccimx95: add temporary patch to support early prototypes
As the HWID support is not implemented yet, is needed to fill
the wireless information in the DT structure to have Wi-Fi and
Bluetooth working.
This is just a temporal patch for initial prototypes.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-12-05 16:42:06 +01:00
Javier Viguera 052cd63529 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 17:58:45 +01:00
Francisco Gil 1674f6462c linux-dey-6.6: update RT patches to v6.6-stm32mp-r2 Linux release
Sync STM32MP-specific RT kernel patches, aligned with the latest
ST release openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 from
meta-st-x-linux-rt layer.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-11-18 08:23:58 +01:00
Isaac Hermida dcdb6dead6 linux-virtualization: add CONFIG_CFS_BANDWIDTH
That option is needed to limit the number of CPU cores for a container.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-11-05 15:24:39 +01:00
Arturo Buzarra 7692d0ed4a ccmp25: add Cortex-M33 signed firmware support
Enable signed firmware to prevent unauthenticated code on the Cortex-M33
co-processor by verifying images against OTP-stored keys.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-11-03 17:06:30 +01:00
Arturo Buzarra fc1d3c5f75 trustfence: add TRUSTFENCE_ENCRYPT variable
Add a variable analogous to TRUSTFENCE_SIGN to enable/disable artifact
encryption. Deprecate TRUSTFENCE_DEK_PATH in favor of TRUSTFENCE_KEYS_PATH to
use a more generic name and avoid overloading it as an on/off flag. Add per-key
variables for encryption key filenames to avoid hardcoded names and allow
platform overrides.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-10-28 12:39:51 +01:00
Francisco Gil b3a84b1d4e linux-dey:RT: fix virtio_trans build on Cortex-A9 and enable mailbox support
This patch fixes build failures of the virtio_trans driver (Cortex-A9, 32-bit ARM)
when building a PREEMPT_RT-enabled kernel. The errors were caused by
unresolved 64-bit division symbols (__aeabi_uldivmod / __aeabi_ldivmod)
generated when the driver was compiled as a module.

Changes included:

* virtio_trans.c:
  - Replace 64-bit modulus operations (`idx % vt->{tx,rx}_vring_size`) with
    kernel-safe 64-bit division macros using `div_u64_rem()`.
    This prevents implicit calls to non-exported ARM EABI helpers that are not
    available to kernel modules on 32-bit ARM.

* fragment-nxp-rt.config:
  - Enable the mailbox framework (`CONFIG_MAILBOX=y`) required by virtio
    mailbox-based transports.
  - Build the virtio transport driver into the kernel (`CONFIG_VIRTIO_TRANS=y`)
    instead of as a module, ensuring proper symbol resolution
    during link time. Without this a license error is shown when building
    the kernel in yocto.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-10-13 10:27:01 +02:00
Javier Viguera 34b1de1e90 meta-digi-arm: drop obsolete perf bbappend
It was added following same change in meta-imx, but meta-imx deleted it
in commit 02a40222adc7.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-10 10:41:30 +02:00
Javier Viguera 51e87008f3 meta-digi-arm: delete obsolete dtc recipe
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-10-10 10:12:02 +02:00
Arturo Buzarra a04846f107 meta-digi-arm: switch ccimx6sbc/ccimx6qpsbc platforms to Linux kernel v6.6
This commit updates the CC6 and CC6QP platform configurations to use the latest
NXP BSP based on Linux kernel v6.6, unifying support across all NXP-based
platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-09-03 09:03:19 +02:00
Arturo Buzarra 1e43441372 linux-dey-6.6: update STM branch for release v6.6-stm32mp-r2
Update the STM32MP-specific kernel branch to Linux v6.6.78, aligned with the
latest ST release: openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-28 10:58:55 +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 9ef471c833 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-15 22:10:12 +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 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
Isaac Hermida 1038192b11 linux-dey: tsn: fix tsn kernel support
fix missing option to include the required kernel options for tsn support.
That support was added in commit 37f5db42ac for kernel 6.1, but it
was missed for kernel 6.6.
Add the support to include the required fragment, regardless the kernel
version.
While on it, update the tsn config to match kernel 6.6.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-07-02 18:58:10 +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 fcd03fb421 linux-dey: fix duplicate kernel localversion
Yocto added kernel local version support by using the KERNEL_LOCALVERSION
variable. It conflicts with the "fsl-kernel-localversion" class from
the meta-freescale layer, resulting in a duplicated local version in the
kernel release label (uname -r). Use the current Yocto support to avoid
that duplication instead of meta-freescale's class.

This enables further simplification of the 'copy_defconfig' task for NXP
and STM platforms using common code.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-16 17:41:26 +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 9b3117aa34 ccmp1: move ccmp1 platform support to kernel 6.6 and U-Boot v2023.10
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9045
2025-04-30 12:49:06 +02:00
Isaac Hermida 15ef826cb2 linux-virtualization: add more defconfig options for docker
Enable CONFIG_BPF_SYSCALL and CONFIG_CGROUP_BPF when using docker, as it
is needed for a correct network interoperability.
Some kernels may have it enabled by default, but others not, so just enable
it for any platform.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-23 16:37:36 +02:00
Isaac Hermida ed1013e87a linux-virtualization: expand lxc config support
enable the kernel BTRFS filesystem support for better support with LXC
incremental snapshots.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-23 16:37:36 +02:00
Isaac Hermida 31b7c5e051 linux-virtualization: add more defconfig options for docker
Enable CONFIG_BPF_SYSCALL and CONFIG_CGROUP_BPF when using docker, as it
is needed for a correct network interoperability.
Some kernels may have it enabled by default, but others not, so just enable
it for any platform.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-23 09:22:16 +02:00
Isaac Hermida 1a08f346cc linux-dey-6.6: add RT functionality to NXP platforms
Add a unique patch with the RT functionality between NXP tags (sha1)
  'lf-6.6.36-2.1.0' (d23d64eea5111e1607efcce1d601834fceec92cb)
  'Real-Time-Edge-v3.1-202503' (f03af81d60b7ae14e03fafa8f4c4289c30a73f93)

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-07 11:03:50 +02:00
Isaac Hermida 83eb180adb linux-dey: btnxpuart: include it for specific machine
The btnxpuart is the driver used to manage the bluetooth for our i.mx9
modules, so only specify it for the affected platforms.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-07 11:03:50 +02:00
Arturo Buzarra a472b4f2f0 linux-dey-6.6: fix FIT image generation
Assembling a FIT image requires that all artifacts are ready before calling
assemble_fitimage(), which occurs before do_install() and after do_compile().

To ensure the Linux kernel recipe provides the final artifacts in the correct
location, this commit replaces the additional do_install() step with an
additional do_compile() step, ensuring that all necessary artifacts are
available before assemble_fitimage().

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Isaac Hermida c1a4de8bc6 meta-digi: move ccimx8m platforms support to kernel 6.6
update the ccimx8m platforms support to kernel 6.6

https://onedigi.atlassian.net/browse/DEL-9536
https://onedigi.atlassian.net/browse/DEL-9537

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-19 10:26:06 +01:00
Isaac Hermida d09b04be60 linux-dey-6.6: add RT functionality to STM supported platforms
This commit integrates the X-LINUX-RT expansion package from the
meta-st-x-linux-rt layer, based on the tag
"openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06", for Yocto Scarthgap.

Currently only the STM CCMP2 is supported in kernel 6.6.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 08:58:19 +01:00
Isaac Hermida ad35c80e1e linux-dey-6.6: add RT functionality to STM supported platforms
This commit integrates the X-LINUX-RT expansion package from the
meta-st-x-linux-rt layer, based on the tag
"openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06", for Yocto Scarthgap.

Currently only the STM CCMP2 is supported in kernel 6.6.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 08:55:43 +01:00