This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM hibernation

Can anyone direct me to the best solution for ARM hibernation?

 

http://elinux.org/Suspend_To_Disk_For_ARM has older references about applying several patches.  It led me to muru.com which has http://muru.com/linux/omap/patches/patch-2.6.26-omap2.bz2

I see CONFIG_SUSPEND in the patch but not CONFIG_SUSPEND2 … nor CONFIG_TOI aka TuxOnIce, previously called “suspend2.”

TuxOnIce looks like the most praised and up-to-date solution (http://tuxonice.net/).  However the patches I found do not include ARM.

I also found http://www.listware.net/201004/linux-omap/108137-arm-suspend-to-disk.html and the related ARM-suspend-to-disk.patch but it doesn’t fit kernel 2.6.36 very well.  I made some tweaks but the kernel froze on boot before printing any messages.

 

Before I spend much more time doing development (like porting TuxOnIce to ARM?), I thought I’d ask for advice.

 

Searching the E2E forum has yielded nothing except a mention about “off mode” which I don’t entirely understand.

Can “off mode” be used to always restore to a read-only snap-shot when the device is plugged-in (unplugged/power-off to power-on)?

 

Paul

  • Applying the appropriate kernel version TuxOnIce patch works without errors, then using the ARM-suspend-to-disk patch to create the missing files for ARM seems to work...  I've at least compiled the kernel and booted it.  I have yet to actually restore a hibernated image.

     

  • Sorry to drag up an old thread, but I'm trying to get the exact same thing going on a dm365 based project that I'm working on.  Were you ever able to get suspend to disk completely working on the ARM?  I've run into the same problem you had where the kernel builds, but hangs after the "Starting kernel..." output from uboot.

    I'm currently working with the 2.6.34 kernel, and I'm hoping to be able to boot a snapshot directly from uboot. 

    Thanks,

    -bj

  • Sorry for drag up the old thread again, but I want to know whether you guys have made some process about the Hibernation on ARM linux. And is there any detail about it?