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

some help with DS-5 - Trusted Execution Environment (TEE)

Greetings Experts

I am trying to compile the TEE sample with DS-5. I downloaded the latest version of DS-5, and created a C project. I was able to put in the main_secure.c file and build ok. I then tried to add monitor.s file to the project by adding another source file. I get the following errors:

ds5.png

Would someone please compile the project, and advise in high level what sort of project I need to create and how to import the source files into my project please?

Sean

Parents
  • David

    I like to thank you so much for your continued support. I did place the secure.bin file on my phone, and tried to run the two files in it. I had to change permissions of the files. Here is what I get:

    127|root@hltespr:/storage/emulated/legacy/secure.bin # ./SECURE_EXE

    ./SECURE_EXE

    ./SECURE_EXE[1]: ▬☻±É╨ƒσ╙≡!πî╨ƒσ►☼◄ε♦└π☺: not found

    ./SECURE_EXE[5]: syntax error: '┐x┴√╪R' unexpected

    127|root@hltespr:/storage/emulated/legacy/secure.bin # ./NORMAL_IMAGE

    ./NORMAL_IMAGE

    ./NORMAL_IMAGE[1]: ⌡♥δPπ÷♥←▀≡!πê╨ƒσ►☼◄ε♦└π☺: not found

    ./NORMAL_IMAGE[14]: syntax error: '(' unexpected

    1|root@hltespr:/storage/emulated/legacy/secure.bin #

    Re: The content on Debug Hardware, I did go to DS-5 help documents (DS-5 IDE-> help -> help contents): ARM DS-5 Documentation > ARM DS-5 Debug Hardware > Using the Debug Hardware Configuration Utilities > Creating debug hardware target configurations. But the content does not seem to be very relevant to what I am trying to do. All I have at my disposal is an Android phone model SM-N900P Samsung Note 3 with a USB cable which connects to the laptop. It sounds like ARM DS-5 Debug hardware instructions are for RVI and DSTREAM, which I do not have. I did try to run debug hardware configuration utility, but it does not find any hardware. Did I perhaps miss something?

Reply
  • David

    I like to thank you so much for your continued support. I did place the secure.bin file on my phone, and tried to run the two files in it. I had to change permissions of the files. Here is what I get:

    127|root@hltespr:/storage/emulated/legacy/secure.bin # ./SECURE_EXE

    ./SECURE_EXE

    ./SECURE_EXE[1]: ▬☻±É╨ƒσ╙≡!πî╨ƒσ►☼◄ε♦└π☺: not found

    ./SECURE_EXE[5]: syntax error: '┐x┴√╪R' unexpected

    127|root@hltespr:/storage/emulated/legacy/secure.bin # ./NORMAL_IMAGE

    ./NORMAL_IMAGE

    ./NORMAL_IMAGE[1]: ⌡♥δPπ÷♥←▀≡!πê╨ƒσ►☼◄ε♦└π☺: not found

    ./NORMAL_IMAGE[14]: syntax error: '(' unexpected

    1|root@hltespr:/storage/emulated/legacy/secure.bin #

    Re: The content on Debug Hardware, I did go to DS-5 help documents (DS-5 IDE-> help -> help contents): ARM DS-5 Documentation > ARM DS-5 Debug Hardware > Using the Debug Hardware Configuration Utilities > Creating debug hardware target configurations. But the content does not seem to be very relevant to what I am trying to do. All I have at my disposal is an Android phone model SM-N900P Samsung Note 3 with a USB cable which connects to the laptop. It sounds like ARM DS-5 Debug hardware instructions are for RVI and DSTREAM, which I do not have. I did try to run debug hardware configuration utility, but it does not find any hardware. Did I perhaps miss something?

Children