[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnewsense-dev] new loongson STD/Hibernation support

From: Wu Zhangjin
Subject: [Gnewsense-dev] new loongson STD/Hibernation support
Date: Tue, 30 Jun 2009 15:03:51 +0800


I just added two new tags in the rt4ls git repository:



they are the latest STD support for loongson, welcome to test it, any
question and bug reports are welcome!

here is a short user manual:

1. clone the above git repository and checkout one of the tags
2. compile the kernel with the following configs:

Power management options -->
        [*] Hibernation (aka 'suspend to disk')
         (/dev/hda3) Default resume partition

 NOTE! change /dev/hda3 to your own swap partition, or config it via
kernel comand line resume=/dev/hdaN later.

3. reboot your machine with the new kernel

no specific kernel command line needed if you have hard-coded the
default resume partition, otherwise, you need to add something like

4. start STD/Hibernation (STD == Save To Disk)

$ wget -c
 $ chmod +x
$ ./

NOTE! the above shell script have been tested on fuloong2e and
yeeloong2f, there will be some warnings, ignore them. if you want to
learn more about the user-space hibernation shell script, download the
'powerful' one here: , perhaps some
distribution developers need it :-)

5. boot your machine with the new kernel to resume the saved image in

  [no more comment, the same as step 3.]

BTW: STD/Hibernation support have been already merged into the
linux-mips development branch.

Wu Zhangjin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]