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