Commit Graph

5125 Commits

Author SHA1 Message Date
Arturo Buzarra f27c3364cb meta-digi-arm: Add custom sign-stm32mp bbclass to fix build issue
This commit imports the sign-stm32mp bbclass from the meta-st-stm32mp layer to
allow customization. The main customization ensures 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-9442

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra 9106a8c382 u-boot-dey: use common FIT signature fragment for stm platforms
https://onedigi.atlassian.net/browse/DEL-9442

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra 18a376ff0f ccmp2: add support to FIT image generation
This commit introduces the necessary settings for the kernel-fitimage class to
enable FIT image generation.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra 5598c5973d ccmp25-dvk: Force main DTB as the first item in the kernel device tree list for FIT images
The kernel-fitimage class sets the default configuration using the first
element from the kernel device tree list. This commit ensures that the main DTB
is listed first to enforce the correct default configuration.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra b5e94fc1ae stm-st-stm32mp: tf-a-stm32mp: Add custom do_compile() to fix TF-A artifact signing
This commit introduces a custom do_compile() function to resolve a signing
issue affecting the final TF-A artifact, where the SoC name does not match the
TF-A device tree name.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra dc19078620 stm-st-stm32mp: fip-stm32mp: Fix sign key processing
This commit corrects an issue in the sign key processing when the SoC name does
not match the FIP device tree name.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra b1800736af trustfence: update support to STM platforms and integrate CCMP2
This commit updates secure boot support based on the STM32 MPU Ecosystem v6.0
and integrates support for the ConnectCore MP2 platform.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:53:12 +01:00
Arturo Buzarra 76a4f781e3 stm-st-stm32mp: fip-stm32mp: add OP-TEE USB FIP configuration
The FIP flavor for OP-TEE + USB is managed in the meta-st-stm32mp layer through
the "optee-programmer-usb". However, since we do not require the additional
overhead introduced by the STM32CubeProgrammer tool, this commit introduces a
new FIP configuration based on OP-TEE for booting from USB.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-21 08:55:07 +01:00
Arturo Buzarra 16618e5789 trustfence-stm-signtools: update recipe and package to binaries v2.19.0
This commit updates the trustfence-stm-signtools package with the latest
versions from the STM32 MPU ecosystem v6.0:
- STM32MP_KeyGen_CLI           v2.19.0
- STM32MP_SigningTool_CLI      v2.19.0

These tools are deployed as part of STM32CubeProgrammer v2.19.0, adding support
for STM32MP2x processors.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-21 08:55:07 +01:00
Isaac Hermida 70942f21a0 mkproject: add build support for ccimx8m platforms
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-19 10:26:06 +01:00
Isaac Hermida 710e655054 u-boot-dey: use version v2024.04 for ccimx8m
https://onedigi.atlassian.net/browse/DUB-1095
https://onedigi.atlassian.net/browse/DUB-1096
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 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
Hector Palacios 46ba68521b README: add missing CC93 P/Ns to supported platforms
Add to the list of supported platforms missing CC93 variants:
- Dual-core, 1GB, non-wireless
- Single-core, 512MB, wireless
- Single-core, 512MB, non-wireless

Reported-by: Miguel Ángel Perez <miguel.perez@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit c357bf97f6)
2025-03-14 09:39:19 +01:00
Hector Palacios c357bf97f6 README: add missing CC93 P/Ns to supported platforms
Add to the list of supported platforms missing CC93 variants:
- Dual-core, 1GB, non-wireless
- Single-core, 512MB, wireless
- Single-core, 512MB, non-wireless

Reported-by: Miguel Ángel Perez <miguel.perez@digi.com>
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-03-13 18:04:26 +01:00
Francisco Gil a28079cc7e swu: ccmp2: add support for updating U-boot/TFA through SWU packages
Refactored some functions to make them more generic, allowing for
greater parameter reusability.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-03-13 16:46:54 +01:00
Gabriel Valcazar 161f6fbe9a sdk: build.sh: parametize vigiles config file path with Yocto codename
We need separate config files for different DEY versions, so store each file
set in a folder named after the corresponding Yocto codename.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-03-12 15:49:37 +01:00
Francisco Gil 3422efda37 nm: remove dnsmasq as DNS manager
dnsmaqs is not able to manage DNS from cellular interface.

Now, DNS is managed by systemd-resolved on platforms with
systemd and by NetworkManager on sysvinit platforms.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-03-11 11:26:10 +01:00
Francisco Gil 51991322e2 nm: remove dnsmasq as DNS manager
dnsmaqs is not able to manage DNS from cellular interface.

Now, DNS is managed by systemd-resolved on platforms with
systemd and by NetworkManager on sysvinit platforms.

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

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-03-11 11:25:11 +01:00
Isaac Hermida 738588064e Revert "gcnano-userland: fixes for Crank SB engine"
This reverts commit c2da31e0b1.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 10:25:18 +01:00
Isaac Hermida 0885412c26 Revert "tslib: crank: add 'libts-1.0.so.0' link to the tslib package"
This reverts commit 7a06747017.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 10:25:18 +01:00
Isaac Hermida cb597d60fb Revert "crank: recipe for crank demos"
This reverts commit 93e69dfb3e.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 10:25:18 +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 79444395f0 meta-digi-dey: do not include hwlatdetect
hwlatdetect is intended for monitoring hw latency on real time systems
that rely on SMI interrupts (mainly x86 machines).
As our devices that not support it, do not include the tool.

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
Isaac Hermida ab09791087 meta-digi-dey: do not include hwlatdetect
hwlatdetect is intended for monitoring hw latency on real time systems
that rely on SMI interrupts (mainly x86 machines).
As our devices that not support it, do not include the tool.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-11 08:55:43 +01:00
Gabriel Valcazar fa003b98df trustfence.bbclass: don't enable partition encryption for ccmp1 platforms
This was causing issues when installing an SWU package on ccmp1 platforms with
dualboot disabled and Trustfence enabled: the package was triggering an
encrypted rootfs update, which isn't supported on these platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit af06ea16adc85285d9264468d2fd5946ed401de9)
2025-03-10 15:55:28 +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 02cf30583b Revert "gcnano-userland: fixes for Crank SB engine"
This reverts commit c2da31e0b1.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-10 12:51:55 +01:00
Isaac Hermida 2bda05af8b Revert "tslib: crank: add 'libts-1.0.so.0' link to the tslib package"
This reverts commit 7a06747017.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-10 12:51:55 +01:00
Isaac Hermida 1ad2dade8f Revert "crank: recipe for crank demos"
This reverts commit 93e69dfb3e.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-03-10 12:51:55 +01:00
Arturo Buzarra 417941e274 meta-digi-dey: bump distro version to 5.0-r2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-10 11:32:45 +01:00
Arturo Buzarra 37517dcbe0 Merge tag 'dey-5.0-r1.3' into dey-5.0/master
Digi Embedded Yocto 5.0-r1.3

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-10 11:26:31 +01:00
Arturo Buzarra d7905a0422 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-06 21:04:26 +01:00
Arturo Buzarra 829cca1214 meta-digi: update revisions for dey-5.0-r1.3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-06 21:04:25 +01:00
Arturo Buzarra f724566a6f meta-digi-dey: bump distro version to 5.0-r1.3
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-06 21:04:25 +01:00
Francisco Gil 6d1dc51b76 installers: escape quotes in assignment of variable
Assignment of variable 'force_erase' was done without escaping quotes
which led to wrong assignment and the script not forcing the erasure of
NAND partitions.

While on it, remove it from ccmp1 scripts where its use makes no sense
as the 'ubivolscript' script takes care of erasing the partitions.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
(cherry picked from commit 96e1e8351d)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-03-06 16:59:45 +01:00
Francisco Gil 96e1e8351d installers: escape quotes in assignment of variable
Assignment of variable 'force_erase' was done without escaping quotes
which led to wrong assignment and the script not forcing the erasure of
NAND partitions.

While on it, remove it from ccmp1 scripts where its use makes no sense
as the 'ubivolscript' script takes care of erasing the partitions.


Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2025-03-05 16:57:31 +01:00
Arturo Buzarra e3bacb2775 README: remove unsupported platforms for dey-5.0-r1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-27 12:59:08 +01:00
Arturo Buzarra 8f126dc060 meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-26 12:56:25 +01:00
Arturo Buzarra 8180e53e83 meta-digi: update revisions for dey-5.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-26 12:56:24 +01:00
Arturo Buzarra d6d8a03bd6 meta-digi-dey: bump distro version to 5.0-r1.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-26 12:56:24 +01:00
Hector Palacios 293f0c5ab7 dey: remove support for dey-image-crank
We're dropping support for dey-image-crank images.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9508
https://onedigi.atlassian.net/browse/DEL-9509
2025-02-26 11:37:37 +01:00
Isaac Hermida 36ba80b3ea imx-machine-learning: use local ssd_mobilenet_v1 model
after commit 8ad093c37b we are detecting
if a model conversion fails.
Currently the mode ssd_mobilenet_v1 fails and cannot be converted by
vela.
This is reported to NXP and will be fixed in next releases.
Meanwhile, for the current version, use a local copy.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-02-25 16:34:14 +01:00
Hector Palacios 45d4f56ff1 dey-gstreamer: add 'autovideosink' for ccimx6ul
'gplay' tries to use playbin3 and autovideosink by default
which is provided by plugins-good package and missing on the
ccimx6ul.
Add this package so that video playback works with 'gplay'
command alone.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9525
2025-02-25 11:03:38 +01:00
Arturo Buzarra 440fd0e20f meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-24 13:52:13 +01:00
Arturo Buzarra ba0b696a75 meta-digi: update revisions for dey-5.0-r1.1
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-24 13:52:13 +01:00
Arturo Buzarra 3bc730e9a5 linux-dey-5.15: remove support to ConnectCore 6UL platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-24 13:52:13 +01:00
Arturo Buzarra fb4e91ef42 firmware-murata: update firmware binaries based on current imx-scarthgap-jaculus_r1.0 release
This commit updates several binaries, including the NVRAM and Bluetooth patch
file, based on the latest Murata release imx-scarthgap-jaculus_r1.0. This release
is still based on the Cypress Linux WiFi Driver (FMAC) v6.1.97-2024_1115
(Wireless firmware v28.10.387.10), keeping the wireless firmware unchanged.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-20 16:15:27 +01:00
Arturo Buzarra aa86a47c9b README: dey-5.0-r1 release notes
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-20 11:40:54 +01:00
Arturo Buzarra 88fe8cb394 ccmp2: fix wks file to generate a bootable sdcard
This commit makes the following changes over the original wks file:
- Fixes binary names to match the OP-TEE sdcard flavor
- Fixes the fip-a/b partition UUIDs
- Set a valid rootfs size that allows flash default images

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-19 09:27:43 +01:00