iPXE discussion forum
Option ROM with support for 2 device ids - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Option ROM with support for 2 device ids (/showthread.php?tid=10547)



Option ROM with support for 2 device ids - ulf_b - 2017-11-22 11:16

I am trying to build an Option ROM for a system with dual, different, network cards.
Is this possible out of the box or does it involve some Makefile magic?

/Ulf


RE: Option ROM with support for 2 device ids - NiKiZe - 2017-11-22 19:33

You can build a ROM with support for multiple drivers via the -- separator via drivers (see http://ipxe.org/appnote/buildtargets)
But i think there is supposed to be some magic for roms that detects which pci device it was loaded from, and only initialize that specific device, even if there also is other devices that the iPXE instance support.

Which drivers is it that you are trying to support? and do you have it working for one device, and if so what did you use to build for that one device?


RE: Option ROM with support for 2 device ids - ulf_b - 2017-11-23 06:53

Thank you, I will look into that.

We have it working for a couple of drivers on different motherboards/BIOSes, mostly Intel e.g i211 and i218. But for this project we need network redundancy and since the two interfaces on the chipset are different I ended up here.

We build it with make bin/80861539.rom for the i211-AT