Project

General

Profile

Jailhouse [WIP]

Both the AM6254 and the AM62P54 processors include a hypervisor.

TI has ported the hypervisor control to support using the Seimen's jailhouse controller, which provides the ability to isolate the Cortex A53 cores and run independent software images on them. TI documents how to build jailhouse images on their processor SDK manuals in section 10.0.

Critical Link has adapted the examples provided by TI to run on the 2 GB versions of the MitySOM-AM62x and the MitySOM-AM62P processors, and also on the 8 GB MitySOM-AM62P module. The inmate console port was changed from UART1 to UART2 as the MitySOM-AM62x Development Kit allocates all of the UART1 pins to alternate functions. The UART2 pins that a mapped to the expansion header may be used to monitor the console output of the examples.

modprobe jailhouse
cd /usr/share/jailhouse
root@mitysom-am62px:/usr/share/jailhouse# ./linux-demo.sh
root@mitysom-am62px:/usr/share/jailhouse# ifconfig enp0s1 192.168.0.2
root@mitysom-am62px:/usr/share/jailhouse# ping 192.168.0.3
root@mitysom-am62px:/usr/share/jailhouse# ivshmem-demo
root@mitysom-am62px:/usr/share/jailhouse# jailhouse cell shutdown 1
root@mitysom-am62px:/usr/share/jailhouse# jailhouse cell destroy 1
root@mitysom-am62px:/usr/share/jailhouse# cd cells
root@mitysom-am62px:/usr/share/jailhouse/cells# jailhouse cell create k3-mitysom-am62p-devkit-8GB-inmate-demo.cell
root@mitysom-am62px:/usr/share/jailhouse/cells# cd ../inmates
root@mitysom-am62px:/usr/share/jailhouse/inmates# jailhouse cell load 1 uart-demo.bin
root@mitysom-am62px:/usr/share/jailhouse/inmates# jailhouse cell start 1

Go to top
Add picture from clipboard (Maximum size: 1 GB)