You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/10/28 06:27:55 UTC

[GitHub] [incubator-teaclave-trustzone-sdk] xglreal opened a new issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

xglreal opened a new issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51


   What mk (qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk etc.) should I use when installing the OP-TEE on physical machine?
   
   Here is the error during build the toolchains:
   
       **make -C /root/incubator-teaclave-trustzone-sdk/optee/build -f hikey960.mk toolchains
       make[1]: Entering directory '/root/incubator-teaclave-trustzone-sdk/optee/build'
       Building aarch64 toolchain
       build/br-ext/scripts/make_def_config.py --br buildroot --out out-aarch64-sdk --br-ext build/br-ext --top-dir /root/incubator-teaclave-trustzone-sdk/optee/build/.. --br-defconfig build/br-ext/configs/sdk-aarch64 --br-defconfig build/br-ext/configs/sdk-common --make-cmd make
       make[2]: Entering directory '/root/incubator-teaclave-trustzone-sdk/optee'
       make[2]: *** buildroot: No such file or directory.  Stop.**
   
   


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
DemesneGH commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-957340300


   Hi @xglreal ,
   There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it.
   You can check [the list of supported devices in OP-TEE documentation](https://optee.readthedocs.io/en/latest/general/platforms.html).
   When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. `qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk`) according to OP-TEE documentation.
   
   After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is `qemu_v8.mk` for compiling arm64 applications, no need to change it.
   
   So maybe you could:
   1. Check whether Kunpeng supports OP-TEE;
   2. Clone OP-TEE repo and compile OP-TEE OS;
   3. Install OP-TEE OS on your Kunpeng device;
   4. In Teaclave TrustZone SDK, set `OPTEE_DIR` to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in `/examples`);
   5. Copy Rust applications to your device.
   


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
DemesneGH commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-960532331


   > Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?
   
   @xglreal Maybe you should look at the documentation of Kunpeng chips to find some guidance, e.g. steps for entering maskrom mode or recovery mode, steps for replacing bl32 ( TEE OS ) firmware of the device. 


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
DemesneGH commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-957340300


   Hi @xglreal ,
   There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it.
   You can check [the list of supported devices in OP-TEE documentation](https://optee.readthedocs.io/en/latest/general/platforms.html).
   When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. `qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk`) according to OP-TEE documentation.
   
   After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is `qemu_v8.mk` for compiling arm64 applications, no need to change it.
   
   So maybe you could:
   1. Check whether Kunpeng supports OP-TEE;
   2. Clone OP-TEE repo and compile OP-TEE OS;
   3. Install OP-TEE OS on your Kunpeng device;
   4. In Teaclave TrustZone SDK, set `OPTEE_DIR` to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in `/examples`);
   5. Copy Rust applications to your device.
   


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
DemesneGH commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-957340300


   Hi @xglreal ,
   There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it.
   You can check [the list of supported devices in OP-TEE documentation](https://optee.readthedocs.io/en/latest/general/platforms.html).
   When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. `qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk`) according to OP-TEE documentation.
   
   After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is `qemu_v8.mk` for compiling arm64 applications, no need to change it.
   
   So maybe you could:
   1. Check whether Kunpeng supports OP-TEE;
   2. Clone OP-TEE repo and compile OP-TEE OS;
   3. Install OP-TEE OS on your Kunpeng device;
   4. In Teaclave TrustZone SDK, set `OPTEE_DIR` to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in `/examples`);
   5. Copy Rust applications to your device.
   


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] xglreal commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
xglreal commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-960525394


   > Hi @xglreal , There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it. You can check [the list of supported devices in OP-TEE documentation](https://optee.readthedocs.io/en/latest/general/platforms.html). When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. `qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk`) according to OP-TEE documentation.
   > 
   > After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is `qemu_v8.mk` for compiling arm64 applications, no need to change it.
   > 
   > So maybe you could:
   > 
   >     1. Check whether Kunpeng supports OP-TEE;
   > 
   >     2. Clone OP-TEE repo and compile OP-TEE OS;
   > 
   >     3. Install OP-TEE OS on your Kunpeng device;
   > 
   >     4. In Teaclave TrustZone SDK, set `OPTEE_DIR` to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in `/examples`);
   > 
   >     5. Copy Rust applications to your device.
   
   Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org


[GitHub] [incubator-teaclave-trustzone-sdk] xglreal commented on issue #51: How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

Posted by GitBox <gi...@apache.org>.
xglreal commented on issue #51:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/51#issuecomment-960537028


   > > Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?
   > 
   > @xglreal Maybe you should look at the documentation of Kunpeng chips to find some guidance, e.g. steps for entering maskrom mode or recovery mode, steps for replacing bl32 ( TEE OS ) firmware of the device.
   
   Got it. Very Thanks.


-- 
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: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org