From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Tue, 17 May 2016 18:56:56 +0200 Subject: [U-Boot] [PATCH] test/py: Detect timeout in phy negotiation In-Reply-To: <573B4BBF.8090508@wwwdotorg.org> References: <0abce825b8b0d541148207594be5bb1512cbf40e.1463493444.git.michal.simek@xilinx.com> <573B4BBF.8090508@wwwdotorg.org> Message-ID: <573B4D58.4030007@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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