AnsweredAssumed Answered

Ls1020a porting openil, optee function verification failed

Question asked by chaopei long on Apr 3, 2019
Latest reply on Apr 10, 2019 by Pavel Chubakov

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?