diff --git a/edk2-platforms b/edk2-platforms index cf5d0a4..ba60f3c 160000 --- a/edk2-platforms +++ b/edk2-platforms @@ -1 +1 @@ -Subproject commit cf5d0a48c1d931faba506b2c22f8853f8f9f2749 +Subproject commit ba60f3cc562c94ed748c9b317490dfd9f1db5d23 diff --git a/scripts/qemu.sh b/scripts/qemu.sh index 2a84459..a4dc7d4 100755 --- a/scripts/qemu.sh +++ b/scripts/qemu.sh @@ -20,6 +20,11 @@ MODEL_DIR="$(realpath "models/${MODEL}")" kvm -M q35 -m 1024 -vga std \ -bios "build/${MODEL}/coreboot.rom" \ -chardev stdio,mux=on,id=debug \ - -device isa-serial,chardev=debug \ + -device isa-serial,iobase=0x3e8,irq=4,chardev=debug \ -device isa-debugcon,iobase=0x402,chardev=debug \ "$@" + +# COM1: -device isa-serial,iobase=0x3f8,irq=4,chardev=debug +# COM2: -device isa-serial,iobase=0x2f8,irq=3,chardev=debug +# COM3: -device isa-serial,iobase=0x3e8,irq=4,chardev=debug +# COM4: -device isa-serial,iobase=0x2e8,irq=3,chardev=debug