commit fac3a41fd77cdacdbc02fd61cfad24aabfb28e2e Author: Mohammad Anwari Date: Thu May 21 09:17:22 2015 +0700 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..23ad5c1 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# UEFI bios for QEMU + +## Building + +### Preparation + +``` +git clone https://github.com/tianocore/edk2.git +cd edk2 + +``` + +### bios32.bin + +``` +OvmfPkg/build.sh -a X32 -n 4 +cp Build/OvmfX64/DEBUG_GCC4?/FV/OVMF.fd bios32.bin +``` + +### bios64.bin + +``` +OvmfPkg/build.sh -a X64 -n 4 +cp Build/OvmfX64/DEBUG_GCC4?/FV/OVMF.fd bios64.bin +``` + + +## Using + +### 32-bit UEFI in 64-bit system (emulating BayTrail) + +``` +qemu-system-x86_64 -bios ~/src/blkn/efi/bios32.bin ........ +``` + +### 64-bit UEFI in 64-bit system + +``` +qemu-system-x86_64 -bios ~/src/blkn/efi/bios64.bin ........ +``` + +### 32-bit UEFI in 32-bit system (emulating old Macs + +``` +qemu-system-i386 -bios ~/src/blkn/efi/bios32.bin ........ +``` diff --git a/bios32.bin b/bios32.bin new file mode 100644 index 0000000..5ae724b Binary files /dev/null and b/bios32.bin differ diff --git a/bios64.bin b/bios64.bin new file mode 100644 index 0000000..1107398 Binary files /dev/null and b/bios64.bin differ