phylib does not wait for link

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 24 03:46:15 EDT 2012


The current phylib behaviour is unusable for unattended network boot, we
need to do something about it.

We currently have no instance that would wait until a link comes up.
This may work for the default-3-seconds-boot-timeout which is enough for
most phys, but fails with smaller timeouts.

There are several places in which we could wait for a link to come up, I
have no idea which one is the best:

- eth_send
- phylib
- in the protocols (dhcp, ping, ...)

Anyway, this deserves fixing before the next release.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list