cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ierkiaga
Participant
Participant
4,076 Views
Registered: ‎11-13-2012

Wake On Lan

Hi,

 

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
                         100baseT/Half 100baseT/Full
                         1000baseT/Half 1000baseT/Full
 Supported pause frame use: Symmetric Receive-only
 Supports auto-negotiation: Yes
 Advertised link modes:  10baseT/Half 10baseT/Full
                         100baseT/Half 100baseT/Full
                         1000baseT/Half 1000baseT/Full
 Advertised pause frame use: Symmetric Receive-only
 Advertised auto-negotiation: Yes
 Speed: 100Mb/s
 Duplex: Full
 Port: MII
 PHYAD: 3
 Transceiver: external
 Auto-negotiation: on
 Supports Wake-on: umag
 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.

 

If anyone can helps me I will be apreciated.

0 Kudos
1 Reply
muh_ali
Adventurer
Adventurer
3,299 Views
Registered: ‎09-18-2009

I don't know whether you solved it or not but I see an update in zynq ps ethernet driver related to wake on lan.

 

Here is the commit message : https://github.com/Xilinx/linux-xlnx/commit/f0556437592b30817e775b64f62486ee7fcecc4e

 

 

0 Kudos