Coder Social home page Coder Social logo

opentee_driver's Introduction

opentee_driver

This is a secure driver demo, you can follow below operation step by step to integrate this module into OP-TEE Which have checked in optee+qemu running enviroment

  1. cp my_test_common_3.0.0.patch and my_test_qemu_3.0.0.patch to path of "build", and copy 0001-Integrate-secure-driver-test-into-op-tee.patch into patch of optee_os

  2. change path to build, and use below command to apply test TA$CA git apply my_test_common_3.0.0.patch git apply my_test_qemu_3.0.0.patch

  3. change path to optee_os, and use below command to apply patch git am 0001-Integrate-secure-driver-test-into-op-tee.patch

  4. cp opentee_driver/my_test to root path

  5. chang path to build, then use below command to build project make -f qemu.mk all

  6. use below command to run op-tee and qemu make -f qemu.mk run-only

Test demo: Write data into driver by using below command : my_test writeDev [offset] [len] offset:offset of position。 len: length of data which need to be wrote into driver。 example: my_test writeDev 0 64

Read data from driver by using below command : my_test readDev [offset] [len] offset:offset of position。 len: length of data which need to be read from driver。 example: my_test readDev 0 64

Dump all data in driver: my_test dumpDev [len] len: length of data which need to be dumped from driver。 example: my_test dumpDev 32

opentee_driver's People

Contributors

shuaifengyun avatar

Stargazers

ekaterinburg avatar  avatar  avatar liangzelang avatar duduscript avatar

Watchers

James Cloos 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.