rumpk/run.sh

23 lines
413 B
Bash
Executable File

#!/bin/bash
# Rumpk QEMU Boot Script
RUMPK_DIR="$(cd "$(dirname "$0")" && pwd)"
KERNEL="$RUMPK_DIR/zig-out/bin/rumpk.elf"
if [ ! -f "$KERNEL" ]; then
echo "ERROR: Kernel not found at $KERNEL"
echo "Run ./build.sh first"
exit 1
fi
echo "🚀 Booting Rumpk..."
echo " Kernel: $KERNEL"
echo ""
qemu-system-riscv64 \
-M virt \
-cpu max \
-m 512M \
-nographic \
-kernel "$KERNEL"