I'm trying to enable Wake-on-LAN feature in my custom board with Linux (3.9.0 dirty), but I'm having problems. My ethernet conection is done through KSZ9031RXCA GbE PHY.
I installed ethtool application on my Linux system to ensure that WoL feature is enabled on eth0 interface:
zynq> ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Supports Wake-on: umag
Link detected: yes
I suspend it following Xilinx wiki's instructions but nothing happens when I send magic packet from my host computer.
echo mem > /sys/power/state
I suspect that the source of the problem is that KSZ9031 uses PME pin to generetate WoL event's, and it is not routed to the Zynq. However I'm not Linux guru and dont know if WoL event's can be used throught MDIO pins.