T2080rdb based board, attept to configure ethernet with ifconfig throws SIOCSIFFLAGS: No such device

cancel
Showing results for 
Search instead for 
Did you mean: 

T2080rdb based board, attept to configure ethernet with ifconfig throws SIOCSIFFLAGS: No such device

390 Views
kylevonschmacht
Contributor I

To whom it may concern,

We're bringing up a T2081based board derived from the T2080RDB and T1042RDB.

We've got Linux, and mac addresses assigned.  right now we're trying bring up FM1-MAC4 attached via RGMII to a Microchip/SMSC LAN8820.

The drivers seem to come up fine (log attached), and ifconfig -a shows all the enabled MACs have come up with associated MAC addresses.

When I attempt to assign an ip address to the mac I get the following error:

root@t2080rdb:~# ifconfig fm1-mac4 192.168.8.58

fsl_dpa fsl,dpaa:ethernet@3 fm1-mac4: Could not connect to PHY /soc@ffe000000/fman@400000/mdio@fc000/ethernet-phy@1
fsl_dpa fsl,dpaa:ethernet@3 fm1-mac4: init_phy() = -19
SIOCSIFFLAGS: No such device

I've attached a copy of the relevant DTS files, and a complete log

Other threads seem to indicate this may be a DTS error, I concur as I've drilled all the way down to the klist functions to try and find the error.  Does anyone have any insight into what may be causing it? Be it DTS or something else?

Thanks for your help,

Kyle 

Labels (1)
0 Kudos
1 Reply

47 Views
Pavel
NXP TechSupport
NXP TechSupport

It looks like that your .dts file is incorrect for this PHY.

Look at the following pages:

http://man7.org/linux/man-pages/man7/netdevice.7.html

 

http://stackoverflow.com/questions/5308090/set-ip-address-using-siocsifaddr-ioctl

 

http://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.commtrf2/ioctl_socket_control_oper...

 

https://lkml.org/lkml/2017/2/3/396


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos