DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1011743358
@gaojunjie03
> optee的案例可以跑 rust的案例不行
找一下OP-TEE examples TA的位置,把Rust的TA也放在那个目录。OP-TEE examples TA的UUID:
https://optee.readthedocs.io/en/latest/b
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1009679980
@gaojunjie03
> 如果我要运行在qemu,还得要继续执行这些吗?
需要。如果要在QEMU中运行,需要先clone OP-TEE repo,QEMU是在OP-TEE repo里build的。
整个流程是先在Teaclave TrustZone SDK中build
exa
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1009642950
@gaojunjie03
> 我看你们的dockerfile的ubuntu也是20.04版本的,不会报这个错?
我们的dockerfile是用来编译的。运行是在QEMU里,用的是这个文档build的image:https://teaclave.apache.org/trustzone-
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1009600896
@gaojunjie03
> 之前报的在make toolchains报的buildroot错是这样的:
因为我们之前编译examples的host都是x86_64,在这种情况下`make
toolchains`会下载prebuilt的toolchain。你的host架构是aarch6
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-wi
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1009528306
> 然后怎么运行案例?我make
examples成功了,我进入其中一个案例,hello_world-rs/host/target/aarch64-unknown-linux-gnu/release
运行./hello_world-rs 报错了。
@gaojunjie03
CA和TA需要在arm
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1008775976
Hi @gaojunjie03
> 在每一步make之前都有执行这个source environment的
我用Dockerfile build的image里按步骤编译没有报错,或许重新run一个编译环境试试?
另外,optee/目录下是不需要有buildr
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1008698951
Hi @gaojunjie03
> 完了之后,根据(2)得到的镜像就开始git submodule update --init -- optee 然后make
toolchains(这里我把make optee 拆成了make toolchains、make optee-os、make
o
DemesneGH commented on issue #55:
URL:
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/55#issuecomment-1008645944
Hi @gaojunjie03
Have you followed the [Getting
Started](https://github.com/apache/incubator-teaclave-trustzone-sdk#getting-started)
documents?
Or you