cancel
Showing results for 
Search instead for 
Did you mean: 

SXGMAC Ethernet Driver Query

Uthaya
Visitor

Hi

I am using Marvell Ethernet Phy(mv88q2220) in our project,i have integrated my Marvell driver into SDK and it is probing as well, we are using sxgmac driver for mac, while i am trying to initialize the eth0 interface i am facing issues related to validation of phy and phy is not able to attach.I have checked the phy-mode also it is configured correctly. I am attaching the error  logs also, Can anyone suggest what could the potential cause of this issue ?

Error Logs:

root@sadk:~# ifconfig eth0 192.168.10.1 up
SIOCSIFFLAGS: Invalid argument
SIOCSIFFLAGS: Invalid argument

Dmesg Logs:

[   55.096204] sxgmac 16cc8000.ethernet eth0: validation of  with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
[   55.096449] sxgmac 16cc8000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -22)
[   55.364867] sxgmac 16cc8000.ethernet: is_dsp_running changed to true
[   55.365900] sxgmac 16cc8000.ethernet: MAC address filter register failure
[   55.684876] sxgmac 16cc8000.ethernet: is_dsp_running changed to false

 

Thanks & Regards

Uthaya

0 REPLIES 0