DemesneGH commented on issue #55: URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1009547811
@gaojunjie03 > 执行到最后的make examples 这篇文档写的是build examples的步骤。在QEMU上运行examples的步骤需要看https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/ 。 如果是运行在物理机,不需要安装QEMU,make examples后: 1. 拷贝TA到`/lib/optee_armtz/` 2. 拷贝optee_client/out下编译出的libteec.so.* 到系统lib目录,拷贝`tee-supplicant` 3. `$ tee-supplicant &` 4. `$ ./hello_world-rs` > 是否不能在docker上 运行`tee-supplicant`需要root权限,并且需要访问host的`/dev/tee0`和`/dev/tee_priv0`设备。建议先用QEMU或物理机跑通之后,再尝试在docker里跑。 > /lib/optee_armtz/ 这个目录在哪?没看见... `/lib/optee_armtz/`没有就自己建一个。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
