ERIKA3 on the Jailhouse hypervisor
From ERIKA WIKI
Jailhouse is a type-1 hypervisor developed by Siemens and released as Open-Source software.
To build ERIKA3 for Jailhouse, you just need to export the JAILHOUSE_DIR
environment variable equal to the directory containing the Jailhouse built objects.
The build process (started by the make
command) will link the ERIKA object file to the Jailhouse inmate library.
In case of cross-compilation, you also need to put the cross-compiler in the PATH
and set the JAILHOUSE_AARCH64_GCCPREFIX
environment variable equal to the cross-compiler prefix.
The build process will create a .bin
file.
Once Jailhouse has been started, you can:
- Create the jailhouse cell for ERIKA:
sudo jailhouse cell create <cell_file>
- Load the ERIKA binary file in the cell:
sudo jailhouse cell load <cell_name> <binary_file>
- Start ERIKA:
sudo jailhouse cell start <cell_name>
You can refer to the following pages for running ERIKA3 on Jailhouse on some tested platforms: