Prabhu Ram

hibernation support for android in Cortex A8

Discussion created by Prabhu Ram on Sep 12, 2011
Latest reply on May 26, 2013 by Prashant Dalmia

Im working on a freescale imx53 board with android 2.3 running on it. I'm trying add hibernation support for it. The kernel version im using is, 2.6.35, which doesn't have hibernation support for Cortex A8 series. So I used the patch form this link

for adding hibernation support for Cortex A8, and it worked well except while resuming from hibernation i see the following log and the system is in a freezed state, even the console and other devices are completely freezed, so its difficult for debugging with out console being enabled,
I think Im missing some steps wile resuming from hibernation , pleaselet me know where im wrong.


The log while resuming is ,

Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
PM: Loading image data pages (40616 pages) ...
100% ... done
PM: Read 162464 kbytes in 9.31 seconds (17.45 MB/s)
Suspending console(s) (use no_console_suspend to debug)
PM: freeze of devices complete after 41.938 msecs
PM: late freeze of devices complete after 0.574 msecs
PM: Creating hibernation image:
PM: Need to copy 40576 pages
PM: early restore of devices complete after 0.488 msecs
PM: restore of devices complete after 171.013 msecs
Restarting tasks ... done.

(from here console and all devices are freezed)