This simple host/trusted application serves the purpose of measuring the performance of OP-TEE.
Easiest way to test this is to run the script setup_qemu_optee.sh. This script will setup the complete environment needed to run OP-TEE on QEMU.
When that has been done and the files has been saved, you need to regenerate the filesystem. That could be done by running the script build.sh
.
-
Run
serial_0.sh
andserial_1.sh
in different console. -
Open another console and start booting up QEMU by running
run_qemu.sh
and wait until you have a shell prompt. -
Load the kernel module for OP-TEE and launch tee-supplicant, by typing:
$ modprobe optee_armtz $ tee-supplicant &
-
Launch the test (and thereby the TA), by typing:
$ simple_client
Easiest way to test this is to run the script setup_fvp_optee.sh. This script will setup the complete environment needed to run OP-TEE on FVP.
When that has been done and the files has been saved, you need to regenerate the filesystem. That could be done by running the script build_secure.sh
, optee_benchmark/build_app.sh
and then build_normal.sh
.
-
Open console and start booting up FVP by running
run_foundation.sh
and wait until you have a shell prompt. -
Load the kernel module for OP-TEE and launch tee-supplicant, by typing:
$ modprobe optee_armtz $ tee-supplicant &
-
Launch the test (and thereby the TA), by typing:
$ simple_client