Re: Boot from one card only

Itay Gazit <[email protected]> Tue, 12 Jan 2010 11:54:37 +0200
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
Thanks Stefan,

In order to implement what you have suggested, I will need to use NVRAM to
store the PCI device function, right?

Thanks,

Itay

On Fri, Jan 8, 2010 at 11:34 AM, Stefan Hajnoczi <[email protected]> wrote:

> Once started from a ROM, gPXE does not remember where it came from.
> It will try to boot from all network interfaces for which you have a
> driver built in.
>
> There is high-level support in usr/autoboot.c to prioritize a
> particular network interface but the find_boot_netdev function is
> currently empty.  I think the way to implement it would be by storing
> away the PCI device/function of the network card when the ROM entry
> point gets called - the BIOS will pass it in %ax (see BIOS Boot
> Specification).
>
> For the time being, you can embed a gPXE script into your ROM that
> boots from the particular card.  Documentation to get you started:
> http://etherboot.org/wiki/scripting
>
> Stefan
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss