SuspendToDisk feature on ARM


sumeet4linux
 

Hi List,
 
I would like to provide/implement Suspend To Disk (hibernate) feature on Linux based ARM platform on Embedded products.
Can you provide any clue on how much effort is required to implement hibernation feature to ARM architecture for latest linux kernel ?
 
It will be very helpful if you give some clues to start with for this hibernation implementation for ARM.

Thanks in advance.
 
Regards,
Sumeet


Hiroki Kaminaga <kaminaga@...>
 

Hi Sumeet,

From: sumeet linux <sumeet4linux@...>
Subject: [Celinux-dev] SuspendToDisk feature on ARM
Date: Thu, 17 Jun 2010 10:25:34 +0530
Hi List,

I would like to provide/implement Suspend To Disk (hibernate) feature on
Linux based ARM platform on Embedded products.
Can you provide any clue on how much effort is required to implement
hibernation feature to ARM architecture for latest linux kernel ?

It will be very helpful if you give some clues to start with for this
hibernation implementation for ARM.
There are wiki available:

http://elinux.org/Suspend_To_Disk_For_ARM

Patches are also uploaded here, but linux version is out of date...
Suspend framework itself is already in vanilla linux, so ARM port
is not so much of a work. If you are familiar with ARM instructions,
what you need is to implement register store and load at suspend/resume
time. Looking into the patch would be helpful.


Have fun!

Regards,

----
(Hiroki Kaminaga)
t


sumeet4linux
 



On Fri, Jun 18, 2010 at 3:41 AM, Hiroki Kaminaga <kaminaga@...> wrote:

Hi Sumeet,

From: sumeet linux <sumeet4linux@...>
Subject: [Celinux-dev] SuspendToDisk feature on ARM
Date: Thu, 17 Jun 2010 10:25:34 +0530
> Hi List,
>
> I would like to provide/implement Suspend To Disk (hibernate) feature on
> Linux based ARM platform on Embedded products.
> Can you provide any clue on how much effort is required to implement
> hibernation feature to ARM architecture for latest linux kernel ?
>
> It will be very helpful if you give some clues to start with for this
> hibernation implementation for ARM.

There are wiki available:

 http://elinux.org/Suspend_To_Disk_For_ARM

 
 
Thanks for this wiki link, this is really good starting point.
 
 
Patches are also uploaded here, but linux version is out of date...
Suspend framework itself is already in vanilla linux, so ARM port
is not so much of a work. If you are familiar with ARM instructions,
what you need is to implement register store and load at suspend/resume
time. Looking into the patch would be helpful.


 
 
If I want to improve boot up time, than I would like to port snapshot feature for ARM.
Is there any dependency like before porting snapshot boot feature for ARM arch, I need to first port swsusp or suspend2 ?
OR Is it possible to directly port snapshot boot on ARM without porting swsusp or suspend2 ?
 
Thanks,
Sumeet