* [Qemu-devel] [4952] Add e1000 etherboot ROM from http://www.rom-o-matic.net
@ 2008-07-26 16:53 Anthony Liguori
2008-07-26 17:55 ` [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net Sebastian Herbszt
0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2008-07-26 16:53 UTC (permalink / raw)
To: qemu-devel
Revision: 4952
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4952
Author: aliguori
Date: 2008-07-26 16:53:22 +0000 (Sat, 26 Jul 2008)
Log Message:
-----------
Add e1000 etherboot ROM from http://www.rom-o-matic.net
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/Makefile
Added Paths:
-----------
trunk/pc-bios/pxe-e1000.bin
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2008-07-26 15:05:57 UTC (rev 4951)
+++ trunk/Makefile 2008-07-26 16:53:22 UTC (rev 4952)
@@ -231,7 +231,7 @@
mkdir -p "$(DESTDIR)$(datadir)"
set -e; for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
video.x openbios-sparc32 openbios-sparc64 pxe-ne2k_pci.bin \
- pxe-rtl8139.bin pxe-pcnet.bin; do \
+ pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin; do \
$(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
done
ifndef CONFIG_WIN32
@@ -341,6 +341,7 @@
$(datadir)/pxe-ne2k_pci.bin \
$(datadir)/pxe-rtl8139.bin \
$(datadir)/pxe-pcnet.bin \
+ $(datadir)/pxe-e1000.bin \
$(docdir)/qemu-doc.html \
$(docdir)/qemu-tech.html \
$(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1
Added: trunk/pc-bios/pxe-e1000.bin
===================================================================
(Binary files differ)
Property changes on: trunk/pc-bios/pxe-e1000.bin
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net
2008-07-26 16:53 [Qemu-devel] [4952] Add e1000 etherboot ROM from http://www.rom-o-matic.net Anthony Liguori
@ 2008-07-26 17:55 ` Sebastian Herbszt
2008-07-27 0:27 ` Anthony Liguori
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Herbszt @ 2008-07-26 17:55 UTC (permalink / raw)
To: qemu-devel, Anthony Liguori
Anthony,
> Add e1000 etherboot ROM from http://www.rom-o-matic.net
unlike the other available images (pcnet, rtl8139, ...) this one
seems to be a "legacy" (non-PnP) option rom. Any reason for this?
- Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net
2008-07-26 17:55 ` [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net Sebastian Herbszt
@ 2008-07-27 0:27 ` Anthony Liguori
2008-07-27 15:01 ` Sebastian Herbszt
0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2008-07-27 0:27 UTC (permalink / raw)
To: Sebastian Herbszt; +Cc: qemu-devel
Sebastian Herbszt wrote:
> Anthony,
>
>> Add e1000 etherboot ROM from http://www.rom-o-matic.net
>
> unlike the other available images (pcnet, rtl8139, ...) this one seems
> to be a "legacy" (non-PnP) option rom. Any reason for this?
Not that I know of. Does this cause a problem in some way? I tested
PXE boot and it seemed to work quite happily. I'll reconfigure the ROM
if there's a compelling reason to do so though.
Regards,
Anthony Liguori
> - Sebastian
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net
2008-07-27 0:27 ` Anthony Liguori
@ 2008-07-27 15:01 ` Sebastian Herbszt
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Herbszt @ 2008-07-27 15:01 UTC (permalink / raw)
To: Anthony Liguori; +Cc: qemu-devel
Anthony Liguori wrote:
>>
>>> Add e1000 etherboot ROM from http://www.rom-o-matic.net
>>
>> unlike the other available images (pcnet, rtl8139, ...) this one seems
>> to be a "legacy" (non-PnP) option rom. Any reason for this?
>
> Not that I know of. Does this cause a problem in some way? I tested
> PXE boot and it seemed to work quite happily. I'll reconfigure the ROM
> if there's a compelling reason to do so though.
>
If i use "qemu -L pc-bios -hda disk.img -net nic,model=pcnet -boot n"
the VM will start from network using pxe-pcnet.bin option rom.
This option rom is a PnP option rom so it does not hook any interrupts.
The bochs bios does detect it and use it's BEV to start. It is also possible
to select this option rom from the boot menu.
If i use "qemu -L pc-bios -hda disk.img -net nic,model=e1000 -boot n"
the VM will also start from network. Since this option rom is a legacy rom
(no PnP header present) it does hook int 19h. It does not appear in the
boot menu and it is not possible to override "-boot n" using the boot menu
since int 19h is hooked.
With "qemu -L pc-bios -hda disk.img -net nic,model=pcnet -option-rom pxe-pcnet.bin"
it is possible to boot from network by using the boot menu when needed and else
it defaults to booting from hdd.
With "qemu -L pc-bios -hda disk.img -net nic,model=e1000 -option-rom pxe-e1000.bin"
it it not possible to do the same since the option rom is a legacy rom.
I have created an option rom for the e1000 with default rom-o-matic parameters:
http://www.rom-o-matic.net/etherboot/etherboot-5.4.3/contrib/rom-o-matic/build.php?
version=5.4.3&F=&arch=i386&nic=e1000%3Ae1000-82540em+--+%5B0x8086%2C0x100e%5D
&ofmt=Binary+ROM+Image%28.zrom%29&A=Get+ROM
With "qemu -L pc-bios -hda disk.img -net nic,model=e1000 -option-rom eb-5.4.3-e1000-82540em.zrom"
it is possible to achieve what currently is possible with pxe-pcnet.bin and it does
also work with using "-boot n".
- Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-27 15:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-26 16:53 [Qemu-devel] [4952] Add e1000 etherboot ROM from http://www.rom-o-matic.net Anthony Liguori
2008-07-26 17:55 ` [Qemu-devel] Re: [4952] Add e1000 etherboot ROM fromhttp://www.rom-o-matic.net Sebastian Herbszt
2008-07-27 0:27 ` Anthony Liguori
2008-07-27 15:01 ` Sebastian Herbszt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).