Zondax/meta-zondax-qemu

Recipes to cook Optee kernel and optee-examples in qemu image

neithanmo opened this issue · 2 comments

a minimal image build with yocto must come with updated and board-wise compatible optee drivers and the official optee examples. support for qemu_v8 is required.

Description

Brarch: hardknott
Revision: 89391399ca4a26a5e3c0c009b4aa687272ba38db

  • Updated dependencies and recipes to run optee-os v3.14.0 and linux-optee v.5.13.0.
  • Clean recipes and remove redundant dependencies
  • Add patch to fix issue with memory management on the qemu8 target

OPTEE examples added in another layer .

How has this been tested?

Using tee-images dev environment:

Qemu 32 bit

make build qemu
make dev qemu

Qemu 64 bit

make build qemu8
make dev qemu8

OPTEE examples are place in: /usr/bin:

  • optee_example_acipher
  • optee_example_aes
  • optee_example_hello_world
  • optee_example_hotp
  • optee_example_plugins
  • optee_example_random
  • optee_example_secure_storage

Results

  • xtest runs successfully
  • OPTEE examples run successfully

Screenshots

xtest_success_screeshot

examples_screenshot

great !!!.. I was also able to run the test and it works