Commit Graph

2647 Commits

Author SHA1 Message Date
Hector Palacios 318374f11d dey-installer: add signed/encrypted bootloader to installer zip
On NXP platforms, the signed/encrypted bootloader images are not
included on the installer ZIP. This prevents from using the installer
when TrustFence is enabled.

This commit adds to the installer:
 - If encryption is enabled
   - encrypted bootloader
   - signed bootloader (for USB recovery boot)
 - If encryption is disabled
   - signed bootloader
 - If TrustFence is disabled
   - non-signed bootloader

It also treats the ccimx6ul special, as this has a dedicated file for
USB recovery boot.

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

https://onedigi.atlassian.net/browse/DEL-9698
2025-07-02 21:17:24 +02:00
Hector Palacios 41810d5c17 installers: add missing ##SIGNED## placeholder to uboot filenames
This gets substituted when TrustFence is enabled to "signed/encrypted"
or removed when TrustFence is disabled.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-07-02 21:17:24 +02:00
Hector Palacios 9672b2a80a installer: uuu: prevent installing encrypted uboot on open device
Programming an encrypted bootloader can only be done after the
secure keys have been programed on the OTP bits, and the device
has been closed. Programming on an open device would result in a
non-secure configuration or a non-bootable device after the
close operation.

Create functions to detect the current TrustFence status and exit
the install script if the device is open and the artifacts are
encrypted.

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

https://onedigi.atlassian.net/browse/DEL-9699
2025-07-02 21:17:24 +02:00
Hector Palacios 01107a1d87 uuu installer: remove -t option and determine by filename
The `-t` option to program images with TrustFence didn't make
much sense because the install script is dynamically generated
at build-time with the name of the boot artifacts containing
"signed/encrypted" on their filenames.

This commit:
 - Removes `-t` option to simplify the script.
 - Determines if programming a signed/encrypted bootloader by
   looking at the bootloader filename.
 - For NXP platforms, reworks the function that updates the
   bootloader to properly program only-signed bootloaders (currently
   wrongly using `trustfence update`)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-07-02 21:17:24 +02:00
Isaac Hermida 1038192b11 linux-dey: tsn: fix tsn kernel support
fix missing option to include the required kernel options for tsn support.
That support was added in commit 37f5db42ac for kernel 6.1, but it
was missed for kernel 6.6.
Add the support to include the required fragment, regardless the kernel
version.
While on it, update the tsn config to match kernel 6.6.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-07-02 18:58:10 +02:00
Arturo Buzarra b460485771 Merge branch 'dey-5.0/master' into dey-5.0/maint
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-02 12:53:57 +02:00
Javier Viguera 35148654c7 u-boot: drop '-dtb' from signed/encrypted image filenames
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-07-01 18:21:13 +02:00
Hector Palacios 5d11be4d2b optee-client: change secure storage and TEE log paths
The default secure storage (/var/lib/tee) is a tmpfs and not persistent
across reboots. Change it to the data partition (/mnt/data/tee) when
TrustFence file system encryption enabled

For the log file, do use the /var/log/ directory instead of default
/data

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

https://onedigi.atlassian.net/browse/DEL-9683
2025-06-27 08:32:18 +02:00
Arturo Buzarra 9f6e78f036 ccmp25-dvk: integrate Sony IMX335 MIPI camera in default device tree
As the OmniVision OV5640 camera is now deprecated and no longer supported by
most vendors, this commit moves its support to a separate Device Tree overlay,
allowing it to be used if needed.

Instead, the Sony IMX335 MIPI camera is integrated into the default device
tree as the default supported camera for the CCMP25-DVK platform.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-06-26 09:13:42 +02:00
Javier Viguera 2cbfe2ae0d tf-a-stm32mp: move TF-A symlink creation to do_deploy
Moved deploy_symlinks_atf from SYSROOT_PREPROCESS_FUNCS to do_deploy task
to ensure symlinks are created correctly even when rebuilding from the
shared state after a "bitbake -c clean tf-a-stm32mp".

Override do_deploy[sstate-outputdirs] from the original recipe to allow
installing both the deploy artifacts (binaries and symlinks) to the
package deploy directory.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-23 17:05:31 +02:00
Hector Palacios f65dc4440e ccmp1: reorder addresses for fitImage binaries
Move the address where the fitImage is loaded after the addresses
where the binaries in it are decompressed. This way, the fitImage
can grow without size restrictions.

The memory map now looks like this:

  0xC0000000    Start of memory
      |
      |           (32 MiB)
      v
  0xC2000000    Kernel loadaddr ($loadaddr)
      |
      |           (32 MiB)
      v
  0xC4000000    DTB/DTBO load address ($fdt_addr)
      |           (4 MiB)
      v
  0xC4400000    Init ram disk ($initrd_addr)
      |
      |
      |           (64 MiB)
      |
      v
  0xC8400000    ZIP/fitImage address ($fit_addr_r)
      |
      ~
      |
      v

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-23 16:19:28 +02:00
Hector Palacios 66c39a590d wic: ccmp1: update TF-A and FIP artifact names to DEY-5.0
- The TF-A binaries now have ${BOOTSCHEME_DEFAULT} in them (optee or
  opteemin)
- The FIP binaries now have ${BOOTSCHEME_DEFAULT}-sdcard in them

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

https://onedigi.atlassian.net/browse/DEL-9678
2025-06-20 20:45:14 +02:00
Gonzalo Ruiz f3c9b3c57a weston-init: wait for a wayland socket before logging in
The login prompt appears before Wayland is fully initialized and
has created a wayland socket.

Logging in too early as root in this scenario caused the
WAYLAND_DISPLAY environment variable to be left empty. As a
consequence, gstreamer failed to use waylandsink to print contents
in the display.

Introduce a 10-seconds polling loop to wait for the wayland socket to
be available before proceeding with the login.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-06-20 10:19:17 +02:00
Javier Viguera 78a1e7864f meta-digi-arm: remove old WolfSSL FIPS support
* Delete custom wolfssl_5.4.0-fips.bb recipe and README.
* Removed WolfSSL dynamic layer registration.

FIPS support is now managed through the external meta-wolfssl layer,
making this implementation unnecessary in meta-digi.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-17 14:05:08 +02:00
Javier Viguera 93c6deb2d8 wolfcryptest: remove bbappend and FIPS patch
The new version in meta-wolfssl does build properly, so this append is
no longer needed.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-17 14:05:08 +02:00
Javier Viguera fcd03fb421 linux-dey: fix duplicate kernel localversion
Yocto added kernel local version support by using the KERNEL_LOCALVERSION
variable. It conflicts with the "fsl-kernel-localversion" class from
the meta-freescale layer, resulting in a duplicated local version in the
kernel release label (uname -r). Use the current Yocto support to avoid
that duplication instead of meta-freescale's class.

This enables further simplification of the 'copy_defconfig' task for NXP
and STM platforms using common code.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-16 17:41:26 +02:00
Hector Palacios 0aed6a9c73 move IMAGE_FSTYPES to digi-defaults.inc
IMAGE_FSTYPES was declared on each platform config file, but it has the
same values for all platforms depending on the storage media (mmc or mtd)
and whether read-only is enabled.

Move the conditional weak assignment to digi-default.inc and remove it from
each platform config.
In the case of STM platforms, since IMAGE_FSTYPES is weak-assigned by STM
layer, we still need to append/remove from it inside the platform config,
but move it to the family includes, rather than declaring it on each
specific platform.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-16 08:35:19 +02:00
Hector Palacios 57f0575ad0 machine: remove 'sdcard.gz' image from default IMAGE_FSTYPES
The generation of the sdcard image takes time and resources, and
it's not involved in the Get Started.
This can be easily re-enabled by appending the variable in the
project local.conf.

Append the variable in the build scripts, to facilitate its usage
on release builds.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-16 08:35:19 +02:00
Arturo Buzarra a20aadbeec bluez5-init: add Bluetooth init script for CCMP1x platforms
The HCI_UART Bluetooth driver does not support suspend-to-RAM operation, so the
driver must be loaded and unloaded manually. This commit adds support for the
Bluetooth initialization script used across Digi platforms, specifically for
ConnectCore MP13 and MP15.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-06-13 13:24:28 +02:00
Hector Palacios ac69566ecd installer: merge USB/SD installers into a single template
The USB and SD installers are U-Boot scripts that are practically
identical.
Merge them into a single template with a couple of machine variables that
determine the default device index in U-Boot for the USB or the microSD
card.

Do dynamic substitutions to create the two installers out of the template.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-12 10:56:57 +02:00
Hector Palacios 5156fe26b3 installers: use if/elif/else to determine rootfs filename
The installer uses the regular rootfs filename or falls back to search
for a squashfs (read-only) rootfs image.
The UUU installers of eMMC-based platforms use an if/elif/else structure
to determine which file exist (in order of preference). Replicate this
structure on the rest of platforms and installers.
This avoids printing an error message if the default rootfs does not exist
but the read-only one does.
Also, reset 'rootfstype' variable if the default rootfs file exists, which
allows to install regular images over a previous read-only system.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2025-06-12 10:56:57 +02:00
Hector Palacios 5271924af7 Revert "tf-a-stm32mp: remove STM32MP_USB_PROGRAMMER support from NAND images"
We reverted the stub that didn't allow PM when serial boot
was enabled  on TF-A. Restore the part of the recipe that
includes USB boot support on NAND boot images.

This reverts commit 24aef482ef.

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

https://onedigi.atlassian.net/browse/DEL-9629
2025-06-10 16:17:45 +02:00
Javier Viguera 0fa18775ad dey-toolchain: fix including machine-specific SDK tools
Fixes commit b143804dbb, since in nativesdk
context MACHINE_FEATURES is reset to SDK_MACHINE_FEATURES, causing OP-TEE
building tools to be missing from the generated SDK.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-06-06 12:30:33 +02:00
Hector Palacios 24aef482ef tf-a-stm32mp: remove STM32MP_USB_PROGRAMMER support from NAND images
Adding STM32MP_USB_PROGRAMMER=1 to TF-A NAND build allows the images to
boot from either NAND or USB (recovery) however, the source code of TF-A
disallows correct resuming from suspend when either STM32MP_USB_PROGRAMMER
or STM32MP_UART_PROGRAMMER are defined.

Remove this support so that the system can correctly resume from suspend.

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

https://onedigi.atlassian.net/browse/DEL-9629
2025-06-04 09:54:56 +02:00
Arturo Buzarra d0dc8282f6 u-boot-dey: safeguard rm operation in adapt_uboot_filenames to prevent build issues
This commit fixes the rm command in the adapt_uboot_filenames function to
prevent build failures when the target artifact does not exist, ensuring the
operation is safe in all cases.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-26 10:36:33 +02:00
Arturo Buzarra 11c34bcbdb u-boot-dey: ccmp1/ccmp2: fix support for inserting signed keys into U-Boot DTB for FIT images
Since commit 29d32063ac0abb1017756f62f94aec22ce305b60 ("u-boot: kernel-fitimage:
Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled") in Poky layer,
the `kernel-fitimage` and `uboot-sign` classes are no longer explicitly
dependent. This change introduced a race condition when inserting the signed
RSA keys into the U-Boot DTB for FIT image verification.

This commit introduces a new step for `do_uboot_assemble_fitimage`, which is
now responsible for injecting the keys into the U-Boot DTB. This logic was
previously handled in the Linux kernel recipe via the `do_assemble_fitimage`
function in previous Yocto versions.

Additionally, a build-time dependency is added between the `do_uboot_assemble_fitimage()`
function and the kernel's `do_kernel_generate_rsa_keys()` task, which is
responsible for generating the RSA keys used to sign the FIT image.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-26 09:48:00 +02:00
Arturo Buzarra 8644348fed stm-st-stm32mp: optee-os: remove CFG_OTP_HUK for Trustfence
Starting with OP-TEE v4.0.0, the use of a test key is no longer supported.
The Hardware Unique Key (HUK) is now always derived from the programmed OTP bits.
As a result, the Digi custom `CFG_OTP_HUK` flag is obsolete and has been removed.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-26 09:48:00 +02:00
Arturo Buzarra 09714323a6 ccmp1: adjust memory layout for FIT image support
This commit updates the memory layout to properly allocate space for the
different FIT image components, while ensuring total memory usage stays below
128 MiB. This avoids overlaps and ensures correct loading on memory-constrained
variants.

Final memory map:

  Start of memory:        #  0xC0000000
                          #   |
                          #   | 32 MiB reserved
                          #   v
  FIT image load address: #  0xC2000000
                          #   |
                          #   | 32 MiB for FIT image
                          #   v
  Kernel load address:    #  0xC4000000
                          #   |
                          #   | 32 MiB for Kernel
                          #   v
  DTB/DTBO load address:  #  0xC6000000
                          #   |
                          #   | Size for DTB/DTBO
                          #   v

Total memory mapped: 96 MiB

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-05-26 09:48:00 +02:00
Gabriel Valcazar e03ef8941c ccmp1: remove spurious UBI/UBIFS images
In theory, we already had the necessary changes to remove these images, but
two things needed tweaking:

    * MULTIUBI_BUILD values use underscores instead of hyphens, so use
      underscores to properly remove the default value inherited from
      BOOTDEVICE_LABELS.
    * STM used to incorporate a custom "stmultiubi" image type in the stm32mp
      builds, but they've replaced this with the upstream "multiubi" type.
      Reflect this change to avoid generating additional UBI/UBIFS images in
      our builds.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-19 10:25:01 +02:00
Gabriel Valcazar e60dbe03cb ccmp15-dvk: bblayers: replace meta-qt5 with meta-qt6
Use Qt6 by default in ccmp15-dvk builds

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-05-16 12:20:40 +02:00
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
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
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
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
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