CELF interest in suspend-to-flash
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================
Hi.
Quoted 7 lines · Tim Bird
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
If more work is required, I'd happily help, although I might be a little
slow: I'm only work on this on a voluntary basis at the moment (looking for full time work, from next month though).
Regards,
Nigel
Quoted 5 lines
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================
Signature · 7 lines
Nigel Cunningham Pastoral Worker Christian Reformed Church of Tuggeranong PO Box 1004, Tuggeranong, ACT 2901 You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6
Quoted 1 line · Nigel Cunningham
Can flash be treated as a swap device at the moment?
I don't know. I'll ask around. I'm not an expert, but we have some people with experience with suspend-resume in our working group.
Quoted 3 lines
If so, it might
simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Interesting... I'll pass this on and see what people think.
Quoted 3 lines
If more work is required, I'd happily help, although I might be a little
slow: I'm only work on this on a voluntary basis at the moment (looking for full time work, from next month though).
Also interesting. The forum moves VERY slowly on things (so you might not hear back from me for a while), but I'll definitely keep this in mind.
Thanks very much for the response.
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================
Quoted 8 lines · Nigel Cunningham
Hi.
Quoted 5 lines · Tim Bird
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Quoted 6 lines
Quoted 2 lines
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Sure, you only need to have the flash as a block device (ie driven by the IDE code).
Quoted 3 lines
If more work is required, I'd happily help, although I might be a little
slow: I'm only work on this on a voluntary basis at the moment (looking for full time work, from next month though).
Hi.
Quoted 12 lines · Marcelo Tosatti
Quoted 11 lines · Nigel Cunningham
Hi.
Quoted 7 lines · Tim Bird
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
Quoted 6 lines
Quoted 3 lines
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Sure, you only need to have the flash as a block device (ie driven by the IDE code).
Cool. In that case, it should work fine with either swsusp (the mainline implementation) or suspend2.
Regards,
Nigel
Signature · 7 lines
Nigel Cunningham Pastoral Worker Christian Reformed Church of Tuggeranong PO Box 1004, Tuggeranong, ACT 2901 You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6
Quoted 9 lines · Marcelo Tosatti
Quoted 9 lines · Tim Bird
Quoted 7 lines
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
Quoted 6 lines
Quoted 3 lines
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Sure, you only need to have the flash as a block device (ie driven by the IDE code).
That's true, if you are talking about Compact FLash which pretends to be a harddisk, but I assume that the embedded people are talking about raw FLASH chips. It's possible do this, but it will need some tweaks to the MTD code
tglx
Hi.
Quoted 14 lines · Thomas Gleixner
Quoted 13 lines · Marcelo Tosatti
Quoted 12 lines · Tim Bird
Quoted 7 lines
Hi all,
Lately, the CE Linux Forum power management working group is showing some interest in suspend-to-flash. Is there any current work in this area?
Who should we talk to if we want to get involved with this (or lead an effort if there isn't one)?
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Quoted 7 lines
Quoted 2 lines
Sure, you only need to have the flash as a block device (ie driven by the IDE code).
That's true, if you are talking about Compact FLash which pretends to be a harddisk, but I assume that the embedded people are talking about raw FLASH chips. It's possible do this, but it will need some tweaks to the MTD code
Alternatively, a new module could be written for suspend to read/write to it. If your idea is just tweaks, it will probably be quicker to implement (and... I don't have access to the hardware).
Regards,
Nigel
Signature · 7 lines
Nigel Cunningham Pastoral Worker Christian Reformed Church of Tuggeranong PO Box 1004, Tuggeranong, ACT 2901 You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6
Quoted 17 lines · Nigel Cunningham
Hi.
Quoted 14 lines · Thomas Gleixner
Quoted 8 lines · Marcelo Tosatti
Quoted 4 lines · Nigel Cunningham
Can flash be treated as a swap device at the moment? If so, it might simply be a matter of specifying the same parameter used in swapon for the resume2= boot parameter.
Sure, you only need to have the flash as a block device (ie driven by the IDE code).
That's true, if you are talking about Compact FLash which pretends to be a harddisk, but I assume that the embedded people are talking about raw FLASH chips. It's possible do this, but it will need some tweaks to the MTD code
I just heard from a developer at Samsung.
They have successfully used NAND flash as a swap device using MTD. (on a SMDK2440 platform and SMC NAND flash)
They have not tested NOR flash as swap device. I'll try to follow up and see if this translates into something which will work with your suggested method.
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================