1 #!/bin/bash
2 #Utility to run integrated cockpit on DRA8xx devices
3 #This script needs to be run on the root cell (cluster VM)
5 monitor_ivi_vm() {
6 sleep 100
7 ti-heartbeat-are-you-there
8 }
11 launch_cluster() {
12 pkill matrix
13 pkill weston
14 sleep 2
15 cluster -d /dev/dri/card0 </dev/null
16 }
17 ####### Start here
18 ##################
20 launch_cluster 2>/dev/null 1>&2 &
22 /usr/share/ti/util-scripts/demo/jailhouse-launch-VM.sh
24 monitor_ivi_vm 2>/dev/null 1>&2 &
26 /usr/share/ti/util-scripts/demo/crash-VM.sh 2>/dev/null 1>&2 &