i.MX28 how to turn off autoneg before kernel has finished started?

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

i.MX28 how to turn off autoneg before kernel has finished started?

965 Views
drolevar
Contributor I

Hi!

I need to switch off auto-negotiation on the i.MX28 board. I can do that with ethtool, but it's too late, because the kernel tries to bring up the interface and hangs to 2 minutes failing to do so.

Also I would like to use network from the u-Boot, but it doesn't work because I can't disable autoneg. I tried doing 'mii write 0 0 2100' which should do the trick, but nothing helps.

Would be grateful for any ideas.

Labels (3)
0 Kudos
1 Reply

751 Views
igorpadykov
NXP Employee
NXP Employee

Hi, Andrij

seems you can use constant AUTONEG_DISABLE

in linux-2.6.35.3/drivers/net/phy/phy.c

also some ideas may be reused from link below

help about fec problem

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos