Shaojun Wang

Wake on lan in mx6 sabresd board

Discussion created by Shaojun Wang Employee on Nov 5, 2013
Latest reply on Mar 14, 2014 by Marco Cavallini

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

  1. After bootup kernel, get the mac address by ifconfig command. For example, the address is 00-04-9F-02-68-D8.
  2. Suspend the system: echo mem > /sys/power/state.
  3. Send magic package from ubuntu PC: sudo wakeonlan 00:04:9F:02:68:D8
  4. 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

Outcomes