Hi,
I just added two new tags in the rt4ls git repository:
git://dev.lemote.com/rt4ls.git
linux-loongson-2.6.30-STD
linux-loongson-2.6.29-STD
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
this:
resume=/dev/hdaN
4. start STD/Hibernation (STD == Save To Disk)
$ wget -c
http://dev.lemote.com/code/rt4ls/attachment/wiki/linux-loongson-std-howto/std.sh
$ chmod +x std.sh
$ ./std.sh
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: http://www.tuxonice.net/downloads/ , perhaps some
distribution developers need it :-)
5. boot your machine with the new kernel to resume the saved image in
disk
[no more comment, the same as step 3.]
BTW: STD/Hibernation support have been already merged into the
linux-mips development branch.
Regards,
Wu Zhangjin
_______________________________________________
gNewSense-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/gnewsense-dev