Commit Graph

4736 Commits

Author SHA1 Message Date
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 25c952119d ppp: upgrade bbappend to 2.5.0
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 c20e722636 bluez5: adapt bbappend to 5.72
This is the version of the recipe provided by poky in Yocto 5.0 scarthgap.
Aside from updating the verison number, explicitly create /etc/bluetooth
directory during installation.

The creation of this directory was removed from the recipe's base do_install()
in poky (see poky commit 55692591227eaac2d50ab339eea87ddca395f6df), so we need
to create it in our bbappend to be able to add files to it.

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 99d488e2eb busybox: upgrade bbappend to 1.36.%
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 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 26e7365005 imx-machine-learning: ethos-u-firmware: sync with meta-imx
Sync with the scarthgap-6.6.23-2.0.0 branch of meta-imx by transforming the bb
file into a bbappend that only contains our customizations

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 f812cbb9b8 imx-machine-learning: tensorflow-lite-ethosu-delegate: remove backported patch
The patch is now included in the latest available version, 2.15.

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 8a5b1594b0 imx-machine-learning: remove recipe for cmake-native 3.25.2
Use the version currently available in poky, which is 3.28.3

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 3316853054 imx-machine-learning: remove code related to deepview-rt
Starting in rel_imx_6.1.36_2.1.0, this functionality is no longer provided by
meta-imx-ml

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 2c14fd36a5 imx-machine-learning: remove backported meta-imx-ml recipes
Back in Yocto 4.0, we backported some ml recipes exclusively for the ccimx93
from meta-imx's rel_imx_6.1.55_2.2.0 tag, but now we simply use what's provided
in the scarthgap-6.6.23-2.0.0 branch of meta-imx. Reflect this in
imx-digi-base.inc.

Remove the recipes for:
    * arm-compute-library
    * eiq-examples
    * ethos-u-driver-stack
    * ethos-u-vela
    * flatbuffers
    * onnxruntime
    * tensorflow-lite

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 2d6ab24a6a freescale-layer: wayland: port patches from scarthgap-6.6.23-2.0.0 meta-imx
All wayland-related recipes save for these patches are already available 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 d7ee944abb freescale-layer: 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-9081

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-17 13:03:37 +02:00
Gabriel Valcazar 86d1dd0596 freescale-layer: imx-gst1.0-plugin: adapt patches for MM_04.09.00_2405_L6.6.y
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 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 36e9247a66 freescale-layer: libgpuperfcnt: update to 6.4.11.p2.6
Port the recipes 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 782b20958a freescale-layer: imx-gpu-viv: sync with meta-imx scarthgap-6.6.23-2.0.0
Even though these recipes are technically available in meta-freescale, the
imx-gpu-viv-6-overrides.inc file from meta-imx isn't. Port it and include it in
our recipes to make sure we have all of the iMX BSP customizations.

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 a007862f80 freescale-layer: remove deprecated ml-security
This recipe was removed by NXP in their rel_imx_6.1.22_2.0.0 release

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 3bf7a683ae freescale-layer: nxp-afe: update to latest revision in meta-imx
Port the recipes 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 85f03852c2 freescale-layer: weston-init: adapt to scarthgap
A lot of the imx93-specific changes have been upstreamed to meta-freescale, and
this version is now used in all platforms, so we don't need to include
version-specific code (for example, to manage weston-socket.sh).

Also, update our do_install:append() to match the one in meta-imx, while
keeping our customizations.

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 8699ce656c freescale-layer: weston: change bbappend version from 11.0.3.imx to 12.0.4.imx
Adapt patches and 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 6f3e28d9f6 freescale-layer: wayland: change bbappend version from 1.20.0 to 1.22.0
Reflect recipe upgrade in poky

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 639c176911 dey.conf: reflect upgrade to 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 a1f0317fa6 README.md: update to 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:17 +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
Francisco Gil e586f50bd4 cccs: fix name of the package to remove in read-only filesystems
The package name has changed due to commit 52287bf6be.
This fix makes use of the Yocto variable `REMOVE_POSTINST_RPN`,
which holds the target name for the `remove-pkg-postinst-ontarget`
class.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-10-11 14:57:14 +02:00
Francisco Gil 97d8740fb2 ccmp25: swupdate: fix hardcoded index in fwupdate strategy
https://onedigi.atlassian.net/browse/DEL-9228

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-10-11 14:57:14 +02:00
Francisco Gil 7c543bbafb ccmp25: swupdate: remove unnecessary logic in the script
The rdiff update is only available for dual-boot systems,
and it is checked at the beginning of the process.
We can remove the related logic and some variables in the
script.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>

# Conflicts:
#	meta-digi-dey/recipes-digi/swu-images/files/update_rdiff.sh
2024-10-11 14:57:14 +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
Hector Palacios d1105835e2 dey.conf: bump DEY_BUILD version
Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-9291
2024-10-08 12:00:57 +02:00
Javier Viguera 548adca09b eiq-examples: use yocto provided native python
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-04 12:34:22 +02:00
Javier Viguera da37858d80 eiq-examples: fix dependence on vela native tool
The recipe level DEPENDS on ethos-u-vela-native is insufficient to ensure
the native vela tool population into the eiq-examples recipe sysroot
native directory before use. The new download_transform_models task uses
that tool, so add the dependence on the task to ensure it is available
before use.

While on it, configure the working directory of the new task using the
Yocto way (using task[dirs]).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-10-04 11:53:27 +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