Skip to content

Add optee#34

Open
roxell wants to merge 2 commits into
kernelci:mainfrom
roxell:add-optee
Open

Add optee#34
roxell wants to merge 2 commits into
kernelci:mainfrom
roxell:add-optee

Conversation

@roxell

@roxell roxell commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Make it possible to run optee tests

roxell added 2 commits June 10, 2026 10:01
Some firmware boot chains (TF-A, OP-TEE) need a simpler QEMU config
than the default qemu-arm64 device provides. Allow --parameters
machine=... and cpu=... to override the device defaults instead of
requiring a separate device class.

Example:
    tuxrun --device qemu-arm64 --enable-trustzone \
        --parameters machine=virt,secure=on cpu=cortex-a57 \
        --bios flash.bin --kernel Image

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Add OPTEEXtestTest class that runs the OP-TEE xtest regression suite
from test-definitions. An inline setup step symlinks xtest into PATH
and copies TAs into /lib/optee_armtz/ before the test runs.

Usage:
    tuxrun --device qemu-arm64 --tests optee-xtest

Parameters:
    LEVEL: test level 0-15 (default: 0)
    TEST_SUITE: regression or benchmark (default: regression)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant