Displaying 20 results from an estimated 138 matches for "edk2".
2020 Oct 12
4
unable to find any master var store for loader error
Greetings,
I have the following machine: https://dpaste.com/5BPA3F77F which I'm trying to boot in uefi.
/etc/libvirt/qemu.conf looks like this: https://dpaste.com/B3SFHUY6R and the ovmf files exists in the path, see:
# ll /usr/share/edk2-ovmf/OVMF_CODE.fd /usr/share/edk2-ovmf/OVMF_VARS.fd /usr/share/edk2-ovmf/OVMF_CODE.secboot.fd /usr/share/edk2-ovmf/OVMF_VARS.secboot.fd
-rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE.fd
-rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE.secboot.fd...
2020 Oct 13
0
Re: unable to find any master var store for loader error
On 10/12/20 10:52 PM, daggs wrote:
> Greetings,
>
> I have the following machine: https://dpaste.com/5BPA3F77F which I'm trying to boot in uefi.
> /etc/libvirt/qemu.conf looks like this: https://dpaste.com/B3SFHUY6R and the ovmf files exists in the path, see:
> # ll /usr/share/edk2-ovmf/OVMF_CODE.fd /usr/share/edk2-ovmf/OVMF_VARS.fd /usr/share/edk2-ovmf/OVMF_CODE.secboot.fd /usr/share/edk2-ovmf/OVMF_VARS.secboot.fd
> -rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE.fd
> -rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE....
2016 May 22
3
[PATCH 0/2] uefi: Add new locations for UEFI files on Fedora.
https://bugzilla.redhat.com/show_bug.cgi?id=1338083
Now that UEFI is fully open source the UEFI firmware can be included
in Fedora. The location will be slightly different. These patches do
a bit of code rearrangement and add the new paths.
Rich.
2016 Apr 06
2
hdt error on syslinux 6.0.4-pre1?
...I doesn't work at all, but booting in BIOS
> > mode, the kernels all work as in 6.0.3 and all the C32 options work except
> > hdt that gives this error?
> >
>
> Notice the OVMF's genesis - VirtualBox stable/current and QEMU
>
> = VBox/OVMF =
> $ grep -i edk2 VirtualBox-5.0.16/src/VBox/Devices/EFI/Firmware/ReadMe.vbox
> EFI firmware based on the opensource EDK2 project. The current base is
> revision 13361 from: https://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1
>
> https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/EFI/F...
2020 Oct 20
2
possible bug in efi detection for guest
...-5.0'>hvm</type>
<boot dev='hd'/>
</os>
when I run virsh dumpxml streamer-vm-q35, I get this:
<os>
<type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/qemu/edk2-x86_64-secure-code.fd</loader>
<nvram template='/usr/share/qemu/edk2-i386-vars.fd'>/var/lib/libvirt/qemu/nvram/streamer-vm-q35_VARS.fd</nvram>
<boot dev='hd'/>
</os>
question is, why the nvram template is /usr/share/qemu/edk2-i386-vars.fd and not /...
2020 Oct 13
2
Re: unable to find any master var store for loader error
...t;
> I'll paste the interesting part of domain XML here so that it doesn't
> get lost:
>
> <os>
> <type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
> <loader readonly='yes'
> type='pflash'>/usr/share/edk2-ovmf/OVMF_CODE.fd</loader>
> <nvram>/var/lib/libvirt/qemu/nvram/vm1_VARS.fd</nvram>
> <boot dev='hd'/>
> </os>
>
> And then in qemu.conf you define the pair:
>
> nvram = [
> "/usr/share/edk2-ovmf/OVMF_CODE.fd:/usr/shar...
2013 Nov 15
0
Re: [edk2] Passing Xen memory map and resource map to OVMF
.....]
> >
>
> >From a UEFI spec perspective you only need to produce EFI_PCI_ROOT_BRIGE_IO_PROTOCOL and a EFI_PCI_IO_PROTOCOL per device. This is all that is required to make generic UEFI code (all the PCI drivers, shell commands, etc.) work.
>
> The https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ driver assumes you are following the PI Spec model and a full PCI enumeration is requires and a set of chipset/platform specific protocols are provided to make the PCI enumerate code generic.
>
> There are other examples in the edk2 where PCI...
2016 Apr 04
2
hdt error on syslinux 6.0.4-pre1?
On 4 Apr 2016 at 8:06, H. Peter Anvin wrote:
Subject: Re: [syslinux] hdt error on syslinux 6.0.4-pre1?
To: "Michael D. Setzer II" <mikes at kuentos.guam.net>,
syslinux at zytor.com
From: "H. Peter Anvin" <hpa at zytor.com>
Date sent: Mon, 4 Apr 2016 08:06:13 -0700
> On 04/04/16 07:14, Michael D. Setzer II via Syslinux
2016 Aug 17
1
[PATCH] v2v: Use OVMF secure boot file (RHBZ#1367615).
This is only lightly tested. In particularly I only tested that the
non-secure-boot path still works. I didn't test it on RHEL 7.3 yet
because I haven't got enough free disk space for these giant source
*.ova files :-( Will try to give that a go later.
Rich.
2019 Jan 28
4
lld write wrong symbol value in .data section if enable -pie
Hi Rui,
I still fail to enable the lld in my Uefi firmware build to replace ld, and I found it is related to the wrong symbol values in the .data section, which are pointed by R_X86_64_64 relocation entries. I need your advices.
My firmware uses a linker script https://github.com/tianocore/edk2/blob/master/BaseTools/Scripts/GccBase.lds to do the linking. We use position independent code with hidden visibility to inform the compiler that symbol references are never resolved at runtime. My problem is I found after the lld linking with -pie enabled, the symbol values in .data section, which...
2018 Jun 25
1
Installing support for q35 chipset
....0 PC
rhel6.3.0 RHEL 6.3.0 PC
rhel6.2.0 RHEL 6.2.0 PC
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
I have add the jenkins repository. and installed the following packages,
OVMF.noarch 20171011-4.git92d07e48907f.el7
@base
edk2.git.x86_64 0-20180612.181.g2aedaaef8a
@qemu-firmware-jenkins
edk2.git-aarch64.noarch 0-20180612.181.g2aedaaef8a
@qemu-firmware-jenkins
edk2.git-arm.noarch 0-20180612.181.g2aedaaef8a
@qemu-firmware-jenkins
edk2.git-ovmf-x64.n...
2019 Jan 29
3
lld write wrong symbol value in .data section if enable -pie
...create UEFI applications?
I need support both PE/COFF and ELF format tools. I’m also working on the lld-link enabling (clang-cl + lld-link) in both Linux and windows. The ld.lld enabling (clang + ld.lld) is for ELF format native users. E.g. https://ci.linaro.org/view/leg-ci/job/leg-virt-tianocore-edk2-upstream/configure. Uefi firmware have many open source developers who like ELF format toolchains …
Yes, Uefi firmware application/driver are PE/COFF format. So for ELF format object file, we have a tool to convert ELF to COFF: https://github.com/tianocore/edk2/tree/master/BaseTools/Source/C/GenF...
2018 Apr 20
1
[PATCH] uefi: remove last references to kraxel's old edk2 builds
...tions(-)
diff --git a/generator/UEFI.ml b/generator/UEFI.ml
index 5161e28ee..1ff3f84d2 100644
--- a/generator/UEFI.ml
+++ b/generator/UEFI.ml
@@ -30,12 +30,6 @@ open Docstrings
(* Order is significant *within architectures only*. *)
let firmware = [
- "i386",
- "/usr/share/edk2.git/ovmf-ia32/OVMF_CODE-pure-efi.fd",
- None,
- "/usr/share/edk2.git/ovmf-ia32/OVMF_VARS-pure-efi.fd",
- [];
-
"x86_64",
"/usr/share/OVMF/OVMF_CODE.fd",
None,
diff --git a/v2v/utils.ml b/v2v/utils.ml
index 58331207f..372ad8aaa 100644
--- a/...
2020 Oct 13
0
Re: unable to find any master var store for loader error
...2, 2020 at 10:52:25PM +0200, daggs wrote:
>Greetings,
>
>I have the following machine: https://dpaste.com/5BPA3F77F which I'm trying to boot in uefi.
>/etc/libvirt/qemu.conf looks like this: https://dpaste.com/B3SFHUY6R and the ovmf files exists in the path, see:
># ll /usr/share/edk2-ovmf/OVMF_CODE.fd /usr/share/edk2-ovmf/OVMF_VARS.fd /usr/share/edk2-ovmf/OVMF_CODE.secboot.fd /usr/share/edk2-ovmf/OVMF_VARS.secboot.fd
>-rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE.fd
>-rw-r--r-- 1 root root 1966080 Aug 21 14:32 /usr/share/edk2-ovmf/OVMF_CODE.se...
2017 Feb 08
3
Trouble moving OVMF guest to new host
...backup of the entire partition beforehand onto an external drive. Now I am
trying to import a VM from that backup onto the newly installed system.
What I've done so far:
- copied over the qcow2 disk image
- copied over the XML config file
- copied over the OVMF files under /usr/share/edk2.git/ovmf-x64/
I am getting this error whenever I try to boot the VM:
Error starting domain: operation failed: unable to find any master var
store for loader: /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
The file /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd does exist.
Where would th...
2020 Oct 13
0
Re: unable to find any master var store for loader error
...interesting part of domain XML here so that it doesn't
>> get lost:
>>
>> <os>
>> <type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
>> <loader readonly='yes'
>> type='pflash'>/usr/share/edk2-ovmf/OVMF_CODE.fd</loader>
>> <nvram>/var/lib/libvirt/qemu/nvram/vm1_VARS.fd</nvram>
>> <boot dev='hd'/>
>> </os>
>>
>> And then in qemu.conf you define the pair:
>>
>> nvram = [
>> "/usr/sha...
2016 Apr 05
0
hdt error on syslinux 6.0.4-pre1?
...t
> there??). In Virtual Box, the EFI doesn't work at all, but booting in BIOS
> mode, the kernels all work as in 6.0.3 and all the C32 options work except
> hdt that gives this error?
>
Notice the OVMF's genesis - VirtualBox stable/current and QEMU
= VBox/OVMF =
$ grep -i edk2 VirtualBox-5.0.16/src/VBox/Devices/EFI/Firmware/ReadMe.vbox
EFI firmware based on the opensource EDK2 project. The current base is
revision 13361 from: https://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/EFI/Firmware/ReadMe.vbox#...
2019 Jan 29
2
lld write wrong symbol value in .data section if enable -pie
...create UEFI applications?
I need support both PE/COFF and ELF format tools. I’m also working on the lld-link enabling (clang-cl + lld-link) in both Linux and windows. The ld.lld enabling (clang + ld.lld) is for ELF format native users. E.g. https://ci.linaro.org/view/leg-ci/job/leg-virt-tianocore-edk2-upstream/configure. Uefi firmware have many open source developers who like ELF format toolchains …
Yes, Uefi firmware application/driver are PE/COFF format. So for ELF format object file, we have a tool to convert ELF to COFF: https://github.com/tianocore/edk2/tree/master/BaseTools/Source/C/GenF...
2017 Feb 08
1
Re: Trouble moving OVMF guest to new host
...guration: some guest operating systems
are able to cope with its absence and recreate the
correct EFI variables automatically, but that's not
always the case.
Moreover, you should make sure your /etc/libvirt/qemu.conf
file contains something along the lines of
nvram = [
"/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd/OVMF_VARS-pure-efi.fd"
]
so that, in case the variable store for the guest is missing
or your simply creating a new guest, libvirt will be able to
create a new one by copying over the template (the "m...
2015 Apr 08
3
syslinux.efi with QEMU/OVMF
...VAR: 0 RTO: 5
TcpInput: connection established for TCB 3F296898 in SYN_SENT
TcpInput: connection reset for TCB 3F296898
Tcb (3F296898) state TCP_ESTABLISHED --> TCP_CLOSED
Tcb (3F296898) state TCP_CLOSED --> TCP_CLOSED
So now it seems the problem may be in OVMF somewhere but how to find it?
EDK2 code is hard to follow and I'm not sure what should I look for. Any
hints?
Regards,
BALATON Zoltan