Hello World - **DEPRECATED**
2018-01-01: This standalone Hello World TA has been deprecated
We have just recently created another git called optee_examples. The code from this Hello World application has been moved into that optee_examples git, so Hello World resides there as one standalone example together with a few other standalone example host/ta pairs. We will keep this git here as a reference in case someone needs it for historical reasons (links pointing here etc).
This is a reference template to start writing a Trusted Application
This example has been presented at the Linaro Connect USA 2014. The slides are available here.
Manual Build Instructions
Setup the OP-TEE software stack by following: https://github.com/OP-TEE/optee_os#5-repo-manifests
Clone this repository into
git clone https://github.com/linaro-swg/hello_world.git cd hello_world
Define the toolchains and environment variables:
If normal world user space is 64-bit:
If normal world user space is 32-bit:
If secure world user space is 64-bit:
export TA_CROSS_COMPILE=$PWD/../toolchains/aarch64/bin/aarch64-linux-gnu- export TA_DEV_KIT_DIR=$PWD/../optee_os/out/arm/export-ta_arm64
If secure world user space is 32-bit:
export TA_CROSS_COMPILE=$PWD/../toolchains/aarch32/bin/arm-linux-gnueabihf- export TA_DEV_KIT_DIR=$PWD/../optee_os/out/arm/export-ta_arm32