Package: qemu-efi Version: 0~20150106.5c2d456b-1 Tags: patch In order to boot virtual machines compatible with the Linaro ARM VM Specification[1], we need to use a BDS (Boot Device Selection) implementation that will fall back to the removable media path when no other valid boot menu entry is found. The default ARM BDS in EDK2 does not do this, but the Intel one does.
The attached patch switches the build for qemu-efi to use the Intel BDS. [1] https://www.linaro.org/docs/vm-system-specification-arm-processors/
>From d700c55513d610e9b1b1e3852345a00c27a6c5d5 Mon Sep 17 00:00:00 2001 From: dann frazier <da...@debian.org> Date: Tue, 25 Aug 2015 13:04:16 -0600 Subject: [PATCH] qemu-efi: Switch to Intel BDS. This supports a fallback to the removable media path (i.e. \EFI\BOOT\BOOTaa64.EFI) as required by the Linaro VM Specification. --- debian/changelog | 6 ++++++ debian/rules | 1 + 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5a83d95..be6f2ba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,11 +1,17 @@ edk2 (0~20150106.5c2d456b-2) UNRELEASED; urgency=medium + [ Steve Langasek ] * Build-depend on gcc-aarch64-linux-gnu and make qemu-efi an Arch: all package. * Ship OVMF_CODE.fd and OVMF_VARS.fd for proper EFI variable support. Closes: #764918. Continue shipping OVMF.fd too for now, for compatibility. + [ dann frazier ] + * qemu-efi: Switch to Intel BDS. This supports a fallback to the removable + media path (i.e. \EFI\BOOT\BOOTaa64.EFI) as required by the Linaro VM + Specification. + -- Steve Langasek <steve.langa...@ubuntu.com> Fri, 21 Aug 2015 10:00:20 -0700 edk2 (0~20150106.5c2d456b-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index cf8da3c..cd946d1 100755 --- a/debian/rules +++ b/debian/rules @@ -86,6 +86,7 @@ build-qemu-efi: CROSS_COMPILE=$(CROSS_COMPILE) build -a $(EDK2_HOST_ARCH) \ -t $(EDK2_TOOLCHAIN) \ -p ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationQemu.dsc \ + -DINTEL_BDS \ -b RELEASE override_dh_auto_clean: -- 2.5.0