How to disable optee?

hi nvidia

on jetpack7.2 jetson orin

how to disable optee ?

— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —

Disabling OP-TEE on Jetson AGX Orin is not directly supported in the provided context. However, I can provide some general information about OP-TEE and its role in the system.

OP-TEE (Open Portable Trusted Execution Environment) is a trusted execution environment (TEE) that provides a secure environment for executing sensitive code. It is used to manage the communication between the normal world (the Linux operating system) and the secure world (the TEE).

To troubleshoot issues related to OP-TEE, you can refer to the following steps:

  1. Check the system logs for any error messages related to OP-TEE.
  2. Verify that the OP-TEE service is running correctly.
  3. If you are experiencing issues with the OP-TEE service, you can try restarting the service or rebooting the system.

However, disabling OP-TEE entirely is not recommended, as it is an essential component of the system’s security features. If you need to disable OP-TEE for specific testing or development purposes, you may need to consult the official NVIDIA documentation or contact NVIDIA support for further guidance.

In the provided context, there is a discussion about OP-TEE Client Supplicant failing to start, but it does not provide information on how to disable OP-TEE.

I could not find clear support for disabling OP-TEE in the provided Jetson AGX Orin documentation.

— We support team will also look into your issue to have further suggestions soon. please stay tuned. —

hello helianyi1,

may I have more details of disabling it? may I know what’s the actual use-case?
to be honest, we’ve never test with op-tee disabled.

hi nvidia:

I use rtla test PREEMPT_RT rt latency, some optee function call cause bad latency.

timerlat_trace.txt (28.5 MB) this is latency log

hello helianyi1,

please try below if that’s hardware random number generator (hwrng) contributes multiple of hundreds uS in real time latencies.
– Identify hwrng kernel thread PID by.. ps aux | grep hwrng
– Pin thread to non RT cpu core, for example, taskset -p -c 0 100, where -c 0 indicates cpu core 0 and 100 indicates PID of the hwrng kernel thread.