Commit Graph

2426 Commits

Author SHA1 Message Date
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
Hector Palacios 1624ec2bc2 optee-os-stm32: reduce verbosity of SCP firmware
The SCP firmware introduces too much verbosity (with
timestamp included) in the middle of the boot log
between the TF-A and U-Boot.
Reduce the log and remove compiler flags for errors
on unused variables (banner strings).

This removes the following messages from SCP firmware:

  [    0.000000] SCP-firmware v2.12.0-dev
  [    0.000000]
  [    0.000000] [FWK] Module initialization complete!

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-30 10:55:03 +02:00
Hector Palacios 33ca8bc914 optee-os-stm32mp: reduce verbosity
ST_OPTEE_DEBUG_TRACE is set to 0 if ST_DEBUG_TRACE is set to 0.
However, on the optee source code, if ST_OPTEE_DEBUG_TRACE=0 the
log level is automatically set to 3 (INFO) resulting in a very
verbose optee log.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-30 10:55:03 +02:00
Javier Viguera 570c057a59 ccimx91: disable graphical distro features
The ccimx91 is a headless platform. Disabling those distro features
prevents building/installing packages that are useless (e.g. gstreamer)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-27 10:00:44 +02:00
Arturo Buzarra 5fabf75615 switch to building from maintenance branches
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-25 16:36:48 +02:00
Arturo Buzarra 53b9fd076d Merge branch 'dey-4.0/master' into dey-4.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-25 15:53:50 +02:00
Arturo Buzarra d46b202277 linux-dey-6.1: add different SRCREV for NXP and STM platforms
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-25 14:34:21 +02:00
Mike Engel fe9e0d701a boot: change linux and recovery partition UUID for single mode
This commit changes the linux and recovery UUID when booting
the system in single mode.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-23 17:55:48 +02:00
Isaac Hermida 44f9fa0616 alsa-state: ccmp1: fix control settings
Fix the control settings as set by alsactl. There was a missmatch
and therefore the configuration applied was incorrect.

https://onedigi.atlassian.net/browse/DEL-8703
https://onedigi.atlassian.net/browse/DEL-9246

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-20 16:52:55 +02:00
Isaac Hermida 23ff040fc1 alsa-state: ccmp25: configure settings
Some settings were incorrectly set. Align the card settings with the
same values used in our other platforms.

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-20 16:52:55 +02:00
Arturo Buzarra 0d685efc41 ccmp25-dvk: add flag to support virtual wireless interfaces
CYW55512 Wireless chip supports concurrent modes and virtual wireless
interfaces like SotfAP and P2P.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-19 13:37:01 +02:00
Gabriel Valcazar 6a6e2577f1 ccmp2: don't execute task that generates flashlayout files
These are files for programming images with STM32CubeProgrammer tool. We don't
use the tool or the files. Disable the task to avoid build warnings, just like
we do for the ccmp1 platforms.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-19 09:56:05 +02:00
Gabriel Valcazar a481d7225d ccmp1: change the way we disable the generation of flashlayout files
Instead of manually disabling the task, use the ENABLE_FLASHLAYOUT_CONFIG
variable which is meant for that exact purpose.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-09-18 18:15:35 +02:00
Hector Palacios 52eda79fb7 trustfence-stm-signtools: update recipe and package to latest versions
Updated package with latest versions from ST Ecosystem 5.1:
 - STM32MP_KeyGen_CLI		v2.17.0
 - STM32MP_SigningTool_CLI	v2.17.0

Changed dependency libraries in the package:
 - libcrypto.so.1.0.0 -> libcrypto.so.1.1
 - libQt5Core.so.6    -> libQt6Core.so.6

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-18 18:12:52 +02:00
Javier Viguera 5adb109b62 ccimx91: configure platform as headless
This removes the psplash package from "core-image" images, which
prevents this failure onn boot:

[FAILED] Failed to start Start psplash boot splash screen.
psplash[454]: Error opening /dev/fb0

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-09-17 18:24:36 +02:00
Hector Palacios d545fe0a14 ccmp25-dvk: default to use dey-image-webkit on installers
This image is the one that contains the Get Started demo.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2024-09-17 16:27:29 +02:00
Francisco Gil e183f47816 ccimx9: bootscript: add logic to emulate a ccimx91 on a ccimx93
Based on the environment variable emulate-cc91:

* Limit the ram memory to 512MB
* Enable the overlay _ov_som_emulate-ccimx91_ccimx93.dtbo
* Disable the npu node

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-17 08:29:41 +02:00
Francisco Gil 87f26ec0bc ccmp25-dvk: fix mount point for OVERLAYFS in read-only systems
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-09-12 08:52:59 +02:00
Isaac Hermida b5ccc9f841 ccimx93: uboot bootscript: fix NPU overlay
When consolidating the bootscript, the variable soc_type was misspelled.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2024-09-10 12:02:59 +02:00
Arturo Buzarra f28dd88ab0 firmware-murata-infineon: add support to CYW55512 Wifi-BT single-chip combo
This commit adds support for pre-release firmware that is not ready for
production devices.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-09-06 10:18:07 +02:00
Mike Engel 1699adc373 sdcard: add support to create sdcard image for CCMP2
This commit adds the necessary wks file to create an SDcard
image for the CCMP2.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 11:38:34 +02:00
Mike Engel 11426fcb5b recovery: add initramfs into FIT recovery image
This commit adds the initramfs into the FIT recovery
image. If the RAM disk image is included in the FIT
image we need to create a initramfs file that doesn't
include the u-boot header, because the FIT descriptor
contains all the necessary information to use the
initramfs file.

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

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
2024-09-04 11:34:40 +02:00
Javier Viguera 542a9aa83e iw61x wifi: use NXP's lf-6.6.23-2.0.0 on ccimx91
Both for the driver code and the firmware files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-30 16:51:40 +02:00
Javier Viguera 9c6ac2e7b8 linux-dey: add recipe for version 6.6 restricted to ccimx91
While on it, restrict recipe version 6.1 to ccimx93 so it does not get
used by ccimx91.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2024-08-30 16:47:33 +02:00
Francisco Gil 6399d0ef32 ccimx93-dvk: add overlay to simulate ccimx91
https://onedigi.atlassian.net/browse/DEL-9175

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2024-08-28 11:04:04 +02:00