AnsweredAssumed Answered

i.MX6SX Ethernet and CAN not working after resume from suspend

Question asked by mc maddie on May 24, 2018
Latest reply on Jul 11, 2018 by mc maddie

Hi,

 

We have custom i.MX6SX based HW running Yocto 2.4 with Linux v4.1.44 (Linux-fslc-image_4.1-2.0.x-recipe).

 

I've been working to get suspend/resume working and it works now otherwise just fine, but after resume Ethernet and CAN do not work. You get them working if you bring interface down and back up with ifconfig - command, but I'd suspect they should work without needing to restart the interface after resume?

 

Also, when suspending while (actually while resuming) I get this printout to console:

fec 2188000.ethernet eth0: Graceful transmit stop did not complete!

If trying to access network without restarting it first I get these errors:

fec 2188000.ethernet eth0: MDIO read timeout
fec 2188000.ethernet eth0: MDIO read timeout
fec 2188000.ethernet eth0: MDIO write timeout
fec 2188000.ethernet eth0: MDIO read timeout

Earlier kernel's had suspend/resume - callbacks for drivers but they seemed to be have removed and I'm not 100% sure how they are now handled.

 

CAN refuses to work at all after resume if interface is not restarted without printing any errors either.

Outcomes