Formerly some fooling around with RISC-V, then mostly fooling around with virtio, finally mostly the original repo of RISK-V. The only difference is the S-o-bs and author/committer names. Suffice to say this is still the original.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

debug-compile-and-run.sh 385B

12345678910111213141516
  1. #!/bin/sh
  2. if [ -z "$QEMU" ]; then
  3. echo '$QEMU environment variable not set!' >&2
  4. echo '(must point to qemu-system-riscv64)' 2>&1
  5. exit 1
  6. fi
  7. make clean || exit 1
  8. NOSOUND=1 make -j 4 || exit 1
  9. $QEMU \
  10. -kernel kernel -serial stdio -M virt \
  11. -device virtio-gpu-device,xres=1600,yres=900 \
  12. -device virtio-keyboard-device \
  13. -device virtio-tablet-device \
  14. $@