How to use ATF TSP in imx8m mini?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ATF TSP in imx8m mini?

244 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
2 Replies

37 Views
LeonGu
Contributor III

MX8MMini  can not  boot Coustomer  OS.bin  from  ATF?

0 Kudos

169 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