Update edk2-platforms, add serial documentation to qemu script

This commit is contained in:
Jeremy Soller
2019-09-26 09:56:52 -06:00
parent bcc76bd7c0
commit 1bf512114c
2 changed files with 7 additions and 2 deletions

View File

@ -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