ATF compilation for imx8m mini

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

ATF compilation for imx8m mini

3,787 Views
borisshapiro
Contributor II

Hi.

Can you please provide the steps to compile ATF for imx8m mini?

I tried with

make PLAT=imx8mm SPD=opteed bl31 CROSS_COMPILE=aarch64-linux-gnu-

But then I only get the SPL prompt and it never reaches u-boot.

I use imx-atf - i.MX ARM Trusted firmware  branch imx_4.9.123_imx8mm_ga

Please help!

Thank you

Labels (1)
Tags (3)
0 Kudos
Reply
2 Replies

3,368 Views
igorpadykov
NXP Employee
NXP Employee

Hi Boris

it is recommended to use more new versions like L4.14.98, adjusting

it with used uboot/linux versions.

imx-atf - i.MX ARM Trusted firmware 

For i.MX8M Mini detailed build steps can be found on

Boundary Devices 

https://developer.solid-run.com/article-categories/i-mx8m-software/ 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

3,368 Views
borisshapiro
Contributor II

Hi.

I also tried branch imx_4.14.78_1.0.0_ga and the results are the same:

When I compile without SPD=opteed then u-boot starts successfully, but I get error of 'api uid mistmatch' when the op-tee kernel driver is loaded and no tee device is created in /dev/.

When I compile with SPD=opteed then it hangs between SPL and u-boot.

0 Kudos
Reply