Skip to content

YEWPO/y-cca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

y-cca

An Arm CCA Architecture with Planes feature.

πŸ› οΈ Tools

Make sure that all the following tools are installed on your local:

  • python3-pyelftools, python3-venv
  • acpica-tools
  • openssl (debian libssl-dev)
  • libglib2.0-dev, libpixman-1-dev
  • dtc (debian device-tree-compiler)
  • flex, bison
  • make, cmake, ninja (debian ninja-build), curl, rsync
  • tmux
  • aarch64 crossing-compilers

πŸ“Œ Install

❗ Make sure you have at least 40G of disk space. After the compilation is complete, 25G of disk space will be consumed.

The deployment architecture is shown as the following figure:

cca-deploy

First, clone this repository to your local:

git clone https://github.com/YEWPO/y-cca.git

All dependencies list in scripts/init.sh, you can edit it when necessary.

Download dependencies by execute:

make init

Build all dependencies by execute (If you modified the codes, re-run this command is necessary):

make build

By default, the RMM version is v1.0. To build RMM v1.1, execute:

make build RMM_V1_1=ON

πŸš€ Launching System and Realm Guest

Run the CCA system by execute:

make run

We created scripts for QEMU and LKVM to launch Realm Guest, you can use it to launch guest.

Launching Realm Guest by QEMU (❗ Do not support Planes Feature currently):

/mnt/scripts/qemu_realm.sh

Launching Realm Guest by LKVM:

/mnt/scripts/lkvm_realm.sh

In order to debug the exception simply, you can modify the lkvm_realm.sh script to change the -c 2 to -c 1.

πŸ”— Code Base

About

Arm CCA with Planes feature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors