Niklas Flink
Niklas Flink

Reputation: 101

TEEC_InvokeCommand failed 0xffff0008 origin 0x4 - Jetson Orin Nano – OP-TEE

I am trying to set up OP-TEE on my Jetson Orin Nano following the official NVIDIA documentation:

🔗 NVIDIA OP-TEE Documentation

However, when I try to encrypt/decrypt a file using the official sample nvhwkey-app, I receive the following error:

TEEC_InvokeCommand failed 0xffff0008 origin 0x4

It seems that the Trusted Application (TA) is not loading. However, based on what I’ve read, the issue is more likely related to Disk Encryption rather than OP-TEE itself—since the Random Number Generator in the sample works as expected.

Here’s a brief description of the sample’s functionality:

HWKEY AGENT CA and TA
The hwkey-agent CA is a command-line program that illustrates how to encrypt and decrypt data using user-defined keys stored in the EKB and get random numbers from the hwkey-agent TA.
The hwkey-agent TA is a user-space TA that provides two functions for the hwkey-agent CA:

  • Data encryption and decryption
  • Generating random numbers

✅ Verifying OP-TEE is Running

To confirm that OP-TEE is active, I ran:

dmesg | grep -i tee

Output:

[    3.676613] optee: probing for conduit method.
[    3.676666] optee: revision 4.2 (f4442694)
[    3.736118] optee: dynamic shared memory is enabled
[    3.736372] optee: initialized driver

This confirms OP-TEE is running. But I can not find anything about that error online. Any help or suggestions would be greatly appreciated! Thanks in advance! 😊🚀

Upvotes: 0

Views: 39

Answers (0)

Related Questions