Re: power management on embedded linux?




"Cliff Brake" <cliff.brake@xxxxxxxxx> wrote in message
news:1180634939.970440.70620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 25, 6:56 am, "cpope" <cep...@xxxxxxxxx> wrote:
Does anyone have experience with power management on embedded linux
systems?
Is it mature and working? I specifically need my platform to do a
hibernate
where the system state is saved to a ram disk and then restored very
quickly
to wake up.

Depending on the processor, it works. If you are talking about ARM
processors, typically the SDRAM is put into self refresh, and the
processor is put into a low power state with the system consuming a
couple mA of current. On resume, you take the SDRAM out of self
refresh, and them jump to where you left off in the kernel. The
PXA270 has working suspend/resume support, so that may be a useful
reference. What processor are you thinking of using?

I know there are alot of issues with getting various devices to sleep
and
wake but I think we can handle that. I'm mostly interested in the
kernel
itself.

Yes, the kernel can typically handle it. But, this often a lot of
work to get the drivers to behave correctly, etc. The kernel does
have a mechanism to register power management callback functions, etc.

Good luck.
Cliff

====================
BEC Systems, LLC
http://bec-systems.com


My platform is a PPC inside a xilinx fpga so when I shut the processor down
I really shut it down. I'm expecting some trouble restoring the state of the
PPC on wake up but its good to here that it works on some platforms so I'm
not charting totally new water. -Clark


.



Relevant Pages

  • Re: Windows CE 4.2 scheduling
    ... Depending on the CPU. ... bring the SDRAM out of self refresh except via a reset. ... to schedule as every thread is blocked waiting on something (typically I/O ...
    (microsoft.public.windowsce.platbuilder)
  • Inconsistent accesses to SDRAM on a PCI card
    ... 750GX processor on it and 256MB of SDRAM. ... I wrote a host driver that could access the RAM via a /dev interface (I'm ... using kernel 2.6.6 on the host). ... read / write from / to SDRAM on the board via u-boot. ...
    (Linux-Kernel)
  • Re: XIP probelm
    ... > I have a montavista XIP kernel running on ARM and my kernel will be in ... > My SDRAM physicall address starts at 3000_0000 and flash starts at ... > is my flash. ... specific physical offset, ...
    (Linux-Kernel)
  • Re: Run SDRAM with slower speed
    ... >> This is clear from the datasheets, but one thing that was not at all clear when I was looking at ... >> this is how the length of a self-refresh cycle scales at lower clocks. ... When in the self refresh mode, the SDRAM retains data ...
    (sci.electronics.design)
  • Unable to boot Kernel on ARM after Memory Remap
    ... I've managed to enable the SRAM (verified by loading kernel to it and ... I've also disabled the SDRAM and mapped the SRAM to the ... If I try to boot the kernel with SDRAM disabled and ... if I simply enable the SDRAM with the second set of memory maps ...
    (comp.arch.embedded)