On 11/18/13 04:50, Celelibi wrote:
> Hello,
>
> I compiled OVMF from the lastest revision available on git sourceforge.
>
> I run it with the command:
> qemu-system-x86_64 -device rtl8139,netdev=tap0 -netdev
> tap,id=tap0,ifname=tap0,script=no -bios
> Build/OvmfX64/DEBUG_GCC47/QEMU/bios.bin -boot order=n
>
> This combination of -device and -netdev works fine with the default
> BIOS (seaBIOS if I'm not wrong).
>
> And not only it doesn't even seem to try to boot on the network, when
> I type ifconfig -l in the EFI shell I get the error:
> "Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not
> found (...)"
>
> While, if I understood correctly OvmfPkg/README, everything should
> work all by itself.
> It says "OVMF provides a UEFI network stack by default.".
>
> Did I miss something?
>
> For what it's worth, qemu version is 1.6.1.
I tried the following command (after installing qemu with "make install"):
/.../qemu-system-x86_64 \
-device rtl8139,netdev=user0 \
-netdev user,id=user0 \
-bios /.../OVMF.fd
"ifconfig -l" in the EFI shell correctly lists the card.
The "dh -p SimpleNetwork -d -v" shell command works too, and for
Controller Name it prints "iPXE net0 (<mac-address>)".
This was with current qemu master (5c5432e7). I repeated the test with
qemu 1.6.1; the results were identical.
For building edk2 the only extra option I used was -D SECURE_BOOT_ENABLE.
My guess is that the qemu installation went wrong, and qemu can't load
the option ROM (normally located under
PREFIX/share/qemu/efi-rtl8139.rom, where PREFIX is the argument passed
to the --prefix configure option).
Thanks
Laszlo
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel