When jailhouse is started automatically (relatively early) during the
boot, something in the user space reads from 0xf0000 (see below),
which is not allowed by Jailhouse memory map. So far it is not clear
what it is and what it tries to read. According to TX2 memory map,
nothing should be there.
Unhandled data read at 0xf0000(1)
FATAL: unhandled trap (exception class 0x24)
Cell state before exception:
pc:
0000007f9a22fb40 lr:
000000557e594360 spsr:
20000000 EL0
dpkg -i jailhouse_*.deb
-Then, after rebooting choose "prem kernel and jailhouse" entry from
-the extlinux boot menu. Jailhouse will start automatically during the
-boot. You can use `systemctl` command to see its status, stop it etc.:
+After rebooting, choose "prem kernel and jailhouse" entry from the
+extlinux boot menu. Once the stsren boots, use `systemctl` command to
+start/stop jailhouse:
- systemctl {status|start|stop} jailhouse
+ systemctl {start|stop|status} jailhouse
rm -f _install.deb/lib/modules/*/source _install.deb/lib/modules/*/build
install -D ./rootfs-overlay/etc/init.d/S20jailhouse.sh $(DESTDIR)/etc/init.d/jailhouse
install -m644 -D ./rootfs-overlay/etc/systemd/system/jailhouse.service $(DESTDIR)/lib/systemd/system/jailhouse.service
- install -d $(DESTDIR)/lib/systemd/system/multi-user.target.wants/
- ln -sf ../jailhouse.service $(DESTDIR)/lib/systemd/system/multi-user.target.wants/jailhouse.service
+ #install -d $(DESTDIR)/lib/systemd/system/multi-user.target.wants/
+ #ln -sf ../jailhouse.service $(DESTDIR)/lib/systemd/system/multi-user.target.wants/jailhouse.service
# Note: --root-owner-group requires dpkg version 1.19.0+
dpkg-deb --root-owner-group --build $(DESTDIR) .