]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/summary
 
descriptionnone
last changeWed, 28 Nov 2018 12:45:01 +0000 (13:45 +0100)
readme

Repository with Jailhouse build configuration for Jetson TX2

Building

wget https://debian.pengutronix.de/debian/pool/main/o/oselas.toolchain/oselas.toolchain-2014.12.2-aarch64-v8a-linux-gnu-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized_2014.12.2_amd64.deb
sudo dpkg -i oselas.toolchain-2014.12.2-aarch64-v8a-linux-gnu-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized_2014.12.2_amd64.deb
git submodule update --init
cd build
make

The above cross-compiles the following: Linux kernel, Jailhouse and simple root filesystem.

Building on TX2 (only Jailhouse and Linux)

make jailhouse CROSS_COMPILE=

Booting

Network boot

We use novaboot tool (https://github.com/wentasah/novaboot) to boot the resulting images over network. Use the build/boot script to boot Jailhouse or build/boot-linux to boot plain Linux without starting Jailhouse.

Flash/SD card boot

To boot Linux and Jailhouse without novaboot, create a Debian package by running:

cd build
make deb

Copy the resulting .deb package to the board and install it with

dpkg -i jailhouse_*.deb

After rebooting, choose “prem kernel and jailhouse” entry from the extlinux boot menu. Once the system boots, use systemctl command to start/stop jailhouse:

systemctl {start|stop|status} jailhouse
shortlog
2018-11-28 Michal SojkaUpdate Jailhouse submodule (memguard test inmate) tx2
2018-11-28 Michal SojkaFix the memguard test
2018-11-28 Michal Sojkajailhouse-test: Add test for non-overflowed memory...
2018-11-19 Michal SojkaInstall also all inmate binaries
2018-11-06 Michal Sojkamemguard-test: Do not intermix test results from pralle...
2018-11-05 Michal SojkaRemove long blocking memguard test and switch to memgua...
2018-11-05 Michal SojkaUpdate memgaurd test and add test for throttling correc...
2018-11-01 Michal SojkaFixes to memguard-test
2018-11-01 Joel MatejkaMake memguard-test multithreaded - naive
2018-11-01 Michal Sojkamemguard-test: Implement full wvtest protocol
2018-11-01 Michal SojkaAdd more memguard checks
2018-11-01 Michal Sojkamemguard-test: Add wvtest protocol support
2018-10-31 Michal SojkaRework memguard test
2018-10-30 Michal SojkaUpdate memguard-test
2018-10-30 Michal SojkaAllow easy installation of perf
2018-10-30 Joel MatejkaTest memguard call return value.
...
tags
5 years ago 0.0 Version zero
heads
5 years ago tx2
5 years ago master