[ipxe-devel] select a specific interface during initialization?

Andy Medynets andy.medynets at gmail.com
Wed Sep 17 01:15:46 UTC 2014


9/16/2014 Michael Brown <mcb30 at ipxe.org> wrote:
MB>
MB> If device enumeration is really taking a long time, please try building
MB> with DEBUG=intel to find out what is causing the delay.

Thank you for your help.

In fact, there are two problems:

1.  core/console.c contains the standard PC UART (COM1) initialization
code executed unconditionally during startup before PCI network device
enumeration is performed. Our board has no standard PC UARTs, and this
is  the  reason  why  this  takes  15-20  seconds to start enumerating
devices. This was relatively easy to fix. No startup delays anymore.

2. further device enumeration is not stable, only 4-5 attempts from 10
are successful. In all other cases it just clears the screen and hangs
forever.  My  sleuthing  has  shown that this happens somewhere in pci
device probing code. Will go deeper.

I'm  building from code downloaded on 16-sep-2014 [master branch]. gcc
v4.7.2, came with Debian 7/32 bit.

Interesting fact that the pre-built Ubuntu 12.04 binary package
(ipxe_1.0.0+git-3.55f6c88-0ubuntu1)  also  has the #1 described above,
but doesn't have #2

Any thoughts and suggestions will be greatly appreciated.

Andy




More information about the ipxe-devel mailing list