Commit Graph

2574 Commits

Author SHA1 Message Date
Arturo Buzarra 8f1413f5cc x-linux-ai: update support for new X-LINUX-AI v6.0.1 release
This commit introduces the necessary changes in the Digi Embedded Yocto layer
to support the X-LINUX-AI v6.0.1 software package from the meta-st-x-linux-ai
layer.

The update removes support that is now provided directly by the ST layer in
this new version and adapts existing recipes to align with the updated
mechanisms for AI application integration. These changes ensure compatibility
with platforms that feature hardware acceleration (NPU), as well as those that
rely solely on CPU-based inference.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 16:34:20 +02:00
Arturo Buzarra e61eaf172c nativesdk-packagegroup-sdk-host: remove Flutter support by default
This commit removes the default integration of the Flutter framework from the
SDK due to its significant impact on toolchain size, build time, and reliability.

Including Flutter increases the build complexity exponentially, often resulting
in timeouts or failures caused by the large number of recipes involved.

Customers who require Flutter can still enable it manually if needed.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 10:53:31 +02:00
Javier Viguera 759598fdc0 ccimx8mm: add OP-TEE support for all memory variants
* Set the OP-TEE base address to 0x7e000000 (32MiB below the first gigabyte
  of DDR).
* Update the ATF and OP-TEE memory maps to support up to 4GiB DDR.

This ensures OP-TEE runs reliably across all ccimx8mm memory configurations.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-04-14 14:38:22 +02:00
Arturo Buzarra 698b32ed31 templates: add support to Flutter framework
https://onedigi.atlassian.net/browse/DEL-9380

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-10 10:42:10 +02:00
Arturo Buzarra ccb98366ea dey-image-flutter: add new recipe based on graphical Flutter framework
Flutter is an open source framework for building multi-platform applications
without a graphical backend running. This commit adds support to create a new
DEY image type based on Flutter ready to use for the users.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-10 10:42:10 +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
Javier Viguera 47dbfee270 trustfence-sign-artifact: fix kernel load address for u-boot v2024
U-boot v2024 changed the default load address (SYS_LOAD_ADDR) for CC8M
platforms to:
* Ensure the kernel load address is 2MB-aligned (avoiding extra memory
  copy)
* Prevent overlap with the fixed DEK blob address at 0x40400000
    
Update the boot artifacts signing script accordingly.

https://onedigi.atlassian.net/browse/DEL-9537
https://onedigi.atlassian.net/browse/DEL-9541
https://onedigi.atlassian.net/browse/DUB-1099

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-04-04 11:15:29 +02:00
Gabriel Valcazar 907531b55c kernel-module-nxp-wlan: remove wlan_src_driver_patch_release_lf-6.6.52-2.2.0
The patch was recently added to meta-freescale, remove it from our layer to
avoid build errors.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-04 10:13:42 +02:00
Javier Viguera c2c933a93a imx-atf,imx-boot: refresh ccimx8m patches for release lf-6.6.52-2.2.0
https://onedigi.atlassian.net/browse/DEL-9537
https://onedigi.atlassian.net/browse/DEL-9541

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-03-27 17:02:54 +01:00
Christophe Priouzeau a4d8a1a985 stm-st-stm32mp: gstreamer-plugins-bad: v4l2codecs: add support of encoding from UYVY
Add UYVY support in order to be aligned with stateful v4l2 codecs
such as v4l2jpegenc.

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

Change-Id: I8c8e0b328aa3ea2325085d26cad0c14549b25f5a
Reviewed-on: https://gerrit.st.com/c/oeivi/oe/st/meta-opensdk/+/436381
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Tested-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:57:56 +01:00
Christophe Priouzeau 0d10d91ed2 stm-st-stm32mp: gstreamer-plugins-bad: v4l2codecs: support H264 encode high profile DCT 8x8
Support H264 encode high profile DCT 8x8.

gst-launch-1.0 videotestsrc num-buffers=100 ! videoconvert ! v4l2slh264enc dct8x8=true ! "video/x-h264, profile=(string)high" ! h264parse ! qtmux ! filesink location=qvga_high_dct8x8.mp4
gst-play-1.0 qvga_high_dct8x8.mp4

gst-launch-1.0 videotestsrc num-buffers=100 ! videoconvert ! v4l2slh264enc dct8x8=true ! "video/x-h264, profile=(string)high" ! filesink location=qvga_high_dct8x8.bits
gst-play-1.0 qvga_high_dct8x8.bits

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

Change-Id: I63287f10b252d0f82b94a7c48807b5ba4a25e359
Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Reviewed-on: https://gerrit.st.com/c/oeivi/oe/st/meta-opensdk/+/436380
Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Tested-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:57:56 +01:00
Christophe Priouzeau 1d58c7138e stm-st-stm32mp: gstreamer-plugins-bad: revert part of (gtk)waylandsink: fix QVGA YUV420 planar
This cause issue with
gst-launch-1.0 libcamerasrc  ! video/x-raw, format=RGB16, width=800, height=600 ! queue ! waylandsink
zwp_linux_buffer_params_v1@14: error 6: invalid buffer stride or height for plane 0
ERROR: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Video memory can not be read from userspace.

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

Change-Id: Ic82e3787dd74642426baea3d35c2d778f4b1da14
Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Reviewed-on: https://gerrit.st.com/c/oeivi/oe/st/meta-opensdk/+/435172
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Tested-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@st.com>
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-03-26 08:57:56 +01:00
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 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 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
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 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 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 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
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 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
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
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 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
Arturo Buzarra a38f9ecf89 ccmp25-dvk: set device tree file for sdcard generation
This commit defines the device tree file variable used to generate the SD card
image, fixing the build of the bootloader flavor intended for booting from an
SD card.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-19 08:50:52 +01:00
Arturo Buzarra d5028e781d trustfence-sign-tools: unify recipes based on the latest u-boot v2024.04
The sign script has been updated to support AHAB-based modules like the CCIMX8X.
As a result, there is no longer a need to maintain two separate recipes for the
signing scripts. This commit unifies them into a single recipe.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-02-17 13:55:56 +01:00