This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Invoking TA Failed When Using OPTEE on Juno r1

Hi experts,

 

The day before yesterday I posted a question about using OPTEE of Juno and  has replied me once.

It looks like the post has lost on the new ARM Community website while I still got another error I can't solve so I would describe my question here.

 

I used the script from using-linaro-s-deliverables-on-juno with the choice "Juno, Build from source, Linux/Android, lsk-4.4" for getting the system source code.

I built the system and the system could be run on the Juno platform.

 

However, when I was trying the hello world example from Linaro lcu14_optee_hello_world I met an error.

For the system configuration:

  1. I saved the TA in the folder /lib/optee_armtz/ (for previous version it's /lib/teetz/).
  2. I didn't insmod any "*.ko" because I didn't find any one in my workspace after I built the system.
  3. I could run the command ./export/bin/tee-supplicant & successfully so I assume above modules are not necessary.

 

The problem is, when I ran the client part of the example, I could see the output:

However, after that, I got the error:

 

For the TrustZone part, I got the following debug info when running the example:

 

 

So far, I have no idea how's this error happens.

The only reason I could come out with is that I didn't load the optee.ko or optee_armtz.ko while I can't find any existing ko file for loading within the current version.

 

Please check my issue and let me know if you have any suggestion about debug this problem.

Thank you very much.

 

Simon

0