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.

AM6442: Eth1 interface is not working.

Part Number: AM6442

eth1 interface is not working. I can see both eth0 and eth1 ethernet interfaces while running ifconfig command.

Please find the following boot log:

[ 19.323452] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 19.331052] libphy: 8000f00.mdio: probed
[ 19.340031] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
[ 19.348256] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000002
[ 19.361644] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
[ 19.368566] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
[ 19.374865] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
[ 19.381996] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
[ 19.388716] pps pps0: new PPS source ptp0
[ 19.393161] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
[ 19.406438] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0

[ 25.415692] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
[ 25.463726] TI DP83867 8000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=8000f00.mdio:00, irq=POLL)
[ 25.472058] am65-cpsw-nuss 8000000.ethernet eth0: Link is Down
[ 29.572997] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 29.573053] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3885.651652] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
[ 3908.038753] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
[ 3908.039175] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
[ 3918.463034] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
[ 3918.463458] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2

  • Hi,

    I have a few questions. Is this a custom board? Which TI SDK Linux kernel are you using?

    From the snippet of the console log is there a message from the MDIO driver like the one here for phy[0] for phy on eth1? It looks like the phy for eth1 is not being detected.

    davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867

    From the AM6442 SKEVM board I have this is what I see for the phys attached for eth0 and eth1.

    [ 1.211893] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [ 1.220011] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Yes. This is custom board based on AM64xx. We are using TI SDK8.0 with same device tree config for RGMII1 and RGMII2.

    I did not see any phy1 log from the MDIO driver.

     dmesg | grep phy
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [ 18.826863] libphy: Fixed MDIO Bus: probed
    [ 19.354990] libphy: 8000f00.mdio: probed
    [ 19.364007] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [ 25.479160] am65-cpsw-nuss 8000000.ethernet: phy /mdio-mux-1/mdio@1/ethernet-phy@3 not found on slave 2
    [ 25.551570] TI DP83867 8000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=8000f00.mdio:00, irq=POLL

    Regards

    Nagaraj