Difference between revisions of "ERIKA3 on the Jailhouse hypervisor"

From ERIKA WIKI
Jump to: navigation, search
Line 8: Line 8:
 
The build process will create a <code>.bin</code> file.
 
The build process will create a <code>.bin</code> file.
 
You can then:
 
You can then:
# Create the jailhouse cell for ERIKA: <code>jailhouse cell create <cell_file></code>
+
# Create the jailhouse cell for ERIKA: <code>sudo jailhouse cell create <cell_file></code>
# Load the ERIKA binary file in the cell: <code>jailhouse cell load <cell_name> <binary_file></code>)
+
# Load the ERIKA binary file in the cell: <code>sudo jailhouse cell load <cell_name> <binary_file></code>)
# Start ERIKA: <code>jailhouse cell start <cell_name></code>
+
# Start ERIKA: <code>sudo jailhouse cell start <cell_name></code>
  
 
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 15:07, 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. You can then:

  1. Create the jailhouse cell for ERIKA: sudo jailhouse cell create <cell_file>
  2. Load the ERIKA binary file in the cell: sudo jailhouse cell load <cell_name> <binary_file>)
  3. Start ERIKA: sudo jailhouse cell start <cell_name>

You can refer to [1] for the documentation about running Jailhouse on the Nvidia Jetson TX1 board (already supported by ERIKA Enterprise).