tool: qemu support for UEFI boot
- add UEFI firmware for Qemu Issue #2242
This commit is contained in:
parent
3aca3256c6
commit
9f9c5a3166
|
@ -45,3 +45,18 @@ code respectively the download source of binaries are described below.
|
||||||
commit 972765fe8245cdf44d465329f33b5aa9ac6c2f47.
|
commit 972765fe8245cdf44d465329f33b5aa9ac6c2f47.
|
||||||
|
|
||||||
The following modules were included: part_msdos iso9660 part_gpt ext2 multiboot multiboot2 fat normal configfile setpci serial efi_uga efi_gop
|
The following modules were included: part_msdos iso9660 part_gpt ext2 multiboot multiboot2 fat normal configfile setpci serial efi_uga efi_gop
|
||||||
|
|
||||||
|
:'tianocore.bin'
|
||||||
|
|
||||||
|
Open Virtual Machine Firmware (OVMF) developed by
|
||||||
|
http://www.tianocore.org/ovmf. OVMF is an project to enable UEFI support for
|
||||||
|
Virtual Machines. This UEFI binary is supposed to be used with QEMU.
|
||||||
|
|
||||||
|
The UEFI firmware was built based on the description of
|
||||||
|
|
||||||
|
https://github.com/tianocore/tianocore.github.io/wiki/How-to-build-OVMF
|
||||||
|
|
||||||
|
and the source code has been obtained from
|
||||||
|
|
||||||
|
https://github.com/tianocore/edk2.git
|
||||||
|
git commit 6e5e544f227f031d0b45828b56cec5668dd1bf5b
|
||||||
|
|
BIN
tool/boot/tianocore.bin
Normal file
BIN
tool/boot/tianocore.bin
Normal file
Binary file not shown.
|
@ -83,12 +83,13 @@ proc run_power_on { } {
|
||||||
} else {
|
} else {
|
||||||
if {[have_include "image/disk"]} {
|
if {[have_include "image/disk"]} {
|
||||||
append qemu_args " -hda [run_dir].img "
|
append qemu_args " -hda [run_dir].img "
|
||||||
|
} else {
|
||||||
|
if {[have_include "image/uefi"]} {
|
||||||
|
append qemu_args " --bios [genode_dir]/tool/boot/tianocore.bin -net none -drive format=raw,file=[run_dir].img "
|
||||||
} else {
|
} else {
|
||||||
puts "Aborting, cannot execute Qemu without a ISO or disk image"
|
puts "Aborting, cannot execute Qemu without a ISO or disk image"
|
||||||
exit -4
|
exit -4
|
||||||
}
|
} } } }
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# on ARM, we supply the boot image as kernel
|
# on ARM, we supply the boot image as kernel
|
||||||
|
|
Loading…
Reference in New Issue
Block a user