[U-Boot] [PATCH] test/py: Detect timeout in phy negotiation

Michal Simek michal.simek at xilinx.com
Tue May 17 18:56:56 CEST 2016


Hi Stephen,

On 17.5.2016 18:50, Stephen Warren wrote:
> On 05/17/2016 07:57 AM, Michal Simek wrote:
>> If timeout happen it should be reported as fault.
> 
> Presumably if a timeout occurs, the expected text does not appear, i.e.
> the existing assert fails anyway?
> 
> Anyway, it's useful to point out problems explicitly, so,
> Acked-by: Stephen Warren <swarren at nvidia.com>

Unfortunately I found this issue when I was checking logs where I am
getting this.

ethernet at e000b000 Waiting for PHY auto negotiation to complete.........
TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.0.107 (882 ms)
Zynq> .Zynq> setenv serverip 192.168.0.105

I haven't looked at the exact reason why it is failing but IMHO it is
worth to check.

Thanks,
Michal


More information about the U-Boot mailing list