Skip to contentSkip to conversation

optee-os: Upgrade to upstream 3.18.0

PATCH Superseded Andrew Davis 3 participants 6 messages Aug 26, 2022 – Sep 1, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 optee-os: Upgrade to upstream 3.18.0

Update to the latest upstream master which is 3.18.0.

---
 recipes-security/optee/optee-os_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/optee/optee-os_%.bbappend +2 -2
index 5a25bd99..4081b324 100644
@@ -1,5 +1,5 @@
-PV_ti-soc = "3.17.0+git${SRCPV}"
-SRCREV_ti-soc = "15a746d28d10df3d79d72bc9fe4a5a654b88bcca"
+PV_ti-soc = "3.18.0+git${SRCPV}"
+SRCREV_ti-soc = "8e155bae3a5eb9d1a3ed9260bd7281a7a35f5086"
 SRC_URI_ti-soc = "git://github.com/OP-TEE/optee_os.git;protocol=https"
 
 DEPENDS_append_ti-soc = " python3-cryptography-native"
Signature · 1 line
2.36.1
#1 lore raw

PATCH 2/2 optee-os: Lower log level for AM62x

During resume from low power mode suspend OP-TEE prints some messages on the UART. It seems this UART is not powered at this point in the sequence breaking suspend/resume. We should track down the exact prints and quiet them. Until we get that fix upstream, lets lower the log level for this platform to unblock the LPM work.

---
 recipes-security/optee/optee-os_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/optee/optee-os_%.bbappend +1 -1
index 4081b324..3cda8559 100644
@@ -6,7 +6,7 @@ DEPENDS_append_ti-soc = " python3-cryptography-native"
 
 EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
-EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y"
+EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
 EXTRA_OEMAKE_append_j721s2-evm = " CFG_WITH_SOFTWARE_PRNG=y"
 EXTRA_OEMAKE_append_j721s2-hs-evm = " CFG_WITH_SOFTWARE_PRNG=y"
 
Signature · 1 line
2.36.1
Acked-by on v1 2/2
#2 lore raw

RE: [meta-ti][dunfell][PATCH 2/2] optee-os: Lower log level for AM62x

Quoted 9 lines

From: Davis, Andrew <[email protected]>

During resume from low power mode suspend OP-TEE prints some messages on the UART. It seems this UART is not powered at this point in the sequence breaking suspend/resume. We should track down the exact prints and quiet them. Until we get that fix upstream, lets lower the log level for this platform to unblock the LPM work.

Quoted 21 lines
---
 recipes-security/optee/optee-os_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes- renamed from recipes-security/optee/optee-os_%.bbappend +0 -0

security/optee/optee-os_%.bbappend
index 4081b324..3cda8559 100644

recipes-security/optee/optee-os_%.bbappend +0 -0
@@ -6,7 +6,7 @@ DEPENDS_append_ti-soc = " python3-cryptography-native"
 
 EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+

d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"

recipes-security/optee/optee-os_%.bbappend +1 -2
-EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y"
+EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
 EXTRA_OEMAKE_append_j721s2-evm = " CFG_WITH_SOFTWARE_PRNG=y"
 EXTRA_OEMAKE_append_j721s2-hs-evm = " CFG_WITH_SOFTWARE_PRNG=y"
 
--

2.36.1

#3 lore raw

Re: [meta-ti][dunfell][PATCH 2/2] optee-os: Lower log level for AM62x

In reply to Andrew Davis
Quoted 16 lines · Andrew Davis

During resume from low power mode suspend OP-TEE prints some messages on the UART. It seems this UART is not powered at this point in the sequence breaking suspend/resume. We should track down the exact prints and quiet them. Until we get that fix upstream, lets lower the log level for this platform to unblock the LPM work.

---
  recipes-security/optee/optee-os_%.bbappend | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/optee/optee-os_%.bbappend +0 -0
index 4081b324..3cda8559 100644

recipes-security/optee/optee-os_%.bbappend DEPENDS_append_ti-soc = " python3-cryptography-native" · line 9

Quoted 5 lines
recipes-security/optee/optee-os_%.bbappend +1 -1
@@ -6,7 +6,7 @@ DEPENDS_append_ti-soc = " python3-cryptography-native"
 
  EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
-EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y"
+EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"

ping.

Looks like there is now a merge conflict for this, easy enough to fix, add CFG_TEE_CORE_LOG_LEVEL=1 to the new am62xx-lp-evm also.

If you want me to re-send let me know.

Andrew

Quoted 3 lines
recipes-security/optee/optee-os_%.bbappend +0 -0
  EXTRA_OEMAKE_append_j721s2-evm = " CFG_WITH_SOFTWARE_PRNG=y"
  EXTRA_OEMAKE_append_j721s2-hs-evm = " CFG_WITH_SOFTWARE_PRNG=y"
 
#4 lore raw

RE: [meta-ti][dunfell][PATCH 2/2] optee-os: Lower log level for AM62x

Quoted 29 lines

From: Davis, Andrew <[email protected]>

recipes-

Quoted 12 lines · Andrew Davis

During resume from low power mode suspend OP-TEE prints some messages on the UART. It seems this UART is not powered at this point in the sequence breaking suspend/resume. We should track down the exact prints and quiet them. Until we get that fix upstream, lets lower the log level for this platform to unblock the LPM work.

---
  recipes-security/optee/optee-os_%.bbappend | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes- renamed from recipes-security/optee/optee-os_%.bbappend +0 -0

security/optee/optee-os_%.bbappend

recipes-security/optee/optee-os_%.bbappend DEPENDS_append_ti-soc = " python3-cryptography-native" · line 9

Quoted 9 lines

index 4081b324..3cda8559 100644

recipes-security/optee/optee-os_%.bbappend +1 -1
@@ -6,7 +6,7 @@ DEPENDS_append_ti-soc = " python3-cryptography-native"
 
  EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
 
-EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y"
+EXTRA_OEMAKE_append_am62xx-evm = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"

ping.

Quoted 6 lines

Looks like there is now a merge conflict for this, easy enough to fix, add CFG_TEE_CORE_LOG_LEVEL=1 to the new am62xx-lp-evm also.

If you want me to re-send let me know.

Andrew

Probably best to resend - I thought I had added it for am62xx-lp-evm when I sent it out but it seems I did not. Sorry.

Reviewed-by on v1 1/2
#5 lore raw
In reply to Andrew Davis
Quoted 3 lines · Andrew Davis via lists.yoctoproject.org

Update to the latest upstream master which is 3.18.0.

Quoted 27 lines
---
  recipes-security/optee/optee-os_%.bbappend | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/optee/optee-os_%.bbappend +2 -3
index 5a25bd99..4081b324 100644
@@ -1,5 +1,5 @@
-PV_ti-soc = "3.17.0+git${SRCPV}"
-SRCREV_ti-soc = "15a746d28d10df3d79d72bc9fe4a5a654b88bcca"
+PV_ti-soc = "3.18.0+git${SRCPV}"
+SRCREV_ti-soc = "8e155bae3a5eb9d1a3ed9260bd7281a7a35f5086"
  SRC_URI_ti-soc = "git://github.com/OP-TEE/optee_os.git;protocol=https"
 
  DEPENDS_append_ti-soc = " python3-cryptography-native"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#14970): https://lists.yoctoproject.org/g/meta-ti/message/14970
Mute This Topic: https://lists.yoctoproject.org/mt/93277310/2167429
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-