Difference between revisions of "ERIKA3 on the Jailhouse hypervisor"

From ERIKA WIKI
Jump to: navigation, search
Line 1: Line 1:
 
[https://github.com/siemens/jailhouse Jailhouse] is a type-1 hypervisor developed by Siemens and released as Open-Source software.
 
[https://github.com/siemens/jailhouse 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 <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 export the <code>JAILHOUSE_DIR</code> environment variable equal to the directory containing the Jailhouse built objects.<br>
When running <code>make</code> the build process will create a binary file by linking the ERIKA object file to the Jailhouse inmate library.
+
The build process (started by the <code>make</code> 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 <code>PATH</code> and set the <code>JAILHOUSE_AARCH64_GCCPREFIX</code> environment variable equal to the cross-compiler prefix.
 
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.

Revision as of 14:55, 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 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 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).