Closed HaoXuan-a closed 3 years ago
Hi @HaoXuan-a ,
have you tried to run hello_world
example? This opensession error seems to be relevant to the OPTEE system, not the darknetp specifically.
Yes, I have tried to run the hello_world program normally. I am trying to see if reinstallation is feasible. Thank you for your reply.
Hi,mofan I tried to deploy Darknetz to Raspberry Pi 3B. After compiling and running according to your tutorial, I executed darknetp, and the following error message appeared. Do you know why?Looking forward to your reply. Thank you!
darknetp
Prepare D/TC:? 0 tee_ta_init_pseudo_ta_session:280 Lookup pseudo TA 7fc5c039-0542-4ee1-80af-b4eab2f1998d session with the TA IniD/TC:? 0 load_ldelf:707 ldelf load address 0x40006000 tializeCD/LD: ldelf:134 Loading TA 7fc5c039-0542-4ee1-80af-b4eab2f1998d ontext.... D/TC:? 0 tee_ta_init_pseudo_ta_session:280 Lookup pseudo TA 3a2f8978-5dc0-11e8-9c2d-fa7ae01bbebc D/TC:? 0 tee_ta_init_pseudo_ta_session:293 Open system.pta D/TC:? 0 tee_ta_init_pseudo_ta_session:307 system.pta : 3a2f8978-5dc0-11e8-9c2d-fa7ae01bbebc D/TC:? 0 system_open_ta_binary:239 Lookup user TA ELF 7fc5c039-0542-4ee1-80af-b4eab2f1998d (Secure Storage TA) D/TC:? 0 system_open_ta_binary:242 res=0xffff0008 D/TC:? 0 system_open_ta_binary:239 Lookup user TA ELF 7fc5c039-0542-4ee1-80af-b4eab2f1998d (REE) D/TC:? 0 system_open_ta_binary:242 res=0x0 D/TC:? 0 tee_ta_invoke_command:773 Error: ffff000c of 4 E/LD: populate_segments:637 sys_map_zi E/TC:? 0 init_with_ldelf:229 ldelf failed with res: 0xffff000c D/TC:? 0 tee_ta_close_session:499 csess 0x10170b60 id 1 D/TC:? 0 tee_ta_close_session:518 Destroy session D/TC:? 0 destroy_context:298 Destroy TA ctx (0x10170b00) D/TC:? 0 tee_ta_close_session:499 csess 0x10170340 id 1 D/TC:? 0 tee_ta_close_session:518 Destroy session E/TC:? 0 tee_ta_open_session:728 Failed. Return error 0xffff000c OpenSession.... darknetp: TEEC_Opensession failed with code 0xffff000c origin 0x3