Commit Graph

5076 Commits

Author SHA1 Message Date
Christophe Priouzeau 6d01ab78f9 stm-st-stm32mp: gstreamer-plugins-bad: v4l2codecs: add support of encoding from RGBA
Add also BGRA, ARGB, ABGR formats in order to be aligned with stateful
v4l2 codecs such as v4l2jpegenc.

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

Change-Id: Ia51f7a93b0a6fbccb3222230e9f0936d2293cbbb
Reviewed-on: https://gerrit.st.com/c/oeivi/oe/st/meta-opensdk/+/436379
Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Tested-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:57:56 +01:00
Arturo Buzarra ff97a34b64 ccmp25-dvk: add support to include Trustfence artifacts in ZIP installer
This commit conditionally selects the appropriate boot artifacts to include in
the ZIP installer, depending on whether Trustfence is enabled or not.

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 c59a5fdfe9 u-boot-dey: ccmp2: fix support for flashing Trustfence artifacts
Both boot artifacts now use the same signed label, so this commit removes
unnecessary logic and updates the UUU install script to support the new boot
artifact naming. It also fixes the detection of signed artifacts by checking
for the presence of the FIP artifact, instead of relying on a U-BOOT artifact
that does not exist on this 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 4be874e30f trustfence-fscrypt: add support to STM32MP platforms based on libteec v1.0.0
This commit includes a new tarball based on trustfence-fscrypt v0.2,
cross-compiled against libteec v1.0.0, to enable support for STM32MP 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 30751b0eef stm-st-stm32mp: add optee-client recipe based on v4.0.0
This commit integrates optee-client support from the meta-st-openstlinux layer,
based on the openstlinux-6.6-yocto-scarthgap-mpu-v25.03.19 tag.

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 250acb9041 stm-st-stm32mp: fip-stm32mp: Integrate do_deploy:append into main do_deploy() function
This commit simplifies the recipe by integrating the symlink generation
directly into the main do_deploy() function, removing the need to maintain
both a do_deploy() and a do_deploy:append().

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 f0c4cdc5bb stm-st-stm32mp: fip-stm32mp: fix symlinks in DEPLOYDIR
This commit addresses two issues in the symlink deployment function:

- do_deploy() should not write directly to DEPLOY_DIR_IMAGE. Instead,
  it now uses DEPLOYDIR.
- Expands do_deploy() instead of using SYSROOT_PREPROCESS_FUNCS to ensure that
  the original FIP artifacts are created and properly regenerated on each build.

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 f8c0274076 stm-st-stm32mp: fip/tf-a: fix symlink generation
This commit generalizes the symlink generation to allow creating a final
symlink in the deploy directory, supporting different artifact flavors:
regular, signed or encrypted.

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 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
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
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 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 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 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