ifconfig: SIOCGIFFLAGS: No such device

cancel
Showing results for 
Search instead for 
Did you mean: 

ifconfig: SIOCGIFFLAGS: No such device

Jump to solution
2,935 Views
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

Labels (1)
0 Kudos
1 Solution
2,727 Views
Pavel
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
2,728 Views
Pavel
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

2,727 Views
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 Kudos
2,727 Views
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 Kudos