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/PROCESSOR-SDK-AM335X: cant ping to another phy device

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hello All,

I am using our custom board which is closely mapped with beaglebone black board.I successfully ported TI Linux v4.9.28 on our custom board.our board is having two PHY chip.one is standard Ethernet chip(DP83848) and another is Broadcom BCM89810 chip.Standard ethernet chip i.e.DP83848 is connected to MII1 pins and Broadcom BCM89810 chip is connected to MII2 pins. I tested standard Ethernet chip successfully with ping command it works fine.its working ok.

Now I want to test MII2 interfaced chip i.e. BCM89810 which doesnt have any drivers available in Linux. So developed driver for it. I configured this chip in MII Mode at 2.5MHZ frequency.it generates clocks on both lines i.e.TXCLK and RXCLK. As this is Auto-Ethernet Chip(having different physical interface), I connected two same device using back to back connections. and initialized these device using ifconfig commands(given through console) as follows:

 ifconfig eth0 10.20.30.1 netmask 255.255.255.0 up    (device 1)

ifconfig eth0 10.20.30.2 netmask 255.255.255.0 up      (device 2)

after that it enables clocks on both lines i.e.TXCLK & RXCLK.but if I ping from 1 device to to another device it doesnt give any reply. also it doesnt shows any activity on Rx/Tx data lines.I checked it using oscilloscope.

Please Guide me,I will be thankful of you,

Best Regards,

Vishvajeet.