|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix etherboot option ROM loading
Hi,
The option ROM included in the source tree is built with the default PCI
vendor and device ID's for the gPXE e1000 driver. Unfortunately these
don't correspond to the ID's of the installed NIC. For that reason the
new and improved OPROM probing routines in hvmloader fail to load any
PXE ROM's meaning no network boot.
Following patch fixes this in the gPXE build process by specifying the
target based on PCI-ID's and not on device name. I neglected to include
eb-roms.h in the patch since it's huge.
I am working on improved fix for this by building a gPXE ROM with
support for both rtl8139 and e1000 and then ignoring PCI ID's in the
option ROM header from within hvmloader - effectively providing a single
Multi-ROM. This fix is enough to get things working for now though.
Enjoy
Gianni Tedesco
diff -r b622e411eef8 tools/firmware/etherboot/Config
--- a/tools/firmware/etherboot/Config Thu Jun 24 21:56:03 2010 +0100
+++ b/tools/firmware/etherboot/Config Mon Jun 28 18:17:32 2010 +0100
@@ -1,5 +1,5 @@
-NICS = rtl8139 eepro100
+NICS = rtl8139 8086100e
CFLAGS += -UPXE_DHCP_STRICT
CFLAGS += -DPXE_DHCP_STRICT
diff -r b622e411eef8 tools/firmware/etherboot/Makefile
--- a/tools/firmware/etherboot/Makefile Thu Jun 24 21:56:03 2010 +0100
+++ b/tools/firmware/etherboot/Makefile Mon Jun 28 18:17:32 2010 +0100
@@ -19,7 +19,7 @@
cat $^ | ../hvmloader/mkhex etherboot >$@
eb-roms.h: Config
- $(MAKE) $@.new
+ $(MAKE) NO_WERROR=1 $@.new
mv -f $@.new $@
$D/src/arch/i386/Config: $T Config
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|