S32G Wakeup from Sleep Mode

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

S32G Wakeup from Sleep Mode

388 Views
JanBerlin
Contributor I

Hi, I have an S32G-VNP-RDB2 but would consider myself a newbie. I can bring the system successfully to sleep mode via

 

echo mem > /sys/power/state

 

 

however I can't wake it up. Wake-on-LAN does not seem to be supported, I tried to send "Magic packet" with MAC address but no luck. The only way to revert this is via cold boot which I don't want. I checked the docs but could not really find anything obvious. Any simple/straightforward way to do this? Thanks!

0 Kudos
3 Replies

357 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Which BSP version are you using?

It seems that this situation might have already been discussed under the following thread:

Wake On LAN for S32G2 RDB2 [Autolinux BSP v33] - NXP Community

Don't know if it is useful.

Please, let us know.

0 Kudos

354 Views
JanBerlin
Contributor I

Hi, yeah, regarding BSP this is where it already starts - from boot log / dmesg I get

CPU: NXP S32G274A rev. 2.1.0
Linux version 5.10.41-rt42-05767-g120665743a9d

but BSP is never clearly mentioned.

I checked the link you added, read that and have the same behaviour, so this comes up during boot:

[ 1.035735] s32cc-dwmac 4033c000.ethernet: Wake-Up On Lan supported

So in theory it should work. But it doesn't. The board has six LAN ports, maybe this is only supported on one?

0 Kudos

335 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. The BSP version should be shown prior to the boot log or it is shown prior to the user being input on the console:

DanielAguirre_0-1707487929255.png

...

DanielAguirre_1-1707487942778.png

Also, as told under the thread, there is no NXP documentation about this specific implementation. There is though the GMAC Subsystem RM available under the S32G2 product page (link: S32G2 Safe and Secure Vehicle Network Processor | NXP Semiconductors) which shows the following [Page 100, GMAC Subsystem RM, Rev. 2, 03/2021]:

DanielAguirre_2-1707488058043.png

For which, the feature should be available.

Please, let us know.

0 Kudos