i.MX8 Wake-On-LAN feature

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8 Wake-On-LAN feature

4,521件の閲覧回数
ajithpv
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 返答(返信)

4,037件の閲覧回数
sebastian44
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 件の賞賛
返信

4,037件の閲覧回数
ajithpv
Contributor V

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

0 件の賞賛
返信

4,037件の閲覧回数
Bio_TICFSL
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

4,037件の閲覧回数
ajithpv
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 件の賞賛
返信

4,037件の閲覧回数
karangajjar
Senior Contributor II

Hi Bio_TICFSL,

Thank you for the response.

Regards,

Karan Gajjar

0 件の賞賛
返信

4,037件の閲覧回数
karangajjar
Senior Contributor II

Hi ajithpv,

Have you checked below thread?

i.MX8M Mini wake on lan 

Regards,

Karan Gajjar

0 件の賞賛
返信

4,037件の閲覧回数
ajithpv
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 件の賞賛
返信

4,037件の閲覧回数
karangajjar
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