AnsweredAssumed Answered

Do Yocto project support optee-example on imx8mqevk?

Question asked by YEN WU on Oct 6, 2019
Latest reply on Oct 8, 2019 by Bio_TICFSL

Hi all,


Do NXP Yocto project support optee-example and optee-benchmark on iMX8mqevk? I do check the meta-imx-optee tree, but only found optee-os, optee-client and optee-test.


Is it possible to add this feature in the future? Moreover, I'm working on it, and meet some problems. I have recipe modified from linaro-swg/meta-optee, but bitbake doesn't include the recipe I created on `sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-security/optee-imx`. The line seems to make sense to include the recipe in `meta-fsl-bsp-release/imx/meta-bsp/conf/layer.conf`.


BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \



Moreover, I do append this:

BBFILES += "${LAYERDIR}/recipes-security/optee-imx/"

but the same.



I check the dependency tree,, of target by `bitbake -g fsl-image-validation-imx`. Have no optee-example recipe : ( 


Here is build flow and pass xtest on imx8mqevk:


$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u -b imx-linux-sumo - m imx-4.14.98-2.0.0_ga.xml $: repo sync
$ DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source -b build-wayland
$ bitbake fsl-image-validation-imx