Commit Graph

5038 Commits

Author SHA1 Message Date
Gabriel Valcazar d4e1917f1c global: remove recipes related to outdated features
There are several recipes in meta-digi related to features that we haven't
tested in a long time and don't appear in the DEY 5.0 documentation. Remove
them to avoid unexpected behavior.

Said features are:
    * Coral TPU support (only supported in DEY 3.2)
    * AWS support (removed from default images and docs in DEY 4.0)
    * dey-image-tiny (hasn't been maintained since DEY 2.0)

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-15 15:58:06 +02:00
Gonzalo Ruiz 94c6e338f5 firmware-murata-infineon: ccmp1: update World CLM blob file
Add the following countries to the CLM Blob file:
- Brazil
- Mexico
- Saudi Arabia
- Hong Kong
- Singapore
- Malaysia
- Taiwan
- Korea

This is the new World CLM Blob file:
  - cyfmac4373-sdio_World.clm_blob (11d5fab6659eff491aca1a219ad33b00)

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-05-15 08:29:08 +02:00
Hector Palacios 165b1ac4ce ccmp13: add device tree overlay for DVKv3
This overlay contains a workaround to make the USB-OTG
work as USB device when connected to a host.

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

https://onedigi.atlassian.net/browse/DEL-9610
(cherry picked from commit ec92f5fdd10a61e37ac3778d0d3aa1816bc6b0aa)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-13 12:56:20 +02:00
Gabriel Valcazar 30990b4c2e ccmp15: manually add "optee" to MACHINE_FEATURES
STM's st-machine-common-stm32mp.inc file automatically incorporates "optee" to
MACHINE_FEATURES as long as BOOTSCHEME_LABELS contains "optee". Since we
recently modified the ccmp15's labels to only contain "opteemin", this is no
longer the case, which leads to:

  * optee packages (optee-client, optee-os) not getting installed in images and
    SDKs
  * optee patches for environment encryption not being applied to libubootenv

Add the feature manually to fix these two issues

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-13 09:59:31 +02:00
Javier Viguera 4f09a9f546 wpewebkit: restrict VPU patch to 8M Mini
The 8M Nano does not have a VPU.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-13 09:44:02 +02:00
Hector Palacios fdec14adc9 tf-a-stm32mp: add USB boot support to 'opteemin' flavor of nand
OP-TEE comes in two flavors: optee and opteemin
For NAND-boot images, add support for USB boot as well,
so that the default tf-a image is valid for booting from
either NAND or USB.
We had this for 'optee' flavor but not for 'opteemin'.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-13 08:38:50 +02:00
Javier Viguera 7d076d76a5 wpewebkit: fix using VPU also for ccimx8mm
The patch we applied for the ccimx8x to enable VPU usage when playing
videos under WebKit is also necessary for the ccimx8mm.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-12 13:00:37 +02:00
Hector Palacios ec52e7a19f mtd-utils: add a UBI health monitor service
The ubihealthd daemon, present in mtd-utils does random
scans of the UBI devices on a given interval. This helps
to deal with 'read disturb' problem on NAND flashes.

The service runs a ubihealthd thread for every UBI device
with a read interval of 1 hour by default.

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

https://onedigi.atlassian.net/browse/DEL-9571
2025-05-12 10:59:29 +02:00
Hector Palacios 63e7031614 add missing `pn-` prefix to INSANE_SKIP appends
Commit 9c3916da94 added INSANE_SKIP
"32bit-time" to certain recipes that use 32bit APIs on the ccmp1
SOMs, but forgot to include the `pn-` prefix to really apply to
those recipes.

While on it, add two additional ones on recipes used by NXP 32-bit
platforms.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-09 12:40:51 +02:00
Javier Viguera c2632d1b00 meta-digi-dey: update GPU-related packages to rel_imx_6.6.52_2.2.0
* Add imx-gpu-sdk 6.4.2 recipe
* Update GPU tools package groups to match NXP release

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-09 09:54:44 +02:00
Javier Viguera 1ae68ffa59 meta-digi-dey: update wayland for release rel_imx_6.6.52_2.2.0
* Remove wayland_1.22.0.bbappend, with changes originally added for Crank
  UI (commit 25c699e05b), which we no longer support.
* Update wayland_%.bbappend to align with NXP’s rel_imx_6.6.52_2.2.0
  release.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-09 09:54:44 +02:00
Arturo Buzarra a8c3bba9a8 firmware-murata: update firmware binaries to version imx-scarthgap-jaculus_r1.1
This commit updates the firmware binaries for Bluetooth and Wireless interfaces,
aligned with the Cypress Linux WiFi Driver (FMAC) release v6.1.97-2025_0219.
The updated wireless firmware versions are as follows:
 - 2FY Wireless chip: v28.10.387.16
 - 2AE Wireless chip: v13.10.246.356

These updates are included as part of the imx-scarthgap-jaculus_r1.1 Murata release.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-08 11:53:44 +02:00
Javier Viguera 554ab9a536 firmware-ele-imx: update firmware to match NXP rel_imx_6.6.52_2.2.0
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:27:04 +02:00
Javier Viguera fb655dd021 meta-digi: xwayland: use poky's xwayland 23.2.5 recipe
That includes several CVE patches not present of meta-freescale's
23.2.5.imx recipe (which is based in exactly the same revision).

Similar change was done in NXP's meta-imx (see commit
99ceb057fcfdc8151c1488089d5f22363dfdb6d7).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:27:04 +02:00
Javier Viguera 1032a127e2 meta-digi: update i.MX GStreamer stack to 1.24.7.imx
NXP uses this version for its 6.6.52-2.2.0 release.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:26:59 +02:00
Javier Viguera 63034bf86e imx-vpu-hantro: delete overlayed recipes
meta-freescale provides newer versions of those recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-05-06 15:26:51 +02:00
Arturo Buzarra e87f7d0a5b u-boot-dey: ccmp1: refresh installer scripts for Yocto 5.0 support
This commit updates the installer scripts to support CCMP1 platforms under
Yocto 5.0, aligning them with the current behavior used for CCMP2.
Changes include:

- Adding support for the metadata partition, which is now required
- Including the optee/opteemin flavors in boot artifact filenames
- Ensuring the script structure and logic remain consistent with CCMP2 install scripts

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-06 09:02:10 +02:00
Arturo Buzarra 87aa304a2c tf-a-stm32mp: use MACHINE variable for final metadata binary symlink
Currently, the final metadata symlink is composed using the TF-A Device Tree
configuration, which includes memory variant details. However, these variants
are not relevant for the metadata binary.

To avoid generating multiple redundant metadata files or using confusing names,
this commit updates the symlink to be composed using the MACHINE variable
instead.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-06 09:02:10 +02:00
Arturo Buzarra 9e6e94d844 ccmp15/ccmp13: fix BOOTABLE_ARTIFACTS for CCMP1 platforms
In Yocto 5.0, the boot artifacts for CCMP1 platforms are compiled using the
opteemin flavor. This commit updates the BOOTABLE_ARTIFACTS definition to
reflect that change and properly integrate the boot artifacts into the ZIP
installer.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-06 09:02:10 +02:00
Arturo Buzarra 185651e6f0 mkproject: re-insert ccmp1 platforms into build system
The CCMP1 platforms were integrated as part of DEY-5.0, and this commit
restores their support in the mkproject build system.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-05 15:51:22 +02:00
Gabriel Valcazar c728854f5c Revert "stm32mp: gstreamer1.0-plugins-bad: revert STM patch to fix .flv video playback"
After more in-depth testing, we discovered that the flv/ogv video issues on the
ccmp25-dvk don't happen when playing videos with standard resolutions. Since
the workaround consisted of reverting a patch backported from upstream
gstreamer, and it only fixed flv video playback anyway, revert said workaround
and test using videos with standard formats.

This reverts commit e09eff7e1a.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-05 12:47:31 +02:00
Hector Palacios 4fc71f42e6 uboot: install_uuu: adapt to install TrustFence images
- Add missing option '-t'
- Change variable for signed suffix

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:05:04 +02:00
Hector Palacios 9c3916da94 add INSANE_SKIP 32bit-time to avoid warnings on recipes using 32-bit APIs
The binaries of certain recipes use 32-bit APIs (ioctl, stat) that produce
build warnings. Add INSANE_SKIP to prevent the warnings.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:05:02 +02:00
Hector Palacios 3c6d3d356b ccmp1/ccmp2: clear ALSA_LIST with override and move it to include file
ALSA_LIST variable is weakly set through an override (stm32mp1common or
stm32mp2common). When the override is in place, the hard assignment of
the plain variable is not enough, and the value weakly set in
meta-st-stm32mp layer takes precedence over the plain variable hard
assignment.
Clear the variable with the override and move it from machine config files
to the include file.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:04:31 +02:00
Hector Palacios 51116d4065 ccmp1: use 'opteemin' BOOTSCHEME_LABELS for ccmp15 by default
Move BOOTSCHEME_LABELS from common include to platform config

Default to:
- 'opteemin' for ccmp15
- 'optee' for ccmp13

This doesn't change the behavior present in DEY-4.0, where OPTEE in ccmp15
was minimal and running on non-secure DDR.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:04:31 +02:00
Hector Palacios e644965b0d ccmp1x: add 'stm32mp15common'/'stm32mp13common' to MACHINEOVERRIDES
This override sets other variables, such as STM32MP_SOC_NAME which is used
on the build of the FIP image.
It also makes ST layer append a new UBOOT_CONFIG (default_stm32mp15/13)
that we must remove.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:04:27 +02:00
Hector Palacios e2f1b3cb64 tf-a-stm32mp: fix TF_A_CONFIG for nand
On the new BSP the configuration is called 'optee-nand' and the build
parameters have changed.
We do this override in meta-digi only to incorporate
 `STM32MP_USB_PROGRAMMER=1`
parameter, which allows to boot the nand image from USB, too.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 543cb5cedd u-boot-dey: install all variants of U-Boot binaries
The function had into account the memory variants when copying U-Boot
device trees, but not the U-Boot binaries themselves.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 65a0954f07 u-boot-dey: make function to install artifacts in sysroot common to ccmp1/ccmp2
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 2a547ac302 ccmp1: disable STM32MP_DEVICETREE_PROGRAMMER_ENABLE
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 4d37569a52 ccmp1: move common ccmp15/ccmp13 defines to common include file
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 7722e3a1d2 ccmp1: [cosmetic] re-order definitions to match the ccmp25 layout
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 7ceebfbb1e ccmp1: adapt U-Boot and OPTEE variables to newest ST BSP
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios 4bdd4b0b56 ccmp1: define device trees per media STM32MP_DT_FILES_xxx
The variable STM32MP_DEVICETREE is later expanded with the list of values
in all media.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios d21c7b5fdd ccmp1: update BOOTDEVICE_LABELS string for nand to new BSP
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:40 +02:00
Hector Palacios b4c5345be8 ccmp1: remove 'kernel-headers' dependency
This commit removes kernel headers from the SDK package list to
prevent overwriting the default ones, as there are currently no
ST-specific headers required.

Reference: ebadb27d60
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-05-02 11:03:02 +02:00
Hector Palacios 5d640e5c2a README: add ccmp1 to the list of supported platforms
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9045
2025-04-30 12:49:06 +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 4da4eb7bdd udev-extraconf: skip actions for additional wifi interfaces
When a WiFi card adds additional interfaces (for AP or WiFi direct),
it generates udev triggers that lead the wifi card to fail.
Ignore those events.
The reason of this new behavior is due to poky commit 1e8b49999ad8.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-04-29 16:40:05 +02:00
Javier Viguera 6a1c8c27a9 machine: ccimx8/9, ccmp1/2: configure default DTB in FIT image
Configure the FIT_CONF_DEFAULT_DTB in the machine settings to define the
default configuration for the generated FIT image.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-04-28 11:00:21 +02:00
Arturo Buzarra 3cf120227f README: include ConnectCore 8M platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-24 17:32:00 +02:00
Arturo Buzarra 3b6e17274a trustfence-fscrypt: update tarball based on libteec v1.0.0
This commit updates the tarball to be based on libteec v1.0.0, as the previous
version was generated without the correct Trusted Application (TA) and did not
work properly.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-24 17:32:00 +02:00
Arturo Buzarra 499ce2e97b flutter-apps-layer: add init service to automatically launch Flutter demo
This commit introduces a dynamic layer that extends the flutter-apps layer by
adding an init service to automatically launch the Flutter demo on boot.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-24 17:29:01 +02:00
Gabriel Valcazar e09eff7e1a stm32mp: gstreamer1.0-plugins-bad: revert STM patch to fix .flv video playback
STM patch nº8 was causing memory mapping errors when playing .flv videos on the
ccmp25-dvk, so revert it.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-24 10:05:35 +02:00
Gabriel Valcazar 8b8788d68e qt6: qttools: remove spurious clang dependency in dey-toolchain SDK
Typically, recipes that support clang builds only pull in the required clang
dependencies when the TOOLCHAIN variable is expliciltly set to "clang". The
qttools recipe in meta-qt6 differs from this by adding the dependency as soon
as meta-clang is present in the bblayers, regardless of the selected toolchain.

This causes all of the nativesdk clang packages to get included in our SDK
(along with the gcc ones), causing SDK bloat and spurious build errors on build
machines with limited resources.

Make sure that the dependency is only added when the clang TOOLCHAIN is
explicitly selected.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-23 18:05:19 +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
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 724c9492ec build: Start a build release environment from scratch
The release build should ensure it starts from a fresh environment to avoid
potential mismatches with old code.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-22 12:53:37 +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
Arturo Buzarra 758cae2e19 build.sh: add dey-image-flutter image
https://onedigi.atlassian.net/browse/DEL-9380

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-04-15 15:35:13 +02:00