optee: Update to 4.7.0 tag
PATCH v3 1/1 optee: Update to 4.7.0 tag
Update optee_client, optee_examples, optee_os and optee_test to the newer 4.7.0 tag from the previous 4.6.0 one.
Further: meta-arm applies 0003-optee-enable-clang-support patch to optee_os. However, in a recent upstream commit [0], the line to which the patch applies was removed. Therefore the patch is no longer required. As a result, tell optee_os.bbappend file to remove it.
[0] https://github.com/OP-TEE/optee_os/commit/3d5c2dd8b59ae888434b3f86842828131f115d90
---
changes from v2:
- Updated SRCREV, so that the TRNG commit is included.
--- .../recipes-security/optee/optee-client-ti-version.inc | 4 ++-- .../recipes-security/optee/optee-examples-ti-version.inc | 4 ++-- .../recipes-security/optee/optee-os-tadevkit_%.bbappend | 4 ++++ meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc | 5 ++--- meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 4 ++++ meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc | 4 ++-- 6 files changed, 16 insertions(+), 9 deletions(-)
meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc +2 -2
@@ -1,2 +1,2 @@ -PV = "4.6.0+git" -SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75" +PV = "4.7.0+git" +SRCREV = "23c112a6f05cc5e39bd4aaf52ad515cad532237d"
meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc +2 -2
@@ -1,2 +1,2 @@ -PV = "4.6.0+git" -SRCREV = "5306d2c7c618bb4a91df17a2d5d79ae4701af4a3" +PV = "4.7.0+git" +SRCREV = "14321a0607db16099d158478b21a2b2e37b3a935"
meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend +4 -0
@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION} OPTEE_TI_OVERRIDES = "" OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" +SRC_URI:remove = " \ + file://0003-optee-enable-clang-support.patch \ +" + require ${OPTEE_TI_OVERRIDES}
meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc +2 -3
@@ -1,6 +1,5 @@ -PV = "4.6.0+git" -SRCREV = "71785645fa6ce42db40dbf5a54e0eaedc4f61591" - +PV = "4.7.0+git" +SRCREV = "a9690ae39995af36a31b7a4f446f27ea0787e3a4" SRC_URI:remove = " \ file://0001-checkconf.mk-do-not-use-full-path-to-generate-guard-.patch \ file://0001-arm64.h-fix-compile-error-with-Clang.patch \
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +4 -0
@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION} OPTEE_TI_OVERRIDES = "" OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" +SRC_URI:remove = " \ + file://0003-optee-enable-clang-support.patch \ +" + require ${OPTEE_TI_OVERRIDES}
meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc +2 -2
@@ -1,7 +1,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560" -PV = "4.6.0+git" -SRCREV = "a9e9495f4d57b97022008ad11198195e7e044c5d" +PV = "4.7.0+git" +SRCREV = "a15be9eca1b7e935917d834284726027dffc8cfb" SRC_URI:remove = " \ file://0001-xtest-stats-remove-unneeded-stat.h-include.patch \
Signature · 1 line
2.40.0
meta-ti / na / 20250912122406.523659-1-s-joshi
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][scarthgap][PATCH v3] optee: Update to 4.7.0 tag
WARN: Commit message does not include file/recipe name: optee: Update to 4.7.0 tag. (COMMIT-MESSAGE-2)
patch
WARN: Revised patch missing a comment. (REVISION-1)
patch
=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][scarthgap][PATCH v3] optee: Update to 4.7.0 tag
- Submitter: From: Suhaas Joshi <[email protected]>
- Date: Date: Fri, 12 Sep 2025 17:54:06 +0530
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: a4f0ef1f1a00b855554b157da84e610b4a24eafc
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: scarthgap-wip
- Commit Author: Moteen Shah <[email protected]>
- Commit Subject: meta-ti-bsp: wic: Add a new GRUB config for ti platforms
- Commit SHA: 72dd3f4788ad8d3bff53c939eb0c2f7f258a6fcc
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
scarthgap
=====================
PASS
Quoted 85 lines · Suhaas Joshi
Update
optee_client,optee_examples,optee_osandoptee_testto the newer 4.7.0 tag from the previous 4.6.0 one.Further: meta-arm applies 0003-optee-enable-clang-support patch to
optee_os. However, in a recent upstream commit [0], the line to which the patch applies was removed. Therefore the patch is no longer required. As a result, tell optee_os.bbappend file to remove it.[0] https://github.com/OP-TEE/optee_os/commit/3d5c2dd8b59ae888434b3f86842828131f115d90
Signed-off-by Suhaas Joshi <[email protected]>---
changes from v2:
- Updated SRCREV, so that the TRNG commit is included.--- .../recipes-security/optee/optee-client-ti-version.inc | 4 ++-- .../recipes-security/optee/optee-examples-ti-version.inc | 4 ++-- .../recipes-security/optee/optee-os-tadevkit_%.bbappend | 4 ++++ meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc | 5 ++--- meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 4 ++++ meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc | 4 ++-- 6 files changed, 16 insertions(+), 9 deletions(-)meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc +2
-2@@ -1,2 +1,2 @@ -PV = "4.6.0+git" -SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75" +PV = "4.7.0+git" +SRCREV = "23c112a6f05cc5e39bd4aaf52ad515cad532237d"meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc +2
-2@@ -1,2 +1,2 @@ -PV = "4.6.0+git" -SRCREV = "5306d2c7c618bb4a91df17a2d5d79ae4701af4a3" +PV = "4.7.0+git" +SRCREV = "14321a0607db16099d158478b21a2b2e37b3a935"meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend +4
-0@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION} OPTEE_TI_OVERRIDES = "" OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" +SRC_URI:remove = " \ + file://0003-optee-enable-clang-support.patch \ +" + require ${OPTEE_TI_OVERRIDES}meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc +2
-3@@ -1,6 +1,5 @@ -PV = "4.6.0+git" -SRCREV = "71785645fa6ce42db40dbf5a54e0eaedc4f61591" - +PV = "4.7.0+git" +SRCREV = "a9690ae39995af36a31b7a4f446f27ea0787e3a4" SRC_URI:remove = " \ file://0001-checkconf.mk-do-not-use-full-path-to-generate-guard-.patch \ file://0001-arm64.h-fix-compile-error-with-Clang.patch \meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +4
-0@@ -6,4 +6,8 @@ require ${OPTEE_TI_VERSION} OPTEE_TI_OVERRIDES = "" OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" +SRC_URI:remove = " \ + file://0003-optee-enable-clang-support.patch \ +" + require ${OPTEE_TI_OVERRIDES}meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc +0
-0
meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc line 7
Quoted 9 lines
meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc +2
-2@@ -1,7 +1,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560" -PV = "4.6.0+git" -SRCREV = "a9e9495f4d57b97022008ad11198195e7e044c5d" +PV = "4.7.0+git" +SRCREV = "a15be9eca1b7e935917d834284726027dffc8cfb" SRC_URI:remove = " \ file://0001-xtest-stats-remove-unneeded-stat.h-include.patch \
Tested these changes on AM62P. Logs:
https://gist.github.com/jsuhaas22/67792bfda3f43146a6b8928f40fb72c7
Thanks
Suhaas
Quoted 3 lines
Signature · 1 line
2.40.0