Re: CELF interest in suspend-to-flash

Tim Bird
2004-11-11T00:06:23Z

Nigel Cunningham wrote:
> Hi.
>
> On Thu, 2004-11-11 at 06:39, Thomas Gleixner wrote:
>> On Wed, 2004-11-10 at 13:41 -0200, Marcelo Tosatti wrote:
>> > Nigel Cunningham wrote:
>> > >
>> > > 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
=============================