WOL_INT pin of AR8031 is connected to gpio 1_28 in Mx6 sabresd board, Mx6 can be waked up by this pin.
0001-support-wake-on-lan-through-gpio.patch is the patch to support the WOL feature. In this patch, mac address is written to AR8031 Wake-on-LAN Internal Address register, gpio 1_28 wakeup irq is enabled, AR8031 is set to sleep/isolate state when system suspend.
After suspend, Mx6 can be wakeup by magic package.
The step to verify WOL function is
- After bootup kernel, get the mac address by ifconfig command. For example, the address is 00-04-9F-02-68-D8.
- Suspend the system: echo mem > /sys/power/state.
- Send magic package from ubuntu PC: sudo wakeonlan 00:04:9F:02:68:D8
- If want to wake from Windows PC, please install WOLSetup15.zip.
Original Attachment has been moved to: WOLSetup15.zip
Original Attachment has been moved to: 0001-support-wake-on-lan-through-gpio.patch.txt.zip