Hi, all
Linus has released the 2.6.36 kernel[1], I just pulled it into our
master branch and created a new linux-2.6.36-stable[2].
Beside the updates from the mainline, our new linux-2.6.36-stable
added several important updates:
1. Refactor the cpufreq & MFGPT driver for Loongson
Thanks very much to Gang Liang for his hard work on cpufreq & MFGPT
driver, now, cpufreq driver works normally and may save some power for
us.
I have enabled CONSERVATIVE as the default governor, this governor is
good for laptop but for PC you may need to use ONDEMAND instead. Or,
if you don't care about the power consumption, you can try the
PERFORMANCE governor. To switch the governor, you can use the CLI
interface:
/sys/devices/system/cpu/cpu0/cpufreq/{scaling_available_governor,scaling_governor}
or the cpufreq-applet.
To monitor the cpufreq, you can try powertop or just "watch
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state"
2. Switch from old ATA/IDE driver to libata[3]
As a result, we need to use /dev/sdX instead of /dev/hdX in
/etc/fstab, /boot/boot.cfg and also in .config(for the default
hibernation partition), please remember to update them, otherwise, you
may be impossible to boot your system, perhaps you can simply try:
$ sed -i -e "s/hda/sda/g" /etc/fstab
$ sed -i -e "s/hda/sda/g" /boot/boot.cfg
But for the old kernels (<=2.6.36), you need to reserve the old hdaX.
If we don't want to care about the hda or sda, we'd better try uuid[4,5]:
uuid is the unique string for your partition, you can use it instead
of /dev/{sd,hd}X.
At first, you need to get the uuid of an indicated /dev/{sd,hd}X:
$ ls -l /dev/disk/by-uuid/
Record the uuid and replace the /dev/{sd,hd}X with
"UUID=<uuid_string>" in /dev/fstab, /boot/boot.cfg
3. The hibernation problem of the yeeloong_laptop platform driver is
fixed by Gang Liang
Now, yeeloong_laptop can survive after resuming from hibernation to disk.
BTW, 2.6.35.7, 2.6.34.7, 2.6.32.24 were released at least two weeks
ago, thanks very much to Alexandre Oliva for his work on updating the
2.6.32.24 branch and now he is one of the maintainers of our
linux-loongson-community.
And here are several important works in our future 2.6.{37, 38} for Loongson.
1. Fix the hibernation problem of the rtl8187b driver(Currently,
rtl8187b can not survive after resuming from hibernation/STD)
2. Add the Gdium support
Gdium is another Loongson laptop, but the latest kernel support is
only 2.6.29, so, we need to update it.
Some works have been done in the following links:
http://dev.lemote.com/cgit/linux-loongson-community.git/log/?h=dev/gdium
http://repo.or.cz/w/linux-2.6/linux-mips/linux-gdium.git
http://git.opensde.net/users/amery/linux-2.6.29-gdium/
3. Add Perf support
Perf will be a very important debugging tool for kernel development.
The core support of Perf for MIPS have been sent out by Deng-Cheng Zhu
and has been applied by Ralf for 2.6.37, So, its time to add Perf
Support for Loongson.
Some works have been done based on the old version of Perf for MIPS here:
http://dev.lemote.com/cgit/rt4ls.git/log/?h=rt/ftrace%2bperf
4. FDT support (interface between bootloader and kernel, please refer
to PowerPC)
The goal of adding FDT support is a preparation for sharing one kernel
image in all of the Loongson machines.
Some RFC patchsets have been sent by Dezhong Diao (dediao) to
linux-mips mailing list: The Device Tree Patch for MIPS, and another
RFC patchset: Add device tree support to MIPS has been sent out by the
original author(grant) of FDT.
5. Cleanup the cpufreq/MFGPT driver(Mainly based on the work of
GangLiang and drivers/misc/cs5535-mfgpt.c) and upstream it
More TODO works have been listed in:
http://dev.lemote.com/code/linux-loongson-community#TODO%E5%BE%85%E5%81%9A%E5%B7%A5%E4%BD%9C
If you are interested in the above works, welcome to reply this thread directly.
Regards,
Wu Zhangjin
[1] http://kernelnewbies.org/Linux_2_6_36
[2] http://dev.lemote.com/cgit/linux-loongson-community.git/
[3] https://patrick-nagel.net/blog/archives/50
[4] http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/
[5] UUID on Linux fstab file:
http://www.go2linux.org/linux/2010/09/uuid-linux-fstab-file-766
--
You received this message because you are subscribed to the Google Groups
"loongson-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/loongson-dev?hl=en.