[if gte mso 9]>

Re: [edk2] OVMF with Networking

Subject: Re: [edk2] OVMF with Networking

From: "Kinney, Michael D" <michael.d.kinney@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-03-01 08:04:32

There is some information in the following README from this page http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF




Best regards,





From: James Deutch [mailto:james_deutch@intellico.com]
Sent: Thursday, February 28, 2013 2:25 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] OVMF with Networking




I'm hoping someone on the EDK2 mailing list can help me with an issue I've run into. My apologies if this is something that is well known or a RTFM question.


I'd like to use OVMF to develop a networked UEFI application. Is networking supported under OVMF for UEFI? When I build the EDK2 tree for the .../OvmvPkg/OvmfPkgIa32.dsc platform with -DNETWORK_ENABLE=TRUE, I get the following error:


 : error 000E: File/directory not found in workspace


There is no .../Intel3.5/ subdirectory in the EDK2 source tree, so I'm wondering if it's in a separate tree like the FatPkg support. Is that the case?

I greped through the tree and found .../OvmfPkg/OvmfPkgIa32.fdf is pulling in the .../Intel3.5 dependency, but I'm not sure what functionality is missing from the build if I comment out the following lines (starting at line 253):

  FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
    SECTION PE32 = Intel3.5/EFI32/E3507E2.EFI

The build completes if I comment out the lines in the FDF file, and OVMF runs in QEMU, but if I execute "ifconfig -l" under the shell 2.0 (I build with -DUSE_NEW_SHELL=TRUE), I get the following error message:

Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not found (3B95

I suspect the .../Intel3.5//EFI32/E3507E2.EFI (driver) dependency is used to load/initialize the Ip4 Config Protocol and associated GUID, but don't know it that's the case or I'm just lost in the weeds.

Is there documentation on getting networking to work with OVMF? I didn't see any when I went to the EDK2 wiki, but I could have missed it.


Thanks in advance for your help!



James Deutch