Commit Graph

2450 Commits

Author SHA1 Message Date
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
Gabriel Valcazar eca9ddc1d9 firmware-atheros/firmware-qualcomm: remove hardcoded /lib in FILES paths
Our do_install() places all firmware files inside of the path in the
{base_libdir} variable, but we were hardcoding /lib in FILES. This is an issue
when using the usrmerge distro feature, because {base_libdir} becomes /usr/lib
instead of /lib. This was causing these recipes to fail.

Fix this by using {base_libdir} in FILES so that it matches do_install().

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 f6d91b9022 mca-tool/trustfence-tool: don't install files in /sbin when usrmerge is enabled
These recipes install binaries inside of /sbin, which causes QA errors when
usrmerge is enabled in DISTRO_FEATURES. Said feature is now required for
Yocto 5.0's version of systemd, so keep using the same versions of the tools
and simply move the binaries to /usr/sbin if needed.

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 facda40624 global: use strong assignments when setting INIT_MANAGER
This variable now has a weak assignment in poky with the default value
"sysvinit", which was overriding our weak assignments.

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 41c8616765 global: replace firmware-nxp-wifi-nxpiw612 with firmware-nxp-wifi-nxpiw612-sdio
This is the official name of the package provided by the firmware-nxp-wifi
recipe in meta-freescale

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 253304ede7 u-boot-tools: remove upstreamed fdt_add_pubkey patches
These patches were originally backported from U-Boot v2023.07, and now that
u-boot-tools is using v2024.01, they are no longer needed

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 cfb5906aa5 linux-libc-headers: upgrade bbappend to 6.6
This is the version of the recipe provided by poky in Yocto 5.0 scarthgap

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 295d63d3c9 meta-digi-dey: layer.conf: sync FSL EULA checksums with scarthgap-6.6.23-2.0.0
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 a7f48d2574 meta-digi-arm: classes: sync with meta-imx
Sync with the scarthgap-6.6.23-2.0.0 branch of meta-imx, add a few changes to
fsl-eula2-unpack and add a new bbclass fsl-eula-recent

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 93b163a5b7 imx-digi-base.inc: sync with imx-base.inc in scarthgap branch of meta-freescale
Remove ccimx9-specific versions from the ccimx9 machine file and use the same
package versions for all platforms, except where noted explicitly in
imx-base.inc. Also, reflect the latest ported changes from meta-imx.

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 67cdf29f59 freescale-layer: firmware-ele-imx: install i.MX93 A0 fw from 0.1.0 package
firmware-ele-imx no longer provides a firmware file for this revision of the
SoC, so if we want to keep supporting it, we need to port the firmware file
that we were using in DEY 4.0.

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 c8b8edd9e7 freescale-layer: nxp-wlan-sdk: sync with meta-imx scarthgap-6.6.23-2.0.0
Port the latest changes from meta-imx.

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 2fb01c8f3e freescale-layer: imx-atf: adapt patches for 2.10
While at it, add the "Upstream-Status" tag to the patches to avoid QA errors

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 554729c92d freescale-layer: imx-boot: sync with meta-freescale/meta-imx
Since our recipes handle native builds differently, port the latest version
of the recipes from meta-freescale to our layer while keeping our
customizations. Use the same revision for all platforms.

Adapt patches for lf-6.6.23-2.0.0 release and add the "Upstream-Status" tag to
them to avoid QA errors.

For now, use the imx-boot recipe from meta-freescale, but there's a chance we
might need to port the version of the recipe in meta-imx.

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 694cab41ff freescale-layer: imx-secure-enclave: sync with meta-imx
Port the files from the scarthgap-6.6.23-2.0.0 branch of meta-imx

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 da3f86e890 freescale-layer: imx-vpu-hantro: sync with meta-imx scarthgap-6.6.23-2.0.0
Port the latest recipes from meta-imx.

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 0486ceb29f freescale-layer: udev-rules-imx: sync 10-imx.rules with meta-imx
Synchronize with the file in the scarthgap-6.6.23-2.0.0 branch of meta-imx

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 70318e2d21 freescale-layer: optee-client: sync with meta-freescale
The 4.2.0.imx recipe has been upstreamed, so merge our 4.0.0.imx and 4.2.0.imx
recipes into a single .bbappend file. Keep our systemd service fix

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 63ac1e3ad3 freescale-layer: optee-os: sync with meta-freescale
The recipe for 4.2.0.imx has been upstreamed, so merge both of our .bb files
for 4.0.0.imx and 4.2.0.imx into a single .bbappend file. Adapt our patches to
support the ccimx93 and ccimx91, and while at it, add the "Upstream-Status"
tag to them to avoid QA errors

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 ab6f1a6448 freescale-layer: opencv: update to 4.9.0.imx
Port the recipe from the scarthgap-6.6.23-2.0.0 branch of meta-imx,
meta-freescale is still using 4.6.0. Add the "Upstream-Status" tag to all of
the patches to avoid QA errors.

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 e19724efcd freescale-layer: remove upstreamed imx recipes and modifications
Back in Yocto 4.0, we applied some imx recipe changes exclusively for the
ccimx93 from meta-imx's rel_imx_6.1.55_2.2.0 tag, but now these changes have
been upstreamed in the meta-freescale scarthgap branch. Since there currently
isn't an NXP BSP based on scarthgap, make all platforms use the upstreamed
versions of the recipes, which are the same versions or newer as the ones
available in meta-imx

Remove the recipes for:
    * firmware-ele-imx
    * gstreamer1.0-plugins-bad
    * gstreamer1.0-plugins-base
    * gstreamer1.0-plugins-good
    * gstreamer1.0-plugins-good
    * gstreamer1.0-plugins-ugly
    * gstreamer1.0
    * imx-atf
    * imx-boot-firmware-files
    * imx-codec
    * imx-g2d-samples
    * imx-m33-demos
    * imx-m4-demos
    * imx-m7-demos
    * imx-parser
    * imx-pxp-g2d
    * libdrm
    * linux-imx-headers
    * optee-test
    * wayland
    * wayland-protocols
    * weston
    * xwayland

Apply these changes:
    * Remove ccimx93-exclusive changes in gstreamer1.0-meta-base
    * Modify imx-gst1.0-plugin bbappend so the upstream version is used in all
      platforms
    * Remove imx-alsa-plugins bbappend so the upstream version is used in all
      platforms
    * Remove firmware-nxp-wifi bbappend since the files we need to install seem
      to already be included in the meta-freescale recipe
    * Remove imx-test and imx-lib bbappends since our custom changes have
      already been included in the meta-freescale recipes

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 8e012620a9 layer.conf: switch compatibility form Yocto 4.0 (Kirkstone) to 5.0 (Scarthgap)
https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Gabriel Valcazar bd7e84d8b3 global: reflect changes in community layer names after Yocto 5.0 migration
* meta-ml was renamed to meta-imx-ml, and its BBFILE_COLLECTIONS was renamed to
  imx-machine-learning
* meta-st-stm32mpu-ai was renamed to meta-st-x-linux-ai

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Gabriel Valcazar b8f865797f local.conf.sample: sync with Yocto 5.0 (Scarthgap) template in poky
https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Gabriel Valcazar b9f46a9100 sdk: move templates to conf/templates in preparation for Yocto 5.0 (Scarthgap)
Starting in poky commit 8791c77a4098d62080ecad09d94718eccd7f1a47, there is
now a check to make sure TEMPLATECONF follows specific rules. If we don't abide
by them, an error will occur when creating a project with our mkproject.sh
script. Move the templates to the place they're supposed to be in and reflect
the change in mkproject.sh.

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

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 11:28:26 +02:00
Javier Viguera bdbe657578 Merge branch 'dey-4.0/maint' into dey-4.0/master
This merges back release 'dey-4.0-r7.2' + a few more fixes after the
tag.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-16 16:28:40 +02:00
Arturo Buzarra ed8113d99b meta-digi: revert revisions to AUTOREV
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-08 12:00:57 +02:00
Arturo Buzarra 46f15efff2 meta-digi: update revisions for dey-4.0-r7.2
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-08 12:00:57 +02:00
Javier Viguera 674d012e36 ccimx93: add support for single core 512M variants
https://onedigi.atlassian.net/browse/DEL-9221

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-03 18:13:36 +02:00
Arturo Buzarra adb6a37e61 ccmp25-dvk: fix overlay name for Sony imx335 MIPI-CSI camera
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-03 10:04:56 +02:00
Arturo Buzarra 81ab1ccfd9 ccmp25-dvk: add overlay to support Sony imx355 MIPI-CSI camera
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-10-02 17:03:09 +02:00
Francisco Gil d9ef21b3d0 meta-digi: revert revisions to AUTOREV
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-30 16:39:57 +02:00
Francisco Gil c179cd862c meta-digi: update revisions for dey-4.0-r7.1
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-30 16:38:44 +02:00