Skip to contentSkip to conversation

configs/stm32mp1*_dk*: bump OP-TEE to 4.9.0 and TF-A to LTS 2.12

PATCH Applied Raphaël Gallais-Pou 2 participants 2 messages Jun 4 – Jul 12 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/stm32mp1*_dk*: bump OP-TEE to 4.9.0 and TF-A to LTS 2.12

Bump TF-A LTS LTS version to 2.12 for:

- stm32mp135f_dk_defconfig
- stm32mp157a_dk1_defconfig
- stm32mp157c_dk2_defconfig

Bump the OP-TEE version to 4.9.0 for:

- stm32mp135f_dk_defconfig

Tested on STM32MP135F-DK and STM32MP157C-DK2 boards.

While at it, fix the below U-Boot build error by adding BR2_TARGET_UBOOT_NEEDS_DTC=y for:

- stm32mp135f_dk_defconfig
- stm32mp157a_dk1_defconfig

/usr/bin/ld : scripts/dtc/yamltree.o : dans la fonction « yaml_propval_int » :
yamltree.c:(.text+0x151) : référence indéfinie vers « yaml_sequence_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x15e) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x1d4) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x1e3) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x275) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x2d6) : référence indéfinie vers « yaml_sequence_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x2e3) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : scripts/dtc/yamltree.o : dans la fonction « yaml_tree » :
yamltree.c:(.text+0x43b) : référence indéfinie vers « yaml_mapping_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x446) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x4d9) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x4e9) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x525) : référence indéfinie vers « yaml_sequence_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x532) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x5e3) : référence indéfinie vers « yaml_sequence_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x5f0) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x692) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x6a2) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x799) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x7a6) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x7cc) : référence indéfinie vers « yaml_mapping_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x7d7) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0x839) : référence indéfinie vers « yaml_scalar_event_initialize » /usr/bin/ld : yamltree.c:(.text+0x849) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : scripts/dtc/yamltree.o : dans la fonction « dt_to_yaml » :
yamltree.c:(.text+0x9f6) : référence indéfinie vers « yaml_emitter_initialize » /usr/bin/ld : yamltree.c:(.text+0xa03) : référence indéfinie vers « yaml_emitter_set_output_file » /usr/bin/ld : yamltree.c:(.text+0xa10) : référence indéfinie vers « yaml_stream_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xa1d) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xa36) : référence indéfinie vers « yaml_document_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xa43) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xa64) : référence indéfinie vers « yaml_sequence_start_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xa71) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xa8f) : référence indéfinie vers « yaml_sequence_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xa9c) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xaae) : référence indéfinie vers « yaml_document_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xabb) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xacb) : référence indéfinie vers « yaml_stream_end_event_initialize » /usr/bin/ld : yamltree.c:(.text+0xad8) : référence indéfinie vers « yaml_emitter_emit » /usr/bin/ld : yamltree.c:(.text+0xae6) : référence indéfinie vers « yaml_emitter_delete »

---
 .../common/stm32mp1xx/patches/optee-client/optee-client.hash         | 2 +-
 .../common/stm32mp1xx/patches/optee-os/optee-os.hash                 | 2 +-
 configs/stm32mp135f_dk_defconfig                                     | 5 +++--
 configs/stm32mp157a_dk1_defconfig                                    | 3 ++-
 configs/stm32mp157c_dk2_defconfig                                    | 2 +-
 5 files changed, 8 insertions(+), 6 deletions(-)
board/stmicroelectronics/common/stm32mp1xx/patches/optee-client/optee-client.hash +1 -1
index 5423bf93a580..379bbfea65e8 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  a9a91bdb433df795c87a6d15198effbd648e3671ae611f2a3f8b41229d61cce0  optee-client-4.3.0.tar.gz
+sha256  2ef152f25b682e59c3684d6d73d7c5a138495615f6b045e95266eb3d0bc0d04e  optee-client-4.9.0.tar.gz
board/stmicroelectronics/common/stm32mp1xx/patches/optee-os/optee-os.hash +1 -1
index 2e12a5cdea78..3f5c58fcffa9 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  390b271905c828d6def9fa6a77bbaa425f3b434d733c8eb18f582ccbc6896096  optee-os-4.3.0.tar.gz
+sha256  9400e16c45bfa45f15585b2c933b86c449e7de05def0ecaaa62a4f38973a3a45  optee-os-4.9.0.tar.gz
configs/stm32mp135f_dk_defconfig +3 -2
index 7aa3f8c752ea..a39bf0658b6c 100644
@@ -23,7 +23,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_10_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_12_VERSION=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
@@ -35,7 +35,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="fip.bin *.stm32"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
 BR2_TARGET_OPTEE_OS=y
 BR2_TARGET_OPTEE_OS_CUSTOM_VERSION=y
-BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE="4.3.0"
+BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE="4.9.0"
 BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY=y
 BR2_TARGET_OPTEE_OS_PLATFORM="stm32mp1"
 BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR="135F_DK"
@@ -44,6 +44,7 @@ BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.04"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp13"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
configs/stm32mp157a_dk1_defconfig +2 -1
index a11f0e65e2dd..77f77aa5801f 100644
@@ -20,7 +20,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_10_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_12_VERSION=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
@@ -34,6 +34,7 @@ BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.04"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
configs/stm32mp157c_dk2_defconfig +1 -1
index beb7d81d30bb..414aba6a68f1 100644
@@ -20,7 +20,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_10_VERSION=y
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_LTS_2_12_VERSION=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y

---
base-commit: 0b168816cd85698ffb377bc1e06333d57a2ab4e4
change-id: 20260604-mp1_update-3149b0c2c54b

Best regards,

Signature · 6 lines
Raphaël Gallais-Pou <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Raphaël Gallais-Pou

Bump TF-A LTS LTS version to 2.12 for:

- stm32mp135f_dk_defconfig
- stm32mp157a_dk1_defconfig
- stm32mp157c_dk2_defconfig

Bump the OP-TEE version to 4.9.0 for:

- stm32mp135f_dk_defconfig

Tested on STM32MP135F-DK and STM32MP157C-DK2 boards.

[...]

Quoted 1 line

Applied to master, thanks.

For info, I changed the uboot build error log to english in commit log. I also added BR2_TARGET_UBOOT_NEEDS_DTC=y in stm32mp157c_dk2_defconfig. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/fe8221fb4e003bf020b6817b7f33764209ed0b59

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot