AnsweredAssumed Answered

imx6q Android 6.0.1_r22 Kernel 4.1.15 suspend/resume

Question asked by Ben Hewson on Jan 13, 2017
Latest reply on Jul 17, 2017 by JayTu

I have downloaded Android M6.0.1_2.1.0 from NXP and have this running on a custom board with an iMX6Q processor.

 

I am trying to suspend to memory and then resume. 

 

There is an external MCU ( Kinetis ) with RTC which generates an interrupt on GPIO6.14. I can see Android setting an alarm time (I have debug in my kernel driver) . With a debugger on the MCU I can see the interrupt happen (this all works in Android 4.4.0)

 

While awake, the RTC interrupts happen, and I can see the count incremented in /proc/interrupts.

The interrupt is listed as a wakeup source in /sys/kernel/debug/wakeup_sources.

The interrupt is not masked in GPC_IMR3

 

However once asleep, the CPU never wakes.

 

Has anyone managed to get Android 6.0.1_r22 suspending and resuming on any imx6 board ?

Outcomes