cancel
Showing results for 
Search instead for 
Did you mean: 

Unable To Load OPTEE Trusted Applications from REE

arifbalik
Associate III

I am running OPTEE OS 4.0 from openstlinux distro 6.0. When i build package optee-examples (I also tried to build examples manually) and try to run it I get the following error;

 

D/TC:? 1 tee_ta_init_pseudo_ta_session:303 Lookup pseudo TA 8aaaf200-2450-11e4-abe2-0002a5d5c51b
D/TC:? 1 ldelf_load_ldelf:110 ldelf load address 0x40005000
D/LD:  ldelf:142 Loading TS 8aaaf200-2450-11e4-abe2-0002a5d5c51b
D/TC:? 1 ldelf_syscall_open_bin:163 Lookup user TA ELF 8aaaf200-2450-11e4-abe2-0002a5d5c51b (early TA)
D/TC:? 1 ldelf_syscall_open_bin:167 res=0xffff0008
D/TC:? 1 ldelf_syscall_open_bin:163 Lookup user TA ELF 8aaaf200-2450-11e4-abe2-0002a5d5c51b (REE)
D/TC:? 1 ldelf_syscall_open_bin:167 res=0
E/LD:  copy_section_headers:1124 sys_copy_from_ta_bin
E/TC:? 1 ldelf_init_with_ldelf:152 ldelf failed with res: 0xffff0009
D/TC:? 1 tee_ta_open_session:701 init session failed 0xffff0009
optee_example_hello_world: TEEC_Opensession failed with code 0xffff0009 origin 0x3

 

The logs show the .ta file is successfully found but something goes wrong while loading it. I also tried to build optee-examples_4.0 but the result was the same.

 

Anyone has any idea?

0 REPLIES 0