iMX8M Plus Trusty OS problem

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

iMX8M Plus Trusty OS problem

Jump to solution
522 Views
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 Kudos
Reply
1 Solution
273 Views
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

View solution in original post

0 Kudos
Reply
9 Replies
339 Views
domenicoacri
Contributor III

Hi,

Is there anyone who can help me regarding this post?

 

BR

Domenico Acri

0 Kudos
Reply
484 Views
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 Kudos
Reply
451 Views
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 Kudos
Reply
447 Views
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 Kudos
Reply
431 Views
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 Kudos
Reply
428 Views
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 Kudos
Reply
426 Views
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 Kudos
Reply
394 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

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

 

Regards

0 Kudos
Reply
274 Views
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 Kudos
Reply