Wake on lan in imx6 sabresd board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wake on lan in imx6 sabresd board

1,698 Views
wangvictor
Contributor III

Hi All,

I've install ethtool and etherwake on my computer with Ubuntu 16.04 as OS system.

And I've checked what wake-on does it support from my computer.

Bellow is the result.

root@arm:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
...
....
Supports Wake-on: g
Wake-on: d
Link detected: yes

It can only support for g(magic package active).

But when I man ethtool, it show as bellow.

p|u|m|b|a|g|s|d...
Sets Wake-on-LAN options. Not all devices support this. The argument to this option is a string of characters specifying which options to enable.

p Wake on PHY activity
u Wake on unicast messages
m Wake on multicast messages
b Wake on broadcast messages
a Wake on ARP
g Wake on MagicPacket™
s Enable SecureOn™ password for MagicPacket™
d Disable (wake on nothing). This option clears all previous options.

And for my other computer which is X86 for the CPU and with ubuntu16.04 can suport "pumbg".

My question is that CPU(iMX6 sabresd) cannot support all the function or I need to modify the config or the kernel even the boot environment?

Thanks in advanced.

Tags (3)
0 Kudos
4 Replies

1,201 Views
wangvictor
Contributor III

Fabio Estevam 員工

I can't really understand what it is doing.

I can using `wakeonlan [MAC Address]` to wake my computer up.

I think my magic package is working.

Why do I need to add dts for wake on lan

Is any of this doing with "pumbag"?

Thanks in Advanced!

0 Kudos

1,201 Views
wangvictor
Contributor III

igorpadykov 員工

I've try this and it works.

But If I try to use this commend `wakeonlan -i [IP Address] [MAC Address]` and it cannot work.
That's why I doubt that because it doesn't support other ability with WOL.

Any suggestion?

Thanks in Advanced!

0 Kudos

1,201 Views
fabio_estevam
NXP Employee
NXP Employee

You can pass 'fsl,magic-packet' property. Please see Documentation/devicetree/bindings/net/fsl-fec.txt

Regards,

Fabio Estevam

0 Kudos

1,201 Views
igorpadykov
NXP Employee
NXP Employee

Hi Wang

for wake on lan please check patches on

Wake on lan in mx6 sabresd board 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos