专家
公告
财富商城
电子网
旗下网站
首页
问题库
专栏
标签库
话题
专家
NEW
门户
发布
提问题
发文章
嵌入式
ifconfig: SIOCGIFFLAGS: No such device
2019-07-13 08:34
发布
生成海报
站内文章
/
嵌入式Linux
15958
0
1680
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
Ta的文章
更多
>>
PMIC无输出,(BD9571MWF-M)电源管理芯片无电压信号输出
0 个评论
ifconfig: SIOCGIFFLAGS: No such device
0 个评论
linux 之USB操作
0 个评论
一种Linux中快速定位段错误的方法
0 个评论
热门文章
×
关闭
举报内容
检举类型
检举内容
检举用户
检举原因
广告推广
恶意灌水
回答内容与提问无关
抄袭答案
其他
检举说明(必填)
提交
关闭
×
打开微信“扫一扫”,打开网页后点击屏幕右上角分享按钮