On 03/11/13 21:11, Duane Voth wrote:
> I can run OVMF without networking using qemu with no problem, and I have
> qemu with networking (using taps and a bridge) working properly, but
> when I use the network enabled OVMF.fd I get the blank vga console with
> no screen or network activity.  OVFM.fd builds with no errors using:
> 
>> build -D NETWORK_ENABLE -p OvmfPkg\OvmfPkgX64.dsc
> 
> I copy OVMF.fd to bios.bin, but no OvmfVideo.rom file is created or
> available as suggested by the online sourceforge docs
> (http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=How_to_run_OVMF)
> or the edk2\OvmfPkg\README.txt file, so I'm using the same
> CirrusLogic5446.rom that works with the non-networking OVMF.
> 
> My qemu is version 1.2.0 (yes that is a 1 for the major version!) and
> I've tried it with the -no-kvm switch also.
> 
> Any other ideas?

The following seems to work for me:

- At svn r14210, install the E1000 driver (md5sums):

20d90d53c40b892167b7d72d6f113e45  Intel3.5/EFIX64/E3507X2.EFI
8d2e6c53426e8adaf1525c8048f5f07f  Intel3.5/EFI32/E3507E2.EFI

- build it with

OvmfPkg/build.sh -p OvmfPkg/OvmfPkgX64.dsc \
   -D FD_SIZE_2MB -D NETWORK_ENABLE \
   -a X64 -b DEBUG -t GCC44 -n 4

- the output is "Build/OvmfX64/DEBUG_GCC44/FV/OVMF.fd"

- I tested with qemu v1.2.0 (built from git):

qemu-img create harddisk.img 10G

qemu-system-x86_64 -S -monitor stdio -enable-kvm -m 1024 \
    -netdev user,id=net0 \
    -device e1000,netdev=net0 \
    -bios OVMF.fd \
    -vga cirrus \
    -debugcon file:debug.log \
    -global isa-debugcon.iobase=0x402 \
    -drive file=harddisk.img \
    -display vnc=localhost:0

- once the "(qemu)" monitor prompt appears, start a vnc viewer from
another terminal:

vncviewer localhost:0

- when the guest window appears, type into the qemu monitor:

cont

This should boot OVMF. The firmware knows about the e1000 card; for
example there's a (failing & long) attempt to PXE-boot, and then
"ipconfig" in the shell can report the MAC. The logfile is full of messages.

Laszlo

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to