i.MX8 Wake-On-LAN feature

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX8 Wake-On-LAN feature

580 Views
Contributor V

Hi,

I'm trying to enable Wake-On-LAN feature in i.MX8 platform. The Yocto sumo BSP is based on the Linux kernel 4.14.62.


Currently, I have enabled the Wake-On-LAN with the magic packet on the i.MX8 platform.

I'm using Ubuntu PC with "etherwake" utility for sending the magic packet.


I have followed the below procedure:

  1. Set the Host PC (Ubuntu 14.04) with etherwake or wakeonlan utility ready for sending the magic packet.
  2. Enabled Wake-On-LAN with the magic packet on i.MX8 platform.
  3. Enabled Ethernet as the wake source.
  4. Use mem command to put the i.MX8 to suspend (i.e. suspend to RAM)
  5. Send the magic packet from the HOST PC and is shows packet sent successfully.
  6. But, the i.MX8 didn't wake-up!

Am I missing anything? Could anyone help me to confirm, whether i.MX8 with 4.14.62 kernel have Wake-On-LAN feature supported?

8 Replies

96 Views
Contributor I
The on-chip Ethernet controller of i.MX8 supports magic packet detection 
and Wake-on-LAN feature. However, official myfedloan this feature is not implemented correctly in the 
current version of the i.MX8 Linux BSP. 
0 Kudos

96 Views
Contributor V

Sebastian Jones, I couldn't find any BSP information in the provided link.

0 Kudos

96 Views
NXP TechSupport
NXP TechSupport

Hello,

Actually, the on-chip Ethernet controller of i.MX8 supports magic packet detection 
and Wake-on-LAN feature. However, this feature is not implemented correctly in the 
current version of the i.MX8 Linux BSP. 

Regards

96 Views
Contributor V

Thank you Bio_TICFSL for the confirmation.

May I know whether 4.14.98 GA have support for Wake-On-LAN? Is there any roadmap available to confirm which BSP will get the support for Wake-On-LAN feature?

0 Kudos

96 Views
Senior Contributor II

Hi Bio_TICFSL,

Thank you for the response.

Regards,

Karan Gajjar

0 Kudos

96 Views
Senior Contributor II

Hi ajithpv,

Have you checked below thread?

i.MX8M Mini wake on lan 

Regards,

Karan Gajjar

0 Kudos

96 Views
Contributor V

Thank you karan gajjar‌ for the link.

I have already enabled the "fsl,magic-packet" in my device tree.

Is there any way to confirm the magic packets are receiving by the i.MX8 platform? Something similar to Wireshark to trace the magic packet (initially without suspend, to confirm the packet reception).


TIA,
Ajith P V

0 Kudos

96 Views
Senior Contributor II

Hi ajithpv,

Have you checked that MAGICEN bit is set in ENET_ECR register? You should see WAKEUP bit set in ENET_EIR register once a magic packet has been detected.

Regards,

Karan Gajjar