Ls1020a porting openil, optee function verification failed

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

Ls1020a porting openil, optee function verification failed

542 Views
1784857911
Contributor I

Hi, I am currently porting openil on the ls1020a board and failing to verify the optee function.

I build the openil project with

make nxp_ls1021atsn_optee-sb_defconfig&&make 2>&1 | tee build.log

and get sdcard.img, rootfs.ext2.gz.uboot, ls1021a-tsn.dtb, uImage, tee.bin and other files.

I burned rootfs.ext2.gz.uboot, ls1021a-tsn.dtb, uImage to the board on the uboot command line, and boot the system with

bootm 83000000 88000000 8f000000

However, after startup, the tee device node dev/teepriv0 is not generated, 

Dmesg | grep tee

Optee: probing for conduit method from DT.

Optee: api uid mismatch

Why?Is it because I had not burned the optee firmware?

Because my board does not have an sdcard interface, I can not burn the sdcard.img. Is there any other way to burn the optee firmware? Is there any detailed guidance document in this regard?

Labels (1)
0 Kudos
1 Reply

448 Views
Pavel
NXP Employee
NXP Employee

See the Section 5.2.4.3 of LSDK 19.03 documentation about compile OP-TEE binary:

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


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos