cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andrea@ross
Adventurer
Adventurer
336 Views
Registered: ‎11-26-2018

Wake on lan using PL eth subsystem

Hi,

Following this wiki (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842232/Zynq+UltraScale+MPSoC+Power+Management+-+Linux+Kernel#ZynqUltraScale%EF%BC%8BMPSoCPowerManagement-LinuxKernel-WakeonLAN) I've enabled the PM in petalinux 2019.2, I can suspend correctly the system but then I can't wake it up from the 10G/25G ethernet subsystem.

In the wiki they use these commands to suspend and select the wakeup source:

 

$ echo enabled > /sys/devices/platform/amba/ff0e0000.ethernet/net/eth0/power/wakeup
/ Suspend
$ echo mem > /sys/power/state

 

In my case I tried with /sys/devices/platform/amba_pl@0/a0042000.ethernet/net/eth0/power/ but I can't find the wakeup file.
I have only these files:

  • autosuspend_delay_ms
  • control
  • runtime_active_time
  • runtime_status
  • runtime_suspended_tim

How can I "wake on lan" from the 10G/25G subsystem?

Best regards,

0 Kudos
3 Replies
shabbirk
Moderator
Moderator
284 Views
Registered: ‎12-04-2016

Hi andrea@ross 

As can be seen from the AXI ethernet driver wiki, we don't have wake on LAN support

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842485/Linux+AXI+Ethernet+driver

We have this support however in PS GEM driver:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841740/Macb+Driver

 

Regards

Shabbir

0 Kudos
andrea@ross
Adventurer
Adventurer
270 Views
Registered: ‎11-26-2018

Hi @shabbirk,

there is a way to wake the system from the PL?

Regards,

0 Kudos
shabbirk
Moderator
Moderator
253 Views
Registered: ‎12-04-2016

Hi andrea@ross 

Wake on LAN is actually part of suspend/resume of the driver which in this case is not implemented

 

Regards

Shabbir

0 Kudos