1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

optee-os: Install OP-TEE OS provided TAs

OP-TEE OS provides a handful of TAs itself. While these are often meant
to be built-in, when they are not we should deploy them as part of the
OP-TEE OS package so they can be loaded at runtime.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Andrew Davis
2023-09-27 17:03:02 -05:00
committed by Ryan Eatmon
parent acddc8924d
commit 11bc9de0c9

View File

@@ -45,6 +45,10 @@ do_install:append() {
install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true
# Install embedded TAs
mkdir -p ${D}${nonarch_base_libdir}/optee_armtz/
install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/
}
optee_deploy_legacyhs() {
@@ -67,5 +71,7 @@ do_deploy:append:k3() {
ln -sf optee/bl32.elf ${DEPLOYDIR}/
}
FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/"
# This is needed for bl32.elf
INSANE_SKIP:${PN}:append:k3 = " textrel"