iMX8M Plus Trusty OS problem

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

iMX8M Plus Trusty OS problem

跳至解决方案
523 次查看
domenicoacri
Contributor III

Hi,

I'm working on a custom board with iMX8M Plus processor with 4GB of RAM.

I'm trying to enable the Trusty OS to access the RPMB secure storage.

I downloaded the trusty software:

repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-android-12 -m imx-trusty-android-12.0.0_1.0.0_github.xml

repo sync

source trusty/vendor/google/aosp/scripts/envsetup.sh

make -j32 imx8mp

cp build-imx8mp/lk.bin ../android_build/vendor/nxp/fsl-proprietary/uboot-firmware/imx8m/tee-imx8mp.bin

when I boot the Trusty bootloader, I get the following error in attached.

What could be the problem?

If you need other info, let me know.

 

BR

Domenico Acri

 

 

 

 

0 项奖励
回复
1 解答
274 次查看
domenicoacri
Contributor III

Hi,

problem solved.

SPL_CRYPTO_SUPPORT was missing from uboot defconfig,

and I used ATF v.2.6 to support the module with 4GB of RAM.

It wasn't a kernel problem.

 

Thanks for the support.

 

BR

Domenico Acri

在原帖中查看解决方案

0 项奖励
回复
9 回复数
340 次查看
domenicoacri
Contributor III

Hi,

Is there anyone who can help me regarding this post?

 

BR

Domenico Acri

0 项奖励
回复
485 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You would need to follow the instructions on the Android User’s Guide (link below, as this is the latest version, if you want to look for it at a later date you may need to download the documentation package for this BSP)

https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

You can find the instructions to do that in our release user guide. Once you have fused, you cannot change it. So be careful to do that.

regards

 

0 项奖励
回复
452 次查看
domenicoacri
Contributor III

Hi,

Thanks a lot for the answer.

I'm using Android 12. Why do I have to use the Android 14 version?

Anyway, I downloaded the Trusty OS for Android 14.

I compiled and copied the "lk.bin" file.

Now I get several errors in attachment.

What could it be?

 

0 项奖励
回复
448 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

For Android 12 you have to download the documentation package from:

https://www.nxp.com/webapp/sps/download/preDownload.jsp

Regards

0 项奖励
回复
432 次查看
domenicoacri
Contributor III

Hi,

I'm already using this guide, I have the problem reported at the beginning of the post.

 

BR

Domenico Acri

0 项奖励
回复
429 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Per you log, I can not see that is enter to the kernel so its not building the kernel.

Regards

0 项奖励
回复
427 次查看
domenicoacri
Contributor III

Hi,

sorry but I did not understand.

Could you be more specific?

What would be missing from kernel?

In the log file, we are in the uboot.

 

BR

Domenico Acri

 

0 项奖励
回复
395 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Something wrong in the kernel, that's way uboot does not passed to kernel.

 

Regards

0 项奖励
回复
275 次查看
domenicoacri
Contributor III

Hi,

problem solved.

SPL_CRYPTO_SUPPORT was missing from uboot defconfig,

and I used ATF v.2.6 to support the module with 4GB of RAM.

It wasn't a kernel problem.

 

Thanks for the support.

 

BR

Domenico Acri

0 项奖励
回复