Hi, Folks

If your YeeLoong netbook is still too slow, It's time for you updating
your system.

Firstly, please update your kernel to the latest 2.6.37 for
Loongson[1], are you still using 2.6.37? oh, no, please ... why
2.6.37? more features like ext4, better response performance with the
session autogroup patch, more power saving support(hibernation,
suspend, backlight, battery...), better user experience(hotkey).

Secondly, If you are a Linux expert, please Install Gentoo for
Loogson[2] maintained by Zhang Le, otherwise, please to to Debian 6.0
for Loongson[3] maintained by Liu Shiwei.

I'm not the expert, so, I have simply installed the pre-installed
Debian 6.0 for Loongson here:
http://www.anheng.com.cn/loongson/install/

[ For experts, welcome Zhang Le to add a quick start for installing
gentoo on Loongson machines ;-) ]

To install it, we can simply download the latest package to one of our
empty partitions on YeeLoong harddrive and add an optoin for it in
/boot/boot.cfg.

For Gnome Desktop:

$ wget -c 
http://www.anheng.com.cn/loongson/install/loongson2_debian6_20101225.tar.lzma

For LXDE:

$ wget -c 
http://www.anheng.com.cn/loongson/install/loongson2_debian6_lxde_20101225.tar.lzma

Then, assume you have an empty parition /dev/sdaN, format it to ext4
and mount it to /mnt:

$ mkfs.ext4 /dev/sdaN
$ mount /dev/sdaN /mnt

Decompress the lzma package to /mnt

$ cd /mnt
$ lzma -cd loongson2_debian6_xxxx_.tar.lzma | tar -xf -C /mnt

Then, Copy the kernel images to your current /boot

$ cp -r /mnt/boot/* /boot/

At last, add a new boot option in /boot/boot.cfg, e.g.

title Debian 6.0
        kernel (wd0,0)/boot/<put the name of the latest kernel image here>
        args console=tty root=/dev/sdaN

Check it and reboot, at last, you will get a faster system.

Gnome has better softwares than LXDE, so, it is recommended, but LXDE
is faster. If you want Gnome faster, you can refer to [4] and use a
light weight login manager(e.g. slim) instead of gdm. and to get a
faster web brower, midori may be a good choice, I have tried it, it is
very fast, for the audio player, moc(music on console) may be a good
choice.

Why the systems maintained by Zhang Le and Liu Shiwei are faster? For
they have added the softwares optimized for Loongson, e.g. Xorg
siliconmotion driver[5], Pixman[6], ffmpeg[7]. and the Gentoo
maintained by Zhang Le also allow the users to compile it with N32 ABI
to get better performance.

Some other optimizations may be not available in the above systems,
e.g. Mplayer[8], this has not been maintained for a long time, but
somebody may reactivate it ;-)

Cheers,
Wu Zhangjin
--------
[1] http://dev.lemote.com/code/linux-loongson-community
[2] http://dev.lemote.com/code/linux-loongson-community#Gentoon32
[3] http://dev.lemote.com/code/linux-loongson-community#Debian6.0Recommend
[4] http://dev.lemote.com/code/linux-loongson-community#Xwindow
[5] http://dev.lemote.com/code/linux-loongson-community/wiki/x11-yeeloong
[6] http://dev.lemote.com/code/Pixman.Loongson
[7] 
http://gentoo-overlays.zugaina.org/loongson/portage/media-video/ffmpeg/files/ffmpeg-loongson.patch
[8] http://dev.lemote.com/code/mplayer

-- 
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.

Reply via email to