Closed piachristel closed 5 years ago
tee-supplicant
runs on the target (QEMU terminal).
The command for the "hello world" application is optee_example_hello_world
.
Thank you! I can run the examples now!
And for tee-supplicant: is it loaded automatically?
Because tee-supplicant
command in the QEMU terminal still gives me a unknown command: 'tee-supplicant'
error.
Yes, tee-supplicant
is started by an init script. You get "command not found" because it is not in your $PATH (it is not user command). It is in /usr/sbin
IIRC.
As the instructions says, if unsure whether it's loaded or not, run ps aux | grep tee-supplicant
. But as also mentioned in the docs, it's started by default on almost all OP-TEE developer builds. With successful run of xtest, you can be sure that it's running as it should.
Thank you!
I have made the build of optee according to the steps on https://optee.readthedocs.io/building/gits/build.html. But for step 8, I was not sure where to execute. If I run it in the optee/build directory, I get:
In the optee/build directory I have then run
xhost +
sudo make all run
I have entered
c
in the qemu console. Then in the normal world console, I can run the xtest succesfully:But if I run
hello_world
in the normal world console, I get-sh: hello_world: not found
If I run
c make all
in theoptee_examples/hello_world
directory, I get the following error:How can I correctly load the tee-supplicant? And how can I make the hello_world example run?
Thanks for help & correct me if this issue is in the wrong place!