mirror of
https://github.com/BlankOn/ovmf-blobs
synced 2024-11-23 05:11:22 +03:00
Initial commit
This commit is contained in:
commit
fac3a41fd7
46
README.md
Normal file
46
README.md
Normal file
@ -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 ....<other qemu options>....
|
||||
```
|
||||
|
||||
### 64-bit UEFI in 64-bit system
|
||||
|
||||
```
|
||||
qemu-system-x86_64 -bios ~/src/blkn/efi/bios64.bin ....<other qemu options>....
|
||||
```
|
||||
|
||||
### 32-bit UEFI in 32-bit system (emulating old Macs
|
||||
|
||||
```
|
||||
qemu-system-i386 -bios ~/src/blkn/efi/bios32.bin ....<other qemu options>....
|
||||
```
|
BIN
bios32.bin
Normal file
BIN
bios32.bin
Normal file
Binary file not shown.
BIN
bios64.bin
Normal file
BIN
bios64.bin
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user