Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ovmf: Copy OVMF ROM and license from fiano #162

Merged
merged 2 commits into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,10 @@ pebble:
PEBBLE_VA_ALWAYS_VALID=1 go run github.com/letsencrypt/pebble/cmd/pebble \
-dnsserver locahost:6053 \
-config config/sim-pebble.json

run-ovmf:
qemu-system-x86_64 -bios $(ROOT_DIR)integration/ovmf.rom \
-display none \
-chardev socket,id=host,path=host.uart \
-serial chardev:host \
-net none
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ Trying out u-bmc is easiest using the simulator. To launch it, run:
```
# Launch a local ACME server
make pebble &
# (Optional) Launch a local emulated BIOS to produce some data on the UART
make run-ovmf &
# Launch u-bmc simulator
make sim
```
Expand Down
32 changes: 32 additions & 0 deletions integration/ovmf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# OVMF

OVMF is used to provide realistic data on the UART line when running u-bmc
in a simulator.

EDK2 is open-source UEFI firmware, governed under a BSD license and can be
redistributed. OVMF is a EDK2 configuration which can run under QEMU.

## Build Notes

- OS: `Ubuntu 16.04.4 LTS xenial`
- Git tag: `vUDK2018`
- GCC version: `gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609`
- Build is not reproducible.
- Find instructions at: https://wiki.ubuntu.com/UEFI/EDK2

Parameters:

```
ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc
BUILD_RULE_CONF = Conf/build_rule.txt
TARGET_ARCH = X64
TARGET = DEBUG
TOOL_CHAIN_CONF = Conf/tools_def.txt
TOOL_CHAIN_TAG = GCC5
```

## Running in QEMU

```
qemu-system-x86_64 -bios ovmf.rom -nographic -net none
```
Binary file added integration/ovmf.rom
Binary file not shown.