mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
optee: support genericarm64
optee-client/tee-supplicant, optee-os-tadevkit and optee-test can be compiled for genericarm64 and these detect firmware optee support at runtime. Using qemuarm64 compatible config for them. optee-os itself may need HW specific config for different boards and SoCs but these components work with same config on multiple boards. Tested on qemu and AMD kv260 with Linaro Trusted Substrate firmware (https://gitlab.com/Linaro/trustedsubstrate/meta-ts). Note: optee-test version in userspace and optee-os version in firmware must match for tests to pass. Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
|
||||
|
||||
COMPATIBLE_MACHINE ?= "invalid"
|
||||
COMPATIBLE_MACHINE:genericarm64 ?= "genericarm64"
|
||||
COMPATIBLE_MACHINE:qemuarm64 ?= "qemuarm64"
|
||||
COMPATIBLE_MACHINE:qemuarm ?= "qemuarm"
|
||||
# Please add supported machines below or set it in .bbappend or .conf
|
||||
|
||||
OPTEEMACHINE ?= "${MACHINE}"
|
||||
OPTEEMACHINE:genericarm64 ?= "vexpress-qemu_armv8a"
|
||||
OPTEEMACHINE:aarch64:qemuall ?= "vexpress-qemu_armv8a"
|
||||
OPTEEMACHINE:arm:qemuall ?= "vexpress-qemu_virt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user