Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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
Isaac Hermida 503e50f392 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-03-10 12:53:02 +01:00
Isaac Hermida 1f38abf896 linux-virtualization: expand docker config extract for kernel v6.6
enable missing options for full cgroup support on a v6.6 kernel

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-11-13 13:30:07 +01:00
Javier Viguera 1290bb044b linux-dey: use kernel version v6.6 for ccimx93
https://onedigi.atlassian.net/browse/DEL-9257

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-05 18:15:50 +01:00
Javier Viguera 373f061650 dey: cosmetic, mark patches as DEY specific
Our distribution is Digi Embedded Yocto (DEY), so use that to mark the
upstream status of the patches in our layer.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-22 15:48:00 +02:00
Gabriel Valcazar 2bc985cbea global: add Upstream-Status tag to all patches
This avoids a QA error that is triggered if a patch is missing said tag

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Francisco Gil bbb94ced74 docker: add missing config entry in STM platform for docker
Also some duplicated entries were removed.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-07-09 11:45:29 +02:00
Mike Engel 994906d1de linux: add kernel fragment to enable File system encryption support
https://onedigi.atlassian.net/browse/DEL-8944

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-06-18 14:31:18 +02:00
Mike Engel 37f5db42ac tsn: add basic Time sensitive networking (TSN)
This commit adds some basic TSN support to DEY.
It includes the kernel configuration fragment with
the IEEE 802.1 support and the some user space tools
necessary to configure the network.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-06-04 12:14:18 +02:00
Mike Engel cc8c038401 linux-dey-5.15: add RT functionality to CCMP1
This commit adds RT functionality to CCMP1. The patches
have been extracted from STM RT expansion package and
includes the maineline RT patches and the STM RT driver
patches and RT Kernel defconfig changes.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-04-29 16:13:49 +02:00
Mike Engel 2eb37cf30b linux-dey-6.1: add RT functionality to CCiMX93
This commit adds RT functionality to the CCiMX93
platform. The patches have been extracted from the
NXP real time edge BSP and include the maineline RT
patches and the NXP RT driver patches and RT Kernel
defconfig changes.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-04-29 16:13:49 +02:00
Isaac Hermida d013c4c0b1 linux-virtualization: expand docker config extract
expand the docker defconfig excerpt to add more default options, as some
of them might be enable in some platform defconfigs but not in other ones,
so just set all of them, as it is safe, and nothing happens if they are
already set in the original default defconfig.

To check if all LXC/docker options are enabled for a kernel,
run lxc-checkconfig in the system.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-03-08 13:13:32 +01:00
Isaac Hermida 48f7e9f79e linux-virtualization: fix compilation
https://onedigi.atlassian.net/browse/DEL-8835
https://onedigi.atlassian.net/browse/DEL-8896

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-02-20 12:54:14 +01:00