iPXE discussion forum

Full Version: Option ROM with support for 2 device ids
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?

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?
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
Reference URL's