GithubHelp home page GithubHelp logo

optee_release_binaries's Introduction

OP-TEE Release Binaries

Description

The git contains OP-TEE binaries running based on QEMU/KVM.

Install QEMU in Ubuntu

Check virtualization enabled in Ubuntu

$ egrep -c '(vmx)' /proc/cpuinfo

If Virtualization is supported, the output should be greater than 0.

$ kvm-ok

Check if KVM virtualization is supported. If the kvm-ok utility is missing, install the cpu-checker package.

Install QEMU in Ubuntu

$ sudo apt update
$ sudo apt install qemu-kvm
$ sudo usermod -aG kvm $USER

Run OP-TEE binaries

Firstly, on Ubuntu host side, insert OP-TEE driver modules manually:

$ sudo insmod tee.ko
$ sudo insmod optee.ko

Secondly, start OP-TEE VM based on QEMU:

Copy tee-pager_v2.bin to your $HOME folder.

For non-TDX:

$ sudo qemu-system-x86_64 -enable-kvm -nographic -m 32M -kernel ~/tee-pager_v2.bin -serial mon:stdio -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=6

For TDX:

$ sudo /usr/libexec/qemu-kvm -enable-kvm -object tdx-guest,id=tdx -machine q35,kvm-type=tdx,pic=no,kernel_irqchip=split,confidential-guest-support=tdx -no-hpet -cpu host,host-phys-bits,-kvm-steal-time -device loader,file=/usr/share/qemu/OVMF.fd,id=fd0 -nographic -vga none -m 128M -kernel ~/tee-pager_v2.bin -serial mon:stdio -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=6

optee_release_binaries's People

Contributors

jingdlu avatar rdower avatar

Stargazers

Ben Corrado avatar

Watchers

xiaofei feng avatar  avatar

optee_release_binaries's Issues

"tee-pager_v2.bin" source code

Hello All,

Would it be possible to share the source code for the "tee-pager_v2.bin" shared under this repo ?
The binary I get after building OP-TEE OS from https://github.com/op-tee-ia/optee_os (branch 3.13) appears to be different from the one used to build "tee-pager_v2.bin".

With branch 3.13, I'm getting a SIG_ABRT at this line core/arch/x86_64/kernel/entry_64.S:58 when trying to load the GDT table.
The repo binary "tee-pager_v2.bin" runs OPTEE OS with no issues.

Thanks a lot !

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.