diff --git a/justfile b/justfile index d843608..a32eec2 100644 --- a/justfile +++ b/justfile @@ -80,11 +80,31 @@ _prep: -serial stdio \ -monitor telnet:127.0.0.1:5555,server,nowait +@drun: _image + @echo "๐Ÿš€ Debugging (accel: {{ACCEL_INFO}})..." + qemu-system-aarch64 {{ACCEL}} \ + -machine virt,acpi=off \ + -cpu {{CPU}} \ + -m 512M \ + -device ramfb \ + {{DISPLAY_FLAGS}} \ + -drive if=pflash,format=raw,readonly=on,file={{OVMF_ARM}} \ + -drive file={{IMG_FILE}},format=raw,if=none,id=hd0 \ + -device virtio-blk-device,drive=hd0 \ + -serial stdio \ + -monitor telnet:127.0.0.1:5555,server,nowait + -s -S + @crun: @echo "๐Ÿงน Cleaning and running.." just clean just run +@dcrun: + @echo "๐Ÿงน Cleaning and debugging.." + just clean + just drun + @clean: just Bootloader clean just Kernel clean