ifconfig: SIOCGIFFLAGS: No such device

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

 

 

 

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_operations.htm

 

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


Have a great day,
Pavel Chubakov

你可能感兴趣的:(Hi_SDK)