To put the entire system into standby mode, run the following command:
# echo standby > /sys/power/state
Chapter 8 (i.MX28 Static Power Management Driver) of "MX28_EVK_Linux_Reference_Manual.pdf".
Power saving modes may be applied under USB-5V.
i want to TEST "Suspend-to-RAM (mem)" Mode.
But set to mem mode, no change mem mode.
How can i do mem mode TEST!
please refer to the below message..
root@freescale ~$ echo mem >/sys/power/state
PM: Syncing filesystems ...
done.
Freezing user space processes... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
USB Host suspended
USB Gadget resumed
USB Host resumed
pm_op(): usb_dev_resume+0x0/0x18 returns -108
PM: Device usb1 failed to resume: error -108
Restarting tasks ... done.
root@freescale ~$
From section 3.1 (New Features) of i.MX28 EVK Linux Release Notes
(MX28EVKLRN,Rev. L2.6.35_1.1.0, 02/2013) :
“Add suspend-to-RAM support”.
Next, the following is
Kernel Configuration:
System Type --->
Freescale i.MXS implementations --->
support MX28 suspend-to RAM feature
In the original EVK design, DRAM power source is provided by the on-chip power supply
and it will be turned off during mem mode. In order to support suspend to RAM, it must be
connected to a constantly on power source rather than the on-chip power supply.
OK.
your mean, do i select "S1" is lower, right?
S1: Battery source selection switch
Upper position: real 4.2V Li-ion battery using J85/J86.
Lower position: simulated 4.2V battery with on-board EVK 4.2V regulator.
thnaks,
S1 defines if the whole board will feed from a battery. For suspend-to-RAM mode it is necessary to power
DRAM only (and maybe RTC), when all the rest supply is OFF. The i.MX28 EVK does not support such mode.
Dear.
can you provide "mem mode" suport BSP??