Difference between revisions of "ERIKA3 on the Jailhouse hypervisor"
Line 2: | Line 2: | ||
To build ERIKA Enterprise for Jailhouse, you just need to set the <code>JAILHOUSE_DIR</code> environment variable equal to the directory containing the Jailhouse built objects. | To build ERIKA Enterprise for Jailhouse, you just need to set the <code>JAILHOUSE_DIR</code> environment variable equal to the directory containing the Jailhouse built objects. | ||
+ | When running <code>make</code> the build process will create a binary file by linking the ERIKA object file to the Jailhouse inmate library. | ||
− | + | In case of cross-compilation, you also need to put the cross-compiler in the <code>PATH</code> and set the <code>JAILHOUSE_AARCH64_GCCPREFIX</code> environment variable equal to the cross-compiler prefix. | |
The build process will create a <code>.bin</code> file. | The build process will create a <code>.bin</code> file. | ||
Once the jailhouse cell for ERIKA has been created (through the <code>jailhouse cell create</code> command), this file can be loaded (through <code>jailhouse cell load <cell_name> <binary_file></code>) and started (through the <code>jailhouse cell start <binary_file></code>). <br> | Once the jailhouse cell for ERIKA has been created (through the <code>jailhouse cell create</code> command), this file can be loaded (through <code>jailhouse cell load <cell_name> <binary_file></code>) and started (through the <code>jailhouse cell start <binary_file></code>). <br> | ||
You can refer to [https://github.com/evidence/linux-jailhouse-tx1] for the documentation about running Jailhouse on the Nvidia Jetson TX1 board (already supported by ERIKA Enterprise). | You can refer to [https://github.com/evidence/linux-jailhouse-tx1] for the documentation about running Jailhouse on the Nvidia Jetson TX1 board (already supported by ERIKA Enterprise). |
Revision as of 14:53, 8 February 2018
Jailhouse is a type-1 hypervisor developed by Siemens and released as Open-Source software.
To build ERIKA Enterprise for Jailhouse, you just need to set the JAILHOUSE_DIR
environment variable equal to the directory containing the Jailhouse built objects.
When running make
the build process will create a binary file by linking 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 the jailhouse cell for ERIKA has been created (through the jailhouse cell create
command), this file can be loaded (through jailhouse cell load <cell_name> <binary_file>
) and started (through the jailhouse cell start <binary_file>
).
You can refer to [1] for the documentation about running Jailhouse on the Nvidia Jetson TX1 board (already supported by ERIKA Enterprise).