iMX8M Plus Trusty OS problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8M Plus Trusty OS problem

ソリューションへジャンプ
521件の閲覧回数
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 解決策
272件の閲覧回数
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 返答(返信)
338件の閲覧回数
domenicoacri
Contributor III

Hi,

Is there anyone who can help me regarding this post?

 

BR

Domenico Acri

0 件の賞賛
返信
483件の閲覧回数
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 件の賞賛
返信
450件の閲覧回数
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 件の賞賛
返信
446件の閲覧回数
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 件の賞賛
返信
430件の閲覧回数
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 件の賞賛
返信
427件の閲覧回数
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 件の賞賛
返信
425件の閲覧回数
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 件の賞賛
返信
393件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

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

 

Regards

0 件の賞賛
返信
273件の閲覧回数
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 件の賞賛
返信