eos0/scripts/start.sh

19 lines
275 B
Bash
Executable file

#!/usr/bin/env bash
set -x
KERNEL=$1
shift
cargo build
qemu-system-riscv64 \
-nographic \
-machine virt \
-bios none \
-m 3G \
-kernel "$KERNEL"
# -d trace:exec_tb \
# -smp 3 \
# -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 \