ifconfig: SIOCGIFFLAGS: No such device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ifconfig: SIOCGIFFLAGS: No such device

跳至解决方案
9,901 次查看
sukruthrameshba
Contributor III

Hello,

I am using custom-made evaluation board with LS1021A processor. 

And the Ethernet PHY used is BCM89883.

I am able to successfully boot Linux. But there is some problem setting up eth0.

But if I reboot the board either by command/ hard-reset, It is detecting eth0 device. 

I am not able to figure out, why re-boot is needed for this?

Can someone help me in resolving this issue?

Attached is the log file for more information.

Please let me know if any additional information is needed.

Before doing the reboot,

pastedImage_3.png

After doing the reboot,

pastedImage_2.png

标签 (1)
标记 (2)
0 项奖励
1 解答
9,693 次查看
Pavel
NXP Employee
NXP Employee

Your log shows that u-boot also does not detect your PHY.

Usually is happens if PHY is not fully initialized after power up.

Try to test your board using long reset time for the LS1021a.


Have a great day,
Pavel Chubakov

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

在原帖中查看解决方案

3 回复数
9,694 次查看
Pavel
NXP Employee
NXP Employee

Your log shows that u-boot also does not detect your PHY.

Usually is happens if PHY is not fully initialized after power up.

Try to test your board using long reset time for the LS1021a.


Have a great day,
Pavel Chubakov

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

9,693 次查看
sukruthrameshba
Contributor III

Hi Pavel,

It is working now, thanks.

I tried by increasing the capacitor value in POR circuit to increase the reset time.

However, In the U-boot it still shows that it does not detect the PHY.

But Kernel is able to initialize and detect the PHY.

Thanks for your input.

Regards,

Sukruth

0 项奖励
9,693 次查看
sukruthrameshba
Contributor III

Thanks for your reply.

It would be more helpful if you can elaborate on this point.

How do I configure long reset time for LS1021A?

Regards,

Sukruth

0 项奖励