ATF compilation for imx8m mini

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ATF compilation for imx8m mini

3,512 次查看
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

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

3,093 次查看
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 项奖励
回复

3,093 次查看
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 项奖励
回复