On Sun, Apr 12, 2009 at 09:40:44AM +0200, Stefan Reinauer wrote: > On 12.04.2009 6:34 Uhr, Kevin O'Connor wrote: > > When using gpxe on my epia-cn, I set it up to use the vendor/device of > > the realtek nics on the motherboard. However, this motherboard has > > two rtl nics - and thus the option roms are getting run twice. This > > doesn't seem ideal as it consumes option rom space > > > It should only be copied once.
Why is that? During the scan, SeaBIOS finds two devices with id 10ec:8167, and thus copies the rom from CBFS twice. I suppose gpxe could be smart enough to resize itself to zero, but it is not doing that today. (Though, gpxe tries to use PMM - it might be smarter when that is available.) On Sun, Apr 12, 2009 at 09:38:30AM +0200, Stefan Reinauer wrote: > On 12.04.2009 6:34 Uhr, Kevin O'Connor wrote: > > What's the main advantage to using vendor/device? > > > You don't always know where a device (even onboard) ends up to live. That's a good reason. Thanks. On Sat, Apr 11, 2009 at 10:18:12PM -0700, ron minnich wrote: > On Sat, Apr 11, 2009 at 9:34 PM, Kevin O'Connor <[email protected]> wrote: > > What's the main advantage to using vendor/device? > > actually, I would think you would want to run it once for each device > of that type. That's what vendor bioses do. It covers the case that > one nic is connected, but you don't know which one, and you want to be > able to boot from either one. True - but gpxe seems smart enough to boot any device it supports after being called just once. I guess I'll ask the gpxe maintainers if they can optimize this on their end. Thanks, -Kevin -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

