Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update OVMF to 20161202
  • Loading branch information
djphoenix committed Aug 5, 2017
1 parent ad145f9 commit b7c740b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions makefiles/deps.mk
Expand Up @@ -12,8 +12,8 @@ DEP_SYSLINUX_VER = 6.03
DEP_SYSLINUX_URL = https://www.kernel.org/pub/linux/utils/boot/syslinux/6.xx/syslinux-6.03.zip
DEP_SYSLINUX_FILE = syslinux-$(DEP_SYSLINUX_VER).zip

DEP_OVMF_VER = r15214
DEP_OVMF_URL = http://netcologne.dl.sourceforge.net/project/edk2/OVMF/OVMF-X64-r15214.zip
DEP_OVMF_FILE = ovmf-$(DEP_OVMF_VER).zip
DEP_OVMF_VER = 20161202
DEP_OVMF_URL = http://mirrors.kernel.org/ubuntu/pool/universe/e/edk2/ovmf_0~20161202.7bbe0b3e-1_all.deb
DEP_OVMF_FILE = ovmf-$(DEP_OVMF_VER).deb

$(foreach d,$(DEP_LIST),$(eval $(call DOWN_RULE,$(d))))
4 changes: 2 additions & 2 deletions makefiles/utils.mk
Expand Up @@ -21,7 +21,7 @@ all: check

$(EFIBIOS): deps/$(DEP_OVMF_FILE)
@ mkdir -p $(dir $@)
$(Q) unzip -p deps/$(DEP_OVMF_FILE) OVMF.fd > $@
$(Q) tar xOf deps/$(DEP_OVMF_FILE) data.tar.xz | tar xO './usr/share/ovmf/OVMF.fd' > $@

$(EFIKERN): $(BIN)
@ mkdir -p $(dir $@)
Expand All @@ -31,4 +31,4 @@ launch: $(BIN)
$(QEMU) -kernel $< -smp cores=2,threads=2 -cpu Broadwell -serial stdio

launch-efi: $(EFIKERN) $(EFIBIOS)
$(QEMU) -drive file=fat:$(EFIROOT) -smp cores=2,threads=2 -cpu Broadwell -bios $(EFIBIOS) -serial stdio
$(QEMU) -drive file=fat:rw:$(EFIROOT),format=raw,media=disk -smp cores=2,threads=2 -cpu Broadwell -bios $(EFIBIOS) -serial stdio

0 comments on commit b7c740b

Please sign in to comment.