Merge branch ‘main’ of github.com:Penglai-Enclave/Penglai-Enclave-TVM
Penglai-Enclave is a scalable enclave system for RISC-V architecture.
You can find more details in our online document: Penglai-doc
Penglai uses Docker for building and uses submodules to track different components.
Therefore, the only requirement to build and run penglai-demo is:
The version for FPGA and RISC-V board is coming soon.
First, download the all the code:
git clone https://github.com/Penglai-Enclave/Penglai-Enclave-TVM.git
Enter the penglai-enclave directory, `cd penglai-enclave
And then,
git submodule update --init --recursive
Last, build penglai using our Docker image:
./docker_cmd.sh build
When the building process finished, you are ready to run the penglai demo.
In the penglai-enclave directory,
./docker_cmd.sh qemu
If everything is fine, you will enter a Linux terminal booted by Qemu with Penglai-installed.
Enter the terminal with the user name: root, and passwords: penglai.
Insmod the enclave-driver
sh install.sh
And the, you can run a demo, e.g., a hello-world enclave, using
./host hello-world
Here, the host is an enclave invoker, which will start an enclave (name from input).
host
Mulan Permissive Software License,Version 1 (Mulan PSL v1)
If you are developing Penglai, please use pull requests on target submodule project (not on the super project).
Please feel free to post your concerns, ideas, code or anything others to issues.
Please refer the wiki for more details
We thank all of our collaborators (companies, organizations, and communities).
The main repo of Penglai Enclave based on RISC-V Trapped Virtual Memory (TVM).
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Penglai-Enclave is a scalable enclave system for RISC-V architecture.
You can find more details in our online document: Penglai-doc
Quick Start
Penglai uses Docker for building and uses submodules to track different components.
Therefore, the only requirement to build and run penglai-demo is:
The version for FPGA and RISC-V board is coming soon.
Building
First, download the all the code:
git clone https://github.com/Penglai-Enclave/Penglai-Enclave-TVM.git
Enter the penglai-enclave directory, `cd penglai-enclave
And then,
git submodule update --init --recursive
Last, build penglai using our Docker image:
./docker_cmd.sh build
When the building process finished, you are ready to run the penglai demo.
Running
In the penglai-enclave directory,
./docker_cmd.sh qemu
If everything is fine, you will enter a Linux terminal booted by Qemu with Penglai-installed.
Enter the terminal with the user name: root, and passwords: penglai.
Insmod the enclave-driver
sh install.sh
And the, you can run a demo, e.g., a hello-world enclave, using
./host hello-world
Here, the
host
is an enclave invoker, which will start an enclave (name from input).License Details
Mulan Permissive Software License,Version 1 (Mulan PSL v1)
Code Structures
Code Contributions
If you are developing Penglai, please use pull requests on target submodule project (not on the super project).
Please feel free to post your concerns, ideas, code or anything others to issues.
Wiki
Please refer the wiki for more details
Collaborators
We thank all of our collaborators (companies, organizations, and communities).