AnsweredAssumed Answered

ADSP-SC589 EZKIT Linux u-boot with MAC0

Question asked by canard on Dec 19, 2016
Latest reply on Dec 20, 2016 by Aaronwu

I am playing with the EZKIT and the Linux Add-on. I am experiencing issues with the initialization of PHY. U-Boot has been flashed successfully after many attempts because sometime the 4 leds of the PHI (5..8) blink synchronously. From that point it is not possible to initialize an Ethernet link.


U-Boot 2015.01 ADI-1.1.0 (May 30 2016 - 14:25:12), Build: jenkins-IP119-UBOOT-STAGE-DEB-label=make_deb_pa8


CPU:   ADSP ADSP-SC589-0.0 (Detected Rev: 1.1) (spi flash boot)

VCO: 450 MHz, Cclk0: 450 MHz, Sclk0: 112.500 MHz, Sclk1: 112.500 MHz, DCLK: 225 MHz

OCLK: 150 MHz

I2C:   ready

DRAM:  224 MiB


SF: Detected W25Q128BV with page size 256 Bytes, erase size 4 KiB, total 16 MiB

*** Warning - bad CRC, using default environment


In:    serial

Out:   serial

Err:   serial

other init

Net:   dwmac.3100c000

Hit any key to stop autoboot:  0

sc # dhcp

dwmac.3100c000 Waiting for PHY auto negotiation to complete......... TIMEOUT !

dwmac.3100c000: No link.

sc # dhcp

###### no errors and no acknowledge here. The leds 5..8 are blinking rapidly.


Fortunately, sometime after quickly resetting the board, I am able to establish an Ethernet connection and then flash the u-boot. However, I cannot get the Ethernet connection anymore.


So now I have u-boot properly flashed. If I interrupt the autoboot the 4 leds are off until I type "dhcp". Then the leds starts blinking and and even if I reset the board I get in the same situation.


How can I fix it and what is the cause?


As a wordaround I rebuilt u-boot to use MAC1 instead of MAC0.