iMX6ULL processor SLEEP-WAKEUP configuration on 5.4 Kernel (Zeus)

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

iMX6ULL processor SLEEP-WAKEUP configuration on 5.4 Kernel (Zeus)

637 Views
velayutha_perum
Contributor I

We are using iMX6ULL processors on our custom board with 5.4.70 Yocto kernel and U-boot. We are able to boot the board with the same kernel and U-boot but, when we put the board into sleep after configuring a wakeup alarm duration for the RTC the board goes into SLEEP / SUSPEND state but the system gets stuck which in-turn triggers a WATCHDOG reboot. SLEEP-WAKEUP has been working fine with the 4.14 Yocto kernel and U-boot in the same processor. Are there any kernel related changes for the same in the 5.4 kernel ? We have already tried to replicate all the RTC related changes from the old kernel (4.14) in the new kernel (5.4). Kindly guide us on how to configure the same in the new kernel.

Thanks in advance

Cheers!

Nitin  

0 Kudos
Reply
2 Replies

436 Views
tbultel
Contributor II

Hi, I have the same issue with kernel 5.4.142

"standby" suspend works fine but "mem" suspend does not wakeup.

It works fine with kernel 4.14

 

It is maybe worth to notice that with mainline kernel(6.0), neither "standby" nor "mem" wakeup at all.

Thank for any advice !

best regards

Thierry

0 Kudos
Reply

632 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nitin

 

one can test wake on NXP i.MX6ULL EVK reference board with Demo Image

​i.MX 6UltraLite, i.MX 6ULL, i.MX 7Dual Boards​

rtc wake test

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_rtc?h=imx_5.4.70_2.3.0

configuration is described in sect.2.5.1.4 Menu Configuration Options

i.MX Linux Reference Manual​

 

Best regards
igor

0 Kudos
Reply