Hello everyone,
I am trying to enable OP-TEE on an Pico-Pi i.MX8M Quad from TechNexion board using Yocto, but as soon as I enable OP-TEE, the board stops booting entirely.
With OP-TEE disabled, the system boots normally.
Yocto configuration
I added the following in my machine/distro/image layers:
MACHINE_FEATURES += "optee" DISTRO_FEATURES += "optee" IMAGE_INSTALL += "optee-test optee-os opteeclient"
The build succeeds, and I get tee.bin, bl31.bin, and an updated imx-boot image.
Symptom
When booting the image with OP-TEE enabled, the board appears to lock up immediately.
No output appears on the debug console (Pico-Pi micro-USB UART).
The Pico-Pi has a small LED that normally blinks during boot activity, but with OP-TEE enabled:
the LED turns on and stays constantly lit
it never blinks, suggesting the CPU hangs before SPL/ATF/U-Boot can run
With OP-TEE disabled (removing MACHINE_FEATURES += "optee"), the LED blinks normally during boot and Linux starts without issues.
Has anyone successfully enabled OP-TEE on the i.MX8MQ Pico-Pi using Yocto?
Is there anything board-specific required (dtb, ATF configuration, UART, memory layout, TZASC) ?
Any hints on what I might be missing or what to check next would be greatly appreciated.
Thank you!