Skip to contentSkip to conversation

optee: Update to upstream 4.0.0

PATCH New Ryan Eatmon 1 participant 1 message Oct 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 optee: Update to upstream 4.0.0

Update all of the optee components to the upstream 4.0.0 version.

---
v2: Added patch updates that meta-arm upstream has not run into yet.

 .../optee/optee-client-ti.inc                 |   7 +
 .../optee/optee-client_%.bbappend             |   4 +
 .../optee/optee-examples-ti.inc               |   2 +
 .../optee/optee-examples_%.bbappend           |   4 +
 ...-Define-section-attributes-for-clang.patch | 249 ++++++++++++++++++
 .../optee/optee-os-tadevkit-ti.inc            |   8 +
 .../recipes-security/optee/optee-os-ti.inc    |   8 +
 .../recipes-security/optee/optee-test-ti.inc  |   6 +
 .../optee/optee-test_%.bbappend               |   4 +
 9 files changed, 292 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-client-ti.inc
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-examples-ti.inc
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-test-ti.inc
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend
meta-ti-bsp/recipes-security/optee/optee-client-ti.inc new file +7 -0
new file mode 100644
index 00000000..f64a90c3
@@ -0,0 +1,7 @@
+PV = "4.0.0+git${SRCPV}"
+SRCREV = "acb0885c117e73cb6c5c9b1dd9054cb3f93507ee"
+
+inherit pkgconfig
+DEPENDS += "util-linux"
+
+EXTRA_OEMAKE += "PKG_CONFIG=pkg-config"
meta-ti-bsp/recipes-security/optee/optee-client_%.bbappend new file +4 -0
new file mode 100644
index 00000000..08c5256b
@@ -0,0 +1,4 @@
+OPTEE_TI = ""
+OPTEE_TI:ti-soc = "${BPN}-ti.inc"
+
+require ${OPTEE_TI}
meta-ti-bsp/recipes-security/optee/optee-examples-ti.inc new file +2 -0
new file mode 100644
index 00000000..d6ddc907
@@ -0,0 +1,2 @@
+PV = "4.0.0+git${SRCPV}"
+SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend new file +4 -0
new file mode 100644
index 00000000..08c5256b
@@ -0,0 +1,4 @@
+OPTEE_TI = ""
+OPTEE_TI:ti-soc = "${BPN}-ti.inc"
+
+require ${OPTEE_TI}
meta-ti-bsp/recipes-security/optee/optee-os-4.0.0/0002ti-core-Define-section-attributes-for-clang.patch new file +249 -0

249 lines not on this page · raw message

meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti.inc +8 -0
index df46e243..55453366 100644
@@ -1 +1,9 @@
+PV = "4.0.0+git${SRCPV}"
+SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6"
+
+# Fixes for pointing to 4.0.0 before upstream meta-arm
+FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:"
+SRC_URI:remove = "file://0002-core-Define-section-attributes-for-clang.patch"
+SRC_URI:append = " file://0002ti-core-Define-section-attributes-for-clang.patch"
+
 EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
meta-ti-bsp/recipes-security/optee/optee-os-ti.inc +8 -0
index de13d282..6d192bbe 100644
@@ -1,3 +1,11 @@
+PV = "4.0.0+git${SRCPV}"
+SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6"
+
+# Fixes for pointing to 4.0.0 before upstream meta-arm
+FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:"
+SRC_URI:remove = "file://0002-core-Define-section-attributes-for-clang.patch"
+SRC_URI:append = " file://0002ti-core-Define-section-attributes-for-clang.patch"
+
 # Use TI SECDEV for signing
 inherit ti-secdev
 
meta-ti-bsp/recipes-security/optee/optee-test-ti.inc new file +6 -0
new file mode 100644
index 00000000..1dea1fbd
@@ -0,0 +1,6 @@
+PV = "4.0.0+git${SRCPV}"
+SRCREV = "1c3d6be5eaa6174e3dbabf60928d15628e39b994"
+
+# Fixes for pointing to 4.0.0 before upstream meta-arm
+SRC_URI:remove = "file://0001-xtest-regression_1000-remove-unneeded-stat.h-include.patch"
+
meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend new file +4 -0
new file mode 100644
index 00000000..08c5256b
@@ -0,0 +1,4 @@
+OPTEE_TI = ""
+OPTEE_TI:ti-soc = "${BPN}-ti.inc"
+
+require ${OPTEE_TI}
Signature · 1 line
2.17.1