ls1020a移植openil,optee功能验证失败

cancel
Showing results for 
Search instead for 
Did you mean: 

ls1020a移植openil,optee功能验证失败

401 Views
1784857911
Contributor I

你好,我目前在ls1020a板子上移植openil,在验证optee功能时失败了。

我的编译方式是make nxp_ls1021atsn_optee-sb_defconfig&&make 2>&1 | tee build.log

编译成功后生成了sdcard.img、rootfs.ext2.gz.uboot、ls1021a-tsn.dtb、uImage、tee.bin等文件。

我在uboot命令行分别将rootfs.ext2.gz.uboot、ls1021a-tsn.dtb、uImage烧录到板子上,然后用

bootm 83000000 88000000 8f000000

的方式启动,但启动后,没有生成/dev/teepriv0设备节点,

dmesg | grep tee得到:

optee: probing for conduit method from DT.

optee: api uid mismatch

请问这是什么问题?是因为没有烧录optee的固件的原因而导致吗?

因为我的板子没有sdcard接口,故无法使用烧录sdcard.img的方式进行烧录。请问还有别的方法烧录optee固件的方法吗?有没这方面的详细指导文档?

Labels (1)
Tags (2)
0 Kudos
1 Reply

156 Views
Pavel
NXP TechSupport
NXP TechSupport

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