RUNCOREBOOT 399 B

1234567
  1. #!/bin/bash
  2. set -e
  3. set -x
  4. # this uses a coreboot built for emulation/q35, with a tianocore payload.
  5. # you MUST use -machine q35 for coreboot to work.
  6. qemu-system-x86_64 -machine q35 -net user -net nic,model=virtio -m 1024 -drive if=none,id=stick,format=raw,file=plan9-usb.img -device usb-ehci,id=ehci -device usb-storage,bus=ehci.0,drive=stick -boot menu=on -bios coreboot.rom -serial stdio $*