eos0/scripts/start.sh

20 lines
275 B
Bash
Raw Permalink Normal View History

2024-12-05 18:23:16 +00:00
#!/usr/bin/env bash
2024-12-05 22:58:05 +00:00
set -x
2024-12-05 18:23:16 +00:00
KERNEL=$1
shift
2024-12-16 16:02:41 +00:00
cargo build
2024-12-05 18:23:16 +00:00
qemu-system-riscv64 \
-nographic \
-machine virt \
-bios none \
-m 3G \
-kernel "$KERNEL"
2024-12-05 22:58:05 +00:00
2024-12-05 23:50:22 +00:00
# -d trace:exec_tb \
2024-12-05 22:58:05 +00:00
# -smp 3 \
# -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 \