linux4sam / meta-atmel

OpenEmbedded/Yocto Project layer for for Microchip SoC (aka AT91)
https://www.linux4sam.org/bin/view/Linux4SAM/YoctoProject
MIT License
91 stars 120 forks source link

Yocto meta-atmel ( kirkstone ): how to add PKCS#11 TA in build #260

Open SimoneBongini opened 1 year ago

SimoneBongini commented 1 year ago

Hello,

i’m not able to add fd02c9da-306c-48c7-a49c-bbd827ae86ee.ta PKCS#11 Trusted Application to my build. I already added

IMAGE_INSTALL:append = " optee-os optee-test optee-examples optee-client"

in my image recipe. Moreover I added an optee-os_%.bbappend that

COMPATIBLE_MACHINE = "sama5d27-sd96"

# Added DEBUG=1 CFG_TEE_CORE_LOG_LEVEL=4 CFG_TEE_CORE_DEBUG=y to enable a more verbose debug
EXTRA_OEMAKE += " DEBUG=1 CFG_TEE_CORE_LOG_LEVEL=4 CFG_TEE_CORE_DEBUG=y CFG_NS_ENTRY_ADDR=0x23f00000 CFG_PKCS11_TA=y CFG_TEE_TA_LOG_LEVEL=4 CFG_UNWIND=y"

But I'm not able to find fd02c9da-306c-48c7-a49c-bbd827ae86ee.ta in /lib/optee_armtz

How I can do it?

Thanks in advance, Simone