On VirtualBox 5.2.18? Not on hardware. Does that make a difference?
make sim
will compile fine
but will get stuck during boot at/after
[ 0.176795] NET: Registered protocol family 17
[ 0.177780] bootconsole [early0] uses init memory and must be disabled even before the real one is ready
[ 0.178880] bootconsole [early0] disabled
latest source has this problem on my configuration Ubuntu 16.04.5 LTS amd64 4GB RAM.
The default serial driver is the one that works best on the HiFive Unleashed hardware, and it unfortunately does not work on spike. You need a patch to enable the old one. Yet another item we should add to the new README file.
diff --git a/conf/linux_defconfig b/conf/linux_defconfig
index cd87340..87b480f 100644
--- a/conf/linux_defconfig
+++ b/conf/linux_defconfig
@@ -53,7 +53,7 @@ CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_SIFIVE=y
CONFIG_SERIAL_SIFIVE_CONSOLE=y
-# CONFIG_HVC_RISCV_SBI is not set
+CONFIG_HVC_RISCV_SBI=y
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_HW_RANDOM is not setwhich
CONFIG_I2C=y