Code Monkey home page Code Monkey logo

j-schacht / xilinx_zcu102_trustzone_demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 70.69 MB

Tutorial and base project: TEE on AMD Zynq UltraScale+ using Arm TrustZone

License: GNU General Public License v3.0

Batchfile 0.01% Tcl 4.13% Verilog 7.85% VHDL 22.31% C++ 0.83% SystemVerilog 3.23% C 54.66% HTML 0.18% V 0.51% Pascal 0.01% JavaScript 0.15% Shell 0.06% Python 0.01% BitBake 0.04% CMake 0.69% Ruby 0.01% Makefile 4.56% TypeScript 0.01% Assembly 0.77%
aarch64 arm-trustzone fpga-soc fpga-soc-linux op-tee petalinux tee trustzone xilinx xilinx-zynq

xilinx_zcu102_trustzone_demo's Introduction

Trusted Execution Environment on AMD Zynq MPSoC using Arm TrustZone

This project demonstrates how a Trusted Execution Environment (TEE) can be set up on an AMD Zynq UltraScale+ MPSoC device:

  • Using ZCU102 Evaluation Kit with Zynq UltraScale+ ZU9EG (similar workflow can be used for other Zynq MPSoC devices)
  • Using PetaLinux Tools & Vitis Embedded (version 2023.2)
  • Linux as Rich Execution Environment (REE)
  • OP-TEE OS as Trusted Execution Environment (TEE)
  • TEE isolation based on Arm TrustZone technology
  • Secure Boot with RSA authentication and AES encryption (including Linux kernel)

Repository Structure

Path Description
./trustzone_demo/ PetaLinux project to build the linux kernel and OP-TEE, and create the boot image
./write_bbram/ Vitis Embedded workspace to build a boot image for writing the AES device key to BBRAM
./doc_zcu102_tee_setup.pdf Documentation providing background information and a step-by-step guide

How to setup the project

  1. Use Ubuntu 22.04 (recommended) or Debian 12.

  2. Install PetaLinux Tools 2023.2 to ~/petalinux/2023.2, as described in the Documentation.

  3. Install Vitis Embedded 2023.1 and 2023.2, as described in the Documentation.

  4. Clone this repository to ~/petalinux.

  5. Rename the directory:

    mv ~/petalinux/xilinx_zcu102_trustzone_demo/ ~/petalinux/projects/
    
  6. Generate keys, write BBRAM, build Linux and OP-TEE, and generate the boot image as described in the Documentation.

  7. Boot the system and test.

  8. Start developing your own Trusted Applications!

xilinx_zcu102_trustzone_demo's People

Contributors

j-schacht avatar

Watchers

 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.