Commit Graph

2482 Commits

Author SHA1 Message Date
Arturo Buzarra d48a96aa24 firmware-murata: update firmware binaries to version imx-scarthgap-jaculus_r1.0
This commit updates the required firmware binaries for Bluetooth and Wireless
interfaces and the Murata firmware repositories to match with the latest Murata
release imx-scarthgap-jaculus_r1.0, which is based in the Cypress Linux Wifi
Driver (FMAC) release v6.1.97-2024_1115 (Wireless firmware v28.10.387.10).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-18 17:35:39 +01:00
Arturo Buzarra f4ca0d02fb stm-st-stm32mp: weston-init: fix conflict with the tim-vx-tools recipe
This commit integrates the necessary changes from the weston-init.bb recipe in
the Poky layer to resolve a rootfs installation issue with the tim-vx-tools
recipe caused by a mismatch in the permissions of the /home/weston folder.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-16 23:19:22 +01:00
Gabriel Valcazar 42c8510423 linux-dey: update imx branch for release lf-6.6.52-2.2.0
https://onedigi.atlassian.net/browse/DEL-9415

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-16 11:02:39 +01:00
Gonzalo Ruiz b9fb425472 u-boot-dey: ccimx6ul: upgrade to v2024.04
https://onedigi.atlassian.net/browse/DEL-9399

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-12-12 16:03:41 +01:00
Gabriel Valcazar c7b2c5e94c Generalize WAYLAND_DISPLAY variable at a platform level and set a default value
The value of this variable is always the same within a platform, so it doesn't
make sense to have different variables for it in each recipe that requires it.
While at it, it seems like all currently supported platforms in DEY 5.0 use the
same value of "wayland-1", presumably because they all use similar versions of
wayland/weston. Set this as the default value for all platforms for now. As we
support more platforms, we can adjust this value if needed, but if it ends up
being the same for all platforms, we can just hardcode it.

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

Co-authored-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-12-11 13:18:03 +01:00
Arturo Buzarra 576c0283f0 stm-st-stm32mp: fip-stm32mp: add a custom .bbappend to fix the deployment of the final FIP artifact
This commit integrates a custom .bbappend to fix a deployment issue of the
final FIP artifact, where the SoC name does not match with the FIP device tree
name.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra ebadb27d60 ccmp2: don't include custom kernel headers in the toolchain
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.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 2db49f3a4a ccmp25-dvk: sync default FIP generation variables
This commit updates the default FIP generation variables to align with the
common stm32mp2 configuration files from the latest meta-st-stm32mp layer,
based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 661d1dc620 stm-st-stm32mp: weston: sync weston recipes with v13.0.1
This commit removes all outdated weston recipes and synchronizes it with the
latest v13.0.1 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra d29d7149a7 stm-st-stm32mp: remove outdated recipes and unnecessary files
This commit removes all unnecessary files after the integration of the latest
ST BSP, based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for
Yocto 5.0 (Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 1c26e84dd1 u-boot-dey: use version v2023.10 for ccmp2
Update ccmp2 platform to use the latest U-Boot v2023.10 based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 52cbd8eb17 linux-dey: use kernel version v6.6 for ccmp2
Update ccmp2 platform to use the latest Linux kernel v6.6.48 based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra af95fadd97 stm-st-stm32mp: wayland-protocols: sync recipe to v1.33
This commit removes the outdated wayland-protocols recipe and synchronizes it
with the latest v1.33 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 0b12b51044 stm-st-stm32mp: gstreamer: sync gstreamer recipes with v1.22.12
This commit removes all outdated gstreamer recipes and synchronizes it with the
latest v1.22.12 from the meta-st-openstlinux layer, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 9c502ca5b8 stm-st-stm32mp: gcnano: remove gcnano recipes from meta-digi
This commit removes the gcnano recipes integrated into meta-digi, as a new
version (v6.4.19) has been released in the latest ST BSP, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra da6311bb3b stm-st-stm32mp: scp-firmware: remove recipe integrated in optee-os v4.0.0
This commit removes the scp-firmware recipe, as it has been integrated into the
optee-os recipe with the latest v4.0.0 from the ST BSP release. This update is
based on the openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0
(Scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 13a12520fe stm-st-stm32mp: optee-os: sync optee-os-stm32mp2 recipe with v4.0.0
This commit removes all outdated OPTEE-OS recipes and synchronizes the Digi custom
.bbappend with the latest v4.0.0 from the ST BSP release, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Arturo Buzarra 8b0aada42d stm-st-stm32mp: tf-a: sync arm-trusted-firmware recipe with v2.10
This commit removes all outdated TF-A recipes and synchronizes the Digi custom
.bbappend with the latest v2.10 from the ST BSP release, based on the
openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 tag for Yocto 5.0 (scarthgap).

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-12-10 10:19:50 +01:00
Javier Viguera 58effcfc11 u-boot: disable version v2017.03 for ccimx8x
U-Boot version v2024.04 does support ccimx8x now.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-20 18:57:34 +01:00
Javier Viguera 3d2718abb7 trustfence-sign-artifact: fix AHAB-containerizing command for ccimx91
The ccmx91 uses the same AHAB-containerizing command as the ccimx93,
so fix the code to remove the hardcoding check for the ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-20 18:57:24 +01:00
Javier Viguera 437899bb95 linux-trustfence.inc: use the correct DTB file for signing
This commit in Poky:

https://git.yoctoproject.org/poky/commit/?id=fbace4111441d36026c3b5cd2ef690250ca8c448

changed the naming/symlinking of the different dtb files installed in
the deploy directory. In Yocto 4.0 we had:

146432 nov 19 14:37 ccimx8x-sbc-pro--5.15-r0.6-ccimx8x-sbc-pro-20241119124717.dtb
    61 nov 19 14:37 ccimx8x-sbc-pro-ccimx8x-sbc-pro.dtb -> ccimx8x-sbc-pro--5.15-r0.6-ccimx8x-sbc-pro-20241119124717.dtb
    61 nov 19 14:37 ccimx8x-sbc-pro.dtb -> ccimx8x-sbc-pro--5.15-r0.6-ccimx8x-sbc-pro-20241119124717.dtb

while in Yocto 5.0:

    19 nov 19 17:57 ccimx8x-sbc-pro--6.6-r0.0-ccimx8x-sbc-pro-20241119164948.dtb -> ccimx8x-sbc-pro.dtb
    19 nov 19 17:57 ccimx8x-sbc-pro-ccimx8x-sbc-pro.dtb -> ccimx8x-sbc-pro.dtb
151552 nov 19 17:57 ccimx8x-sbc-pro.dtb

Now, the regular file does not have timestamps or platform name suffixes,
so adjust the signing code to reflect this change.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-20 18:57:24 +01:00
Gonzalo Ruiz 26a7addc27 digi-sc-firmware: update to v1.17.0.1
This update fixes a wrong HWID programming in some variant -13
modules.

https://onedigi.atlassian.net/browse/DUB-1090

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2024-11-15 17:57:35 +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 c0bd349874 opencv: upgrade to version 4.10.0.imx
This is the fork that NXP utilizes for release version 6.6.36_2.1.0.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-05 18:17:02 +01:00
Javier Viguera 7228eb4738 u-boot-dey: use version v2024.04 for ccimx93
It also includes U-Boot-related recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-05 18:16:59 +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 0dcf68840a imx-digi-base: re-sync with meta-freescale's imx-base
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-11-05 18:15:50 +01:00
Arturo Buzarra f1ab3bcc69 u-boot-dey: use version v2024.04 for ccimx8x
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-11-05 17:18:29 +01:00
Mike Engel a38c7599fd digi-sc-firmware: upgrade to version 1.17
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-10-31 16:47:27 +01:00
Mike Engel 5f3a9fd7da alsa-state: change audio card name
This commit changes the audio card name for the
asound configuration and state of the following
platforms:

* CCiMX8X
* CCiMX8M
* CCiMX6UL

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-10-30 13:30:46 +01:00
Gabriel Valcazar 401e99d3f0 trustfence-cst: update to cst 3.4.1
Now that the tool supports OpenSSL 3.2.3, the same version provided by Yocto
5.0 poky, we can simply use the regular Yocto version of the package and link
to it dynamically instead of building a separate version specific for the tool.
Reflect this change in the recipe and include the new binary "mac_dump" in the
package.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-29 12:14:03 +01:00
Gabriel Valcazar f02d6f9f3c trustfence-cst: use the same toolchain when building internal openssl and cst
An internal build of openssl is compiled as part of the cst build process,
which is later linked statically to the tool. When building the nativesdk
version of cst, openssl's internal "Configure" tool chooses Yocto's nativesdk
compiler for its compilation (x86_64-deysdk-linux-gcc). However, cst's Makefile
uses host tools by default, meaning it will compile its C files with the host's
gcc and link the final binary with the host's ld. This can lead to errors due
to the Yocto nativesdk compiler including symbols in the openssl libraries that
are unknown to the host's linker.

For example, when attempting to build nativesdk-trustfence-cst in Yocto 5.0 on
Ubuntu 2020.04, the following linker error appears multiple times:

undefined reference to `__isoc23_strtol'

Fix this by making sure cst uses the same toolchain as the one used when
building the internal openssl libraries (and ultimately, when the final binary
is linked together). This doesn't affect the native version of cst, which uses
the host's toolchain.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-28 16:22:16 +01:00
Arturo Buzarra 1d6fa1cf22 conf: machine: ccimx6ul: update device tree path on Linux kernel v6.6
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-24 11:52:43 +02:00
Arturo Buzarra 1a357517fa linux-dey-6.6: add support to ccimx6ul and ccimx8x platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-24 11:52:43 +02:00
Javier Viguera 8352292e87 iw61x wireless: update for release lf-6.6.36-2.1.0
https://onedigi.atlassian.net/browse/DEL-9257
https://onedigi.atlassian.net/browse/DEL-9258
https://onedigi.atlassian.net/browse/DEL-9307

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-23 11:58:57 +02:00
Javier Viguera b725538fc0 linux-dey: update branch for release lf-6.6.36-2.1.0
https://onedigi.atlassian.net/browse/DEL-9257
https://onedigi.atlassian.net/browse/DEL-9258

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-22 15:49:00 +02:00
Javier Viguera 9b43e64332 imx-boot: update input artifacts for ccimx91/93
Update recipes to NXP's lf-6.6.36-2.1.0 release and refresh patches on
top of that version.

https://onedigi.atlassian.net/browse/DEL-9257
https://onedigi.atlassian.net/browse/DEL-9258

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-22 15:48:30 +02: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 a840978ff1 imx-boot: appropriately override UUU_BOOTLOADER values
The way tagged imx-boot images are handled in meta-freescale was changed in
commit 161f1b3e69a3cf011a50e9b742fb8c46d61e41e8. Reflect this in our recipe by
using the same overrides as uuu_bootloader_tag.bbclass to disable the
functionality

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 044b8092b7 imx-boot: stop using BOOT_NAME variable
This variable was removed from the base imx-boot recipe in meta-freescale
commit c30f12b809a8cf36043b42c67dd8a11f69d9cf77, as it was never being
overridden and always had a value of "imx-boot".

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar ab8941b8c9 freescale-layer: optee-os: fix staticdev package QA errors
For some reason, using the '+=' operator instead of ':append' when specifying
the staticdev package's FILES, the original values are overwritten, causing all
of them to get included in the dev package instead. Since some of these files
are static libraries, this causes QA errors.

Replace the '+=' operator with ':append' to fix this.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 46dde972c2 imx-boot: fix compilation for imx8m platforms
In meta-freescale commit 4d64dde1686a017ebe2763dd7880563a6fc51b53,
compile_mx8m() was modified to account for possible configuration suffixes in
the dtb filename via the creation of a symlink. In our case, the filename is
the same as the target, causing the dtb to get replaced with a dead symlink.
For now, revert this function to how it was in the kirkstone branch of
meta-freescale to avoid this.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 7259027109 Add meta-multimedia layer to all platforms capable of running dey-image-webkit
By default, wpewebkit now depends on flite, a package that is provided by said
layer. To meet this dependency, all platforms that are capable of running
webkit must include this layer.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar e7fa96a781 stm-st-stm32mp: weston-init: miscellaneous fixes
Check that weston-start exists before modifying it: after a recent change in
poky's weston-init recipe, this file only gets installed in non-systemd images.

Remove hardcoded systemd service path: some of the code ported from
meta-st-openstlinux assumes that the original weston-init systemd services are
installed under /lib, and it uses hardcoded paths to detect them. Yocto 5.0 now
has usrmerge enabled, so the services are installed in /usr/lib instead,
causing the check to fail. Replace the hardcoded path with its respective
variable.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar b2c1d3bcf1 stm-st-stm32mp: packagegroup-dey-gstreamer: reflect change in plugin names
In recent versions of gstreamer, the videoconvert and videoscale plugins were
merged into a single plugin called videoconvertscale.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 82e3dc4d18 firmware-murata-infineon: add SRCREV_FORMAT variable
Yocto 5.0 now requires this variable to be set in recipes where multiple
remote sources are specified

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 0aa695785b layer.conf: reflect change in meta-st-x-linux-ai BBFILE_COLLECTIONS name
In the mickledore branch of this layer, BBFILE_COLLECTIONS was renamed from
stm32mpu-ai to x-linux-ai

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +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
Gabriel Valcazar 8d7680d1d6 global: remove IMAGE_NAME_SUFFIX from IMAGE_LINK_NAME
poky has reworked the format of image names, hardcoding the IMAGE_NAME_SUFFIX
(.rootfs) into IMAGE_LINK_NAME, the name used for image symlinks. This would
only be considered a cosmetic change if it weren't for the fact that we have
scripts and test infrastructure that relies on the old image name format, and
this change would force us to rework it all.

Remove the suffix from the link name to maintain our image name format, and
reflect this name in our custom image type scripts. Note that this removes
".rootfs" from several files, for example:

    * .rootfs.ext4.gz is now .ext4.gz
    * .rootfs.cpio.gz.u-boot.tf is now .cpio.gz.u-boot.tf
    * .rootfs.ubifs is now .ubifs
    * .rootfs.sdcard is now .sdcard

However, symlink names and non-rootfs files (.boot.vfat, .recovery.vfat...)
are unchanged.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 392416efb3 dtc: remove ambiguous BSD license
poky commit 56fe6d575e184ed44807fe27e069233da36962ad removed the BSD license in
favor of using more specific ones. Replace BSD in the dtc recipe with the
correct one, which is BSD-2-Clause

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00