Hi Shirin,
On Sat, 10 May 2025 at 02:31, Karimi, Shirin Shirin.Karimi@chemelex.com wrote:
Thank you for the quick response. I only want to make Optee work on rpi5, So I followed this https://github.com/xen-troops/meta-xt-rpi5/blob/main/recipes-security/optee/... and added the plat-rpi5 directory and the required files to optee_os. Is there anything else that I should do ?
Well, now you need to build it for the rpi5 platform.
I was not able to quite understand what those other files are for ? like optee-machine.inc , or optee-machine.inc ?
These are parts of the Yocto recipe. If you are not familiar with Yocto - just ignore them. You always can build OP-TEE by hand.
I did this with the following command:
make -j8 PLATFORM=rpi5 CROSS_COMPILE_aarch64=aarch64-linux-gnu- CROSS_COMPILE=arm-none-eabi- CFG_TEE_CORE_LOG_LEVEL=3
This will provide you a working binary, but you'll need means to boot it. Please refer to my previous email about ARM-TF and combined image.