ifconfig: SIOCGIFFLAGS: No such device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ifconfig: SIOCGIFFLAGS: No such device

13,863 Views
longqiluo
Contributor II

hello, I am using P1023 and my phy is AR8035. the schemitic was designed refered to p1023rdb. I can boot linux normally but some problem about eth0 . When I put ifconfig eth0 up, it always :ifconfig: SIOCGIFFLAGS: No such device. You will found further information in attachement. I connect phy-AR8035 int signal to IRQ0 with correct pull-up.In addtion, the eth1 was not used and  I test eth0 in uboot and the result is fine. So , I think some incorrrect settings about eth0 may be wrong in my dts.could someone check the dts for me and tell me how to modify it? thank you!

Original Attachment has been moved to: eth0_dts.rar

Labels (1)
0 Kudos
1 Reply

3,217 Views
Pavel
NXP Employee
NXP Employee

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