|
Examples opening and reading/writing a file with EDK2
Hi, I'm making a little UEFI app, just for check basic functionality of the firmware. inside this app I want to load, read and write a file, binary or text. However I can't find a "complete
Hi, I'm making a little UEFI app, just for check basic functionality of the firmware. inside this app I want to load, read and write a file, binary or text. However I can't find a "complete
|
By
alejandro.estay@...
·
#65
·
|
|
Re: [OVMF] resource assignment fails for passthrough PCI GPU
Thanks, yeah - now that I read the code comments that is clear (as
clear as it can be w/ my low level of base knowledge). In the commit you
mention Gerd (CC'd) had suggested a heuristic-based approach
Thanks, yeah - now that I read the code comments that is clear (as
clear as it can be w/ my low level of base knowledge). In the commit you
mention Gerd (CC'd) had suggested a heuristic-based approach
|
By
dann frazier
·
#64
·
|
|
Design discussion for SEV-ES
I'd like to be added to the TianoCore Design Meeting to discuss support
SEV-ES in OVMF.
Looking at the calendar, the meeting scheduled for December 12, 2019 would
be best.
Discussion length will
I'd like to be added to the TianoCore Design Meeting to discuss support
SEV-ES in OVMF.
Looking at the calendar, the meeting scheduled for December 12, 2019 would
be best.
Discussion length will
|
By
Tom Lendacky <thomas.lendacky@...>
·
#63
·
|
|
Re: [OVMF] resource assignment fails for passthrough PCI GPU
Good to hear, thanks.
Right.
The placement of the aperture is not trivial (please see the code
comments in the linked commit). The base address of the aperture is
chosen so that the largest BAR that
Good to hear, thanks.
Right.
The placement of the aperture is not trivial (please see the code
comments in the linked commit). The base address of the aperture is
chosen so that the largest BAR that
|
By
Laszlo Ersek
·
#62
·
|
|
Re: [OVMF] resource assignment fails for passthrough PCI GPU
Hi Laszlo,
Thanks for taking the time to describe this in detail! The -fw_cfg
option did avoid the problem for me. I also noticed that the above
commit message mentions the existence of a 24GB card
Hi Laszlo,
Thanks for taking the time to describe this in detail! The -fw_cfg
option did avoid the problem for me. I also noticed that the above
commit message mentions the existence of a 24GB card
|
By
dann frazier
·
#61
·
|
|
Re: [OVMF] resource assignment fails for passthrough PCI GPU
By default, OVMF exposes such a 64-bit MMIO aperture for PCI MMIO BAR
allocation that is 32GB in size. The generic PciBusDxe driver collects,
orders, and assigns / allocates the MMIO BARs, but it can
By default, OVMF exposes such a 64-bit MMIO aperture for PCI MMIO BAR
allocation that is 32GB in size. The generic PciBusDxe driver collects,
orders, and assigns / allocates the MMIO BARs, but it can
|
By
Laszlo Ersek
·
#60
·
|
|
[OVMF] resource assignment fails for passthrough PCI GPU
Hi,
I'm trying to passthrough an Nvidia GPU to a q35 KVM guest, but UEFI
is failing to allocate resources for it. I have no issues if I boot w/
a legacy BIOS, and it works fine if I tell the linux
Hi,
I'm trying to passthrough an Nvidia GPU to a q35 KVM guest, but UEFI
is failing to allocate resources for it. I have no issues if I boot w/
a legacy BIOS, and it works fine if I tell the linux
|
By
dann frazier
·
#59
·
|
|
Re: Establish network and run 'ping'
TIP: you can use the FvSimpleFileSystem.efi module to mount the Firmware Volume of your BIOS and then locate the EFI drivers / files.
(build FvSimpleFileSystem from edk2 sources)
E.g.
load
TIP: you can use the FvSimpleFileSystem.efi module to mount the Firmware Volume of your BIOS and then locate the EFI drivers / files.
(build FvSimpleFileSystem from edk2 sources)
E.g.
load
|
By
King Sumo
·
#58
·
|
|
Re: Establish network and run 'ping'
Agreed -- if there is a platform-specific HII knob in the Setup UI, then
it can control anything at all.
OVMF *is* a firmware platform, it's just not a physical one. :)
(But, of course, I agree with
Agreed -- if there is a platform-specific HII knob in the Setup UI, then
it can control anything at all.
OVMF *is* a firmware platform, it's just not a physical one. :)
(But, of course, I agree with
|
By
Laszlo Ersek
·
#57
·
|
|
Re: Establish network and run 'ping'
Hi,
well, playing around I found that when I enable manually the Network Stack in the BIOS menu everything works fine (ping, ifconfig). Then all the drivers are loaded fine from beginning.
As the
Hi,
well, playing around I found that when I enable manually the Network Stack in the BIOS menu everything works fine (ping, ifconfig). Then all the drivers are loaded fine from beginning.
As the
|
By
Buhrow, Simon <simon.buhrow@...>
·
#56
·
|
|
Re: Establish network and run 'ping'
I am rather surprised that the default value for Network Stack is disabled on a platform. If the platform has a working implementation, I would strongly suggest you use that.
Otherwise you'll
I am rather surprised that the default value for Network Stack is disabled on a platform. If the platform has a working implementation, I would strongly suggest you use that.
Otherwise you'll
|
By
Tomas Pilar (tpilar)
·
#55
·
|
|
Re: Establish network and run 'ping'
Hi Tom,
Thanks fort that advice!
Loading MnpDxe runs successfully. And I get a nice entry in drivers table.
Looking to the details I get (more details see below)
Managing :
Hi Tom,
Thanks fort that advice!
Loading MnpDxe runs successfully. And I get a nice entry in drivers table.
Looking to the details I get (more details see below)
Managing :
|
By
Buhrow, Simon <simon.buhrow@...>
·
#54
·
|
|
Re: Establish network and run 'ping'
Once you have all the required drivers from the network stack loaded, I would reconnect the Intel driver (maybe even unload and reload it) to try and get all the network stack service bindings happen
Once you have all the required drivers from the network stack loaded, I would reconnect the Intel driver (maybe even unload and reload it) to try and get all the network stack service bindings happen
|
By
Tomas Pilar (tpilar)
·
#53
·
|
|
Re: Could not load PC BIOS
First, let me see the contents of the OVMF package that your distro
offers... You mention Xubuntu 18.04 LTS, I think that means "bionic":
https://packages.ubuntu.com/
Then, we have:
First, let me see the contents of the OVMF package that your distro
offers... You mention Xubuntu 18.04 LTS, I think that means "bionic":
https://packages.ubuntu.com/
Then, we have:
|
By
Laszlo Ersek
·
#52
·
|
|
Could not load PC BIOS
Hello Tianocore list,
I am trying (with Qemu) to emulate an UEFI 64bit PC that boots from a virtual CD and installs an OS on a virtual HD.
But I get always an error (See below).
I use:
- Xubuntu
Hello Tianocore list,
I am trying (with Qemu) to emulate an UEFI 64bit PC that boots from a virtual CD and installs an OS on a virtual HD.
But I get always an error (See below).
I use:
- Xubuntu
|
By
Peter Wiehe <peter.wiehe2@...>
·
#51
·
|
|
Piping output to unload fails
Hi,
Is there a way to pipe to unload. For example:
echo "123" | unload -n
Thanks.
Hi,
Is there a way to pipe to unload. For example:
echo "123" | unload -n
Thanks.
|
By
Byte Enable <ByteEnable@...>
·
#50
·
|
|
Re: EDK2 UEFI Specification and Revision
Hi Liming, there is only DEC_SPECIFICATION in the MdePkg.dec, what is definitely not I'm look in for.
Hi Liming, there is only DEC_SPECIFICATION in the MdePkg.dec, what is definitely not I'm look in for.
|
By
sergestus@...
·
#49
·
|
|
Re: EDK2 UEFI Specification and Revision
You can check Edk2\MdePkg\MdePkg.dec. It lists UEFI spec definition.
You can check Edk2\MdePkg\MdePkg.dec. It lists UEFI spec definition.
|
By
Liming Gao
·
#48
·
|
|
EDK2 UEFI Specification and Revision
When runs "ver" command in EFI Shell command line it shows UEFI specification and revision. The question is how to find out what UEFI specification and revision does EDK2 support?
When runs "ver" command in EFI Shell command line it shows UEFI specification and revision. The question is how to find out what UEFI specification and revision does EDK2 support?
|
By
sergestus@...
·
#47
·
|
|
Re: Establish network and run 'ping'
Hi,
You are right, there is no SnpDxe loaded/installed. I double checked it but I really wrote all network relevant drivers in my first post.
I´m running the shell on a real System with Intel-Atom
Hi,
You are right, there is no SnpDxe loaded/installed. I double checked it but I really wrote all network relevant drivers in my first post.
I´m running the shell on a real System with Intel-Atom
|
By
Buhrow, Simon <simon.buhrow@...>
·
#46
·
|