How to use ATF TSP in imx8m mini?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use ATF TSP in imx8m mini?

1,161 Views
492895314
Contributor I
Hello,

I want to use the TSP provided by ATF.

However, when I build

make PLAT=imx8mm SPD=tspd
Including services/spd/tspd/tspd.mk
bl32/tsp/tsp.mk:33: *** TSP is not supported on platform imx8mm. Stop.

How do I use TSP?
Thanks
Labels (1)
0 Kudos
4 Replies

389 Views
mcuboot
Contributor II

Hi, does it mean that i.MX8M mini does not support trustzone?

0 Kudos

954 Views
LeonGu
Contributor III

MX8MMini  can not  boot Coustomer  OS.bin  from  ATF?

0 Kudos

1,086 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Li,

Using ATF is ARM preferred software structure, i.MX8 uses ATF BL31 to handle PSCI and TEE context switch. Please see https://github.com/ARM-software/arm-trusted-firmware/blob/master/readme.rst

 

ATF can not be removed, the right security level needs to be initialized properly, ATF is running at EL3, while U-boot and Linux OS run at EL2/EL1 normal world, secure OS runs at EL1 secure world.

ATF is first booted, then it loads the u-boot and secure OS.

 

Now many Kernel features depends on ATF, they implemented the functions in ATF. For example, multiple cores boot up, suspend/resume, system reboot, etc. You can also refer the ARM PSCI for these features.

 

For i.MX8QM/QXP, ATF takes 128KB in flash.bin, this could be optimized.

For the MX8MMini this task is not supported

We apologize for the inconvenience.

0 Kudos

388 Views
mcuboot
Contributor II

Hi NXP TechSupport,

 

Does it mean i.MX8M mini does not have ATF support by default?

0 Kudos