Open fanghuaqi opened 1 year ago
Feel free to take a try, and give us feedback.
Hello, an error was reported during the "make run_qemu" process: qemu system iscv64: unsupported machine type 'nuclei_u'. How can I resolve it? Thank you
You forget to download qemu, and set PATH, see above notes
wget -q https://nucleisys.com/upload/files/toochain/qemu/nuclei_qemu-2023.07.19-linux.zip
unzip nuclei_qemu-2023.07.19-linux.zip
export PATH=$(pwd)/linux_qemu/bin:$PATH
Could you check which qemu-system-riscv64
to see which qemu you are really using? maybe your system has different qemu installed, you need to verify you are using the one downloaded.
Sorry, I previously added 'export PATH=$(pwd)/Linux'_ Qemu/bin: $PATH "has been added to the~/. bashrc file and can now be run. If possible, could you tell me the difference between the two? Thank you
There is another issue, after executing make run qemu, it got stuck in this interface. How can I solve it? Thank you
qemu-system-riscv64 --version
, another one, I suppose you are download it from our website, it is a official release 2022.12.work
directory under nuclei linux sdk, and make sure you are on feature/optee_5.10
branch, and git submodule updated successfully, and no local changes have been made, and then rebuild this sdk. We also post sample git output in this issue.Thanks
Hello, I just came into contact with the Riscv and tee fields, and I have another question. May I ask if this project uses qemu/spike to simulate the Riscv environment?
Hi @JESSIY225 , thanks for contact with me, here are some brief answer below:
If you are looking for help with RISC-V architecture, please check isa manual here, if your research team are interested in commerical risc-v cpu product with TEE feature, you can contact with me, I can introduce our company sales to you.
Thanks
Recently, we have open source our OpTEE hardware and software solution in this repo, see https://github.com/OP-TEE/optee_os/issues/6173, and now we also implement required hardware feature in Nuclei QEMU, so you can take a try with it.
General steps
Here are the basic steps to try it:
About how to check optee tests and examples, please check https://github.com/Nuclei-Software/nuclei-linux-sdk/blob/feature/optee_5.10/optee/README_en.md#start-and-running-log
Sample
git submodule
output as below(until 2023.07.19):Update
2023.08.11
Regarding facing issue of get source code or building linux sdk, we provide prebuilt qemu images, which can be executed directly using qemu, you can download this prebuilt qemu optee images, and directly try it.
Full run log see optee_5.10_full_runlog.txt
We also provide a docker image
docker.io/nucleisoftware/linuxsdk:optee
, in this docker, the source code is checkout tofeature/optee_5.10
branch and requried software are installed,sudo
password isriscv123
.