Hi,
Lately, we had issues where the board does not send the discovery packets and the test station can't detect the board via SGMII interface.
Then we found that the test will fail whenever the log shows the error code "eth0: netcp@26000000Could not get PHY for ethernet-mdio: addr 1"
Initially, we suspect the failure is due to the malfunction of PHY IC (Marvell- 88E1512). However, after few trials on power cycle, we found that the failure is intermittent.
Any idea what causing the error code to appear?
Any help would be appreciated. Thanks
Log of Failure board:
U-Boot SPL 2016.05 (Aug 20 2018 - 09:22:49)
Trying to boot from SPI
uboot_mars-20180820_092249-3547c244ac738e30, Build: jenkins-RFSite_develop__uboot_mars_Daily-22
CPU: 66AK2Lx SR1.0
Model: Texas Instruments Keystone 2 Lamarr EVM
Watchdog enabled
I2C: ready
DRAM: DRAM: 1 GiB
Clear entire DDR3 memory to enable ECC
1 GiB
NAND: 0 MiB
SF: Detected MT25QU128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Net:
Warning: netcp@26000000 using MAC address from ROM
eth0: netcp@26000000Could not get PHY for ethernet-mdio: addr 1
Warning: netcp@slave-1 (eth1) using random MAC address - c2:46:09:58:a5:8d
, eth1: netcp@slave-1
Hit any key to stop autoboot: 0
<NULL> Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
Retry time exceeded; starting again
<NULL> Waiting for SGMII auto negotiation to complete. done
Using netcp@slave-1 device
TFTP from server 192.168.159.2; our IP address is 192.168.159.3
Filename '//k2-fw-initrd.cpio.gz'.
Load address: 0x88080000
Loading: *
ARP Retry count exceeded; starting again
<NULL> Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
ARP Retry count exceeded; starting again
<NULL> Waiting for SGMII auto negotiation to complete. done
BOOTP broadcast 1
Log of Good board:
U-Boot SPL 2016.05 (Aug 20 2018 - 09:22:49)
Trying to boot from SPI
uboot_mars-20180820_092249-3547c244ac738e30, Build: jenkins-RFSite_develop__uboot_mars_Daily-22
CPU: 66AK2Lx SR1.0
Model: Texas Instruments Keystone 2 Lamarr EVM
Watchdog enabled
I2C: ready
DRAM: DRAM: 1 GiB
Clear entire DDR3 memory to enable ECC
1 GiB
NAND: 0 MiB
SF: Detected MT25QU128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
Net:
Warning: netcp@26000000 using MAC address from ROM
eth0: netcp@26000000
Warning: netcp@slave-1 (eth1) using random MAC address - 8a:4c:a2:24:33:a2
, eth1: netcp@slave-1
Hit any key to stop autoboot: 0
netcp@slave-1 Waiting for SGMII auto negotiation to complete......... TIMEOUT !
netcp@slave-1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ERROR: phy startup failed
at drivers/net/keystone_net.c:1098/ks2_eth_start()
netcp@26000000 sgmii link down
netcp@slave-1 Waiting for SGMII auto negotiation to complete......... TIMEOUT !
netcp@slave-1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ERROR: phy startup failed
at drivers/net/keystone_net.c:1098/ks2_eth_start()
netcp@26000000 sgmii link down
netcp@slave-1 Waiting for SGMII auto negotiation to complete......... TIMEOUT !
netcp@slave-1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ERROR: phy startup failed
at drivers/net/keystone_net.c:1098/ks2_eth_start()
netcp@26000000 sgmii link down