mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
arm/trusted-services: Update FFA TEE driver to v2.0.0
- Update driver version to v2.0.0 - Follow up the name change. The driver has been renamed from arm_ffa_tee to arm_tstee. Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -28,7 +28,7 @@ Other steps depend on your machine/platform definition:
|
||||
|
||||
1. For communications between Secure and Normal Words Linux kernel option `CONFIG_ARM_FFA_TRANSPORT=y`
|
||||
is required. If your platform doesn't include it already you can add `arm-ffa` into MACHINE_FEATURES.
|
||||
(Please see ` meta-arm/recipes-kernel/arm-ffa-tee`.)
|
||||
(Please see ` meta-arm/recipes-kernel/arm-tstee`.)
|
||||
|
||||
For running the `uefi-test` or the `xtest -t ffa_spmc` tests under Linux the `arm-ffa-user` drivel is required. This is
|
||||
enabled if the `ts-smm-gateway` and/or the `optee-spmc-test` machine features are enabled.
|
||||
|
||||
@@ -1295,19 +1295,19 @@ First, load FF-A TEE kernel module:
|
||||
|
||||
::
|
||||
|
||||
insmod /lib/modules/*-yocto-standard/updates/arm-ffa-tee.ko
|
||||
insmod /lib/modules/6.1.32-yocto-standard/extra/arm-tstee.ko
|
||||
|
||||
Then, check whether the FF-A TEE driver is loaded correctly by using the following command:
|
||||
|
||||
::
|
||||
|
||||
cat /proc/modules | grep arm_ffa_tee
|
||||
cat /proc/modules | grep arm_tstee
|
||||
|
||||
The output should be:
|
||||
|
||||
::
|
||||
|
||||
arm_ffa_tee <ID> - - Live <address> (O)
|
||||
arm_tstee 16384 - - Live 0xffffffc000510000 (O)
|
||||
|
||||
Now, run the PSA API tests in the following order:
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@ SRC_URI = "git://gitlab.arm.com/linux-arm/linux-trusted-services;protocol=https;
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# Tag tee-v1.1.2
|
||||
SRCREV = "8a81f5d2406f146b15a705d49b256efaa5fa3ba9"
|
||||
# Tag tee-v2.0.0
|
||||
SRCREV = "a2d7349a96c3b3afb44bf1555d53f1c46e45a23d"
|
||||
|
||||
COMPATIBLE_HOST = "(arm|aarch64).*-linux"
|
||||
KERNEL_MODULE_AUTOLOAD += "arm-ffa-tee"
|
||||
KERNEL_MODULE_AUTOLOAD += "arm-tstee"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${includedir}
|
||||
install -m 0644 ${S}/uapi/arm_ffa_tee.h ${D}${includedir}/
|
||||
install -m 0644 ${S}/uapi/arm_tstee.h ${D}${includedir}/
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
obj-m := arm-ffa-tee.o
|
||||
obj-m := arm-tstee.o
|
||||
|
||||
SRC := $(shell pwd)
|
||||
|
||||
@@ -10,8 +10,8 @@ SRC_URI += "file://tee-udev.rules \
|
||||
|
||||
OECMAKE_SOURCEPATH="${S}/deployments/libts/${TS_ENV}"
|
||||
|
||||
DEPENDS += "arm-ffa-tee arm-ffa-user"
|
||||
RRECOMMENDS:${PN} += "arm-ffa-tee"
|
||||
DEPENDS += "arm-tstee arm-ffa-user"
|
||||
RRECOMMENDS:${PN} += "arm-tstee"
|
||||
|
||||
# Unix group name for dev/tee* ownership.
|
||||
TEE_GROUP_NAME ?= "teeclnt"
|
||||
|
||||
Reference in New Issue
Block a user