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

Looking for a Post about Linaro and Juno from Old Website

Hi experts,

I once bookmarked a weblink https://community.arm.com/docs/DOC-10804 which is showing how to set up a workspace for Juno board with OP-TEE 16.02.

Now I want to find a way to set up a new workspace with OP-TEE 16.02 while the URL is automatically redirected to the new website Using Linaro .. . In the new webpage, all of the set-up work has been done with a script.

I tried to use the new script with OP-TEE 16.12 while there is an OP-TEE issue when I was actually running my issue.

Since ARM doesn't officially support Linaro products and I couldn't solve my bug, I have to stay with the OP-TEE 16.02.

 

My question is: Is there any way for me to find the old instructions from https://community.arm.com/docs/DOC-10804 so I can set up my workspace again?

 

Thank you very much.

 

Simon

  • Hello Simon,

    I think regressing to an old version of the Juno deliverables isn't a great idea.

    I'm afraid you can't view the older pages anymore. However, the scipt is organised so you can edit it yourself to change the URLs and fetch older deliverables if you want to go that way.

    Have you actually asked the OP-TEE team for help?

    I'd recommend you review their latest build instructions & if needbe raise an issue with them here https://github.com/OP-TEE/
    MarkN.

  • Thank you for the reply Mark.

    Actually I post my issue on their github before I post here: my github issue.

    The Linaro staff said he didn't recognize how did the ARM scripts work so he can't answer my question..

    Do you know anyone runs the latest OP-TEE on Juno and runs the TA successfully?

  • Hi Simon,

    I can successfully run an OP-TEE TA on Juno using the latest deliverables, which suggests there is something wrong with your environment or you're missing a step in the process.

    Please see my new FAQ here.

    Hope that helps,

    Ash.

  • Hi Ash,

    Thank you for updating the FAQ.

    I just tried it again while I still got error in the last step.

    Here is my terminal information from normal world:

    root@genericarmv8:~# ./export/bin/tee-supplicant &
    [1] 365
    root@genericarmv8:~# ./hello_world 
    Invoking TA to increment 42
    ERR [366] TEEC:TEEC_InvokeCommand:567: TEE_IOC_INVOKE failed
    hello_world: TEEC_InvokeCommand failed with code 0xffff0000 origin 0x2

    I think I execute the tee-supplicant successfully while I have no idea the TEEC_InvokeCommand was failed.

     

    Also here is my output from secure world:

    DEBUG:   [0x0] TEE-CORE:tee_ta_init_static_ta_session:160:    Lookup for Static TA 8aaaf200-2450-11e4-abe20002a5b
    DEBUG:   [0x0] TEE-CORE:init_session_with_signed_ta:717:    Load dynamic TA
    DEBUG:   [0x0] TEE-CORE:ta_load:498: Loaded TA at 0xff200000
    DEBUG:   [0x0] TEE-CORE:ta_load:499: ELF load address 0x40001000
    DEBUG:   [0x0] TEE-CORE:init_session_with_signed_ta:723:       dyn TA : 8aaaf200-2450-11e4-abe20002a5d5c51b
    DEBUG:   [0x0] TEE-CORE:tee_ta_close_session:318: tee_ta_close_session(0xff05bf20)
    DEBUG:   [0x0] TEE-CORE:tee_ta_close_session:337:    ... Destroy session
    DEBUG:   [0x0] TEE-CORE:tee_ta_close_session:358:    ... Destroy TA ctx

     

    Looks like I load the dynamic TA while it met some error. Have you met this before?

  • Hi Simon,

    No, I've not seen that error before. Please can you make sure you are following the instructions in a new empty workspace and that you do not skip any steps. These instructions work reliably for us.