GithubHelp home page GithubHelp logo

global-localhost / hello_world Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linaro-swg/hello_world

0.0 0.0 0.0 15 KB

Reference template to start writing a Trusted Application

Makefile 16.04% Shell 6.45% C 77.51%

hello_world's Introduction

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).

Description

This is a reference template to start writing a Trusted Application

Presentation

This example has been presented at the Linaro Connect USA 2014. The slides are available here.

Manual Build Instructions

  1. Setup the OP-TEE software stack by following: https://github.com/OP-TEE/optee_os#5-repo-manifests

  2. Clone this repository into $HOME/devel/optee

    git clone https://github.com/linaro-swg/hello_world.git
    cd hello_world
    
  3. Define the toolchains and environment variables:

    export TEEC_EXPORT=$PWD/../optee_client/out/export
    

    If normal world user space is 64-bit:

    export HOST_CROSS_COMPILE=$PWD/../toolchains/aarch64/bin/aarch64-linux-gnu-
    

    If normal world user space is 32-bit:

    export HOST_CROSS_COMPILE=$PWD/../toolchains/aarch32/bin/arm-linux-gnueabihf-
    

    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
    
  4. Build it!

     make
    

hello_world's People

Contributors

jbech-linaro avatar jforissier avatar master-q avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.