From: Maxim Baryshnikov Date: Wed, 4 May 2016 20:32:05 +0000 (+0200) Subject: overlay: Add start scripts for boot on novabox. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse-test.git/commitdiff_plain/6591b889a8b940bce9767c92cd1463ee040fefd5 overlay: Add start scripts for boot on novabox. --- diff --git a/buildroot-overlay/etc/inittab b/buildroot-overlay/etc/inittab index 4e086e1..f5b4b70 100644 --- a/buildroot-overlay/etc/inittab +++ b/buildroot-overlay/etc/inittab @@ -25,7 +25,7 @@ null::sysinit:/bin/hostname -F /etc/hostname # Put a getty on the serial port #console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL -console::respawn:/bin/login root tty1 /dev/tty1 2>&1 +console::respawn:/bin/login root ttyS0 /dev/ttyS0 2>&1 # Stuff to do for the 3-finger salute ::ctrlaltdel:/sbin/reboot diff --git a/buildroot-overlay/etc/profile.d/S22starttask.sh b/buildroot-overlay/etc/profile.d/S22starttask.sh index 948d092..d50270f 100755 --- a/buildroot-overlay/etc/profile.d/S22starttask.sh +++ b/buildroot-overlay/etc/profile.d/S22starttask.sh @@ -1,4 +1,6 @@ #!/bin/bash set -e; -/root/jailhouse-init.sh -exec /root/fiasco-ferret-bench.sh +/root/jailhouse-init-novabox.sh +#exec /root/fiasco-ferret-bench.sh +#setserial /dev/ttyS0 uart unknown port 0x0 irq 0x0 +exec /root/hpet-demo-test.sh diff --git a/buildroot-overlay/root/jailhouse-init-novabox.sh b/buildroot-overlay/root/jailhouse-init-novabox.sh new file mode 100755 index 0000000..2aab97e --- /dev/null +++ b/buildroot-overlay/root/jailhouse-init-novabox.sh @@ -0,0 +1,2 @@ +modprobe jailhouse +jailhouse enable /jailhouse/configs/novabox.cell diff --git a/buildroot-overlay/root/jailhouse-init.sh b/buildroot-overlay/root/jailhouse-init-qemu.sh similarity index 100% rename from buildroot-overlay/root/jailhouse-init.sh rename to buildroot-overlay/root/jailhouse-init-qemu.sh