phylib does not wait for link
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Oct 24 04:06:07 EDT 2012
On 09:46 Wed 24 Oct , Sascha Hauer wrote:
> 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
yes with timeout
> - phylib
no
> - in the protocols (dhcp, ping, ...)
no too many
>
> 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