This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: KSZ9031RNX 48-pin QFN bringup issue

Part Number: AM5728

Tool/software: Linux

Hello Team,

I am working on our custom board based on am5728 ,we have taken reference from am57xx-evm but use only one Ethernet interface instead of two. 


I am facing issue while bringup, which is no link found

root@am57xx-evm:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000000 (0)
                               
        Link detected: no

I have modified the kernel and u-boot and remove the eth1 from the source. in uboot i am able to read write the phy registers using mdio below is the result before connecting the link:

=> mdio listethernet@48484000:1 - Generic PHY <--> ethernet@48484000

=> mii read 1 0-10
addr=01 reg=00 data=1140
addr=01 reg=01 data=7949
addr=01 reg=02 data=0022
addr=01 reg=03 data=1622
addr=01 reg=04 data=01E1
addr=01 reg=05 data=0000
addr=01 reg=06 data=0004
addr=01 reg=07 data=2001
addr=01 reg=08 data=0000
addr=01 reg=09 data=0300
addr=01 reg=0a data=0000
addr=01 reg=0b data=0000
addr=01 reg=0c data=0000
addr=01 reg=0d data=0000
addr=01 reg=0e data=0000
addr=01 reg=0f data=3000
addr=01 reg=10 data=0000

After connecting the Ethernet link there is no change in "mii" result, what can be the possible issue and how i can debug this further .

Regards,

Shweta