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
better response performance with the
session autogroup patch,
Just grab the stage3-loongson2f_n32-20100725.tar.bz2 under
experimental/mips/stages/loongson/ directory of any gentoo mirror, like:
http://mirrors.xmu.edu.cn/gentoo/experimental/mips/stages/loongson/
Then follow gentoo handbook to install it
http://www.gentoo.org/doc/en/handbook/handbook-mips.xml
Basically installing gentoo using a stage3 tarball is as simple as the following
steps:
1. prepare a partition
2. unpack stage3 and portage tarball
3. chroot into the partition and modify some configuration files.
4. install necessary packages and bootloader
Then you are good to go.
--
ZHANG, Le
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973
I guess there was one, not remember where it stayed, maybe under the
boot/ directory of your decompressed package?
> ). But the system is in chinese, a
> language that I do not understand. Is possible to obtain this system
> in english?
Of course, you can:
$ dpkg-reconfigure locale
Select what you like with the above command ;-)
Regards,
Wu Zhangjin
>
> [1] http://www.anheng.com.cn/loongson/install/loongson2_debian6_lxde_20110116.tar.lzma
> [2] http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/linux-image-2.6.37-libre-lemote_0lxo_mipsel.deb
>
> --
> You received this message because you are subscribed to the Google Groups "loongson-dev" group.
> To post to this group, send email to loongs...@googlegroups.com.
> To unsubscribe from this group, send email to loongson-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
>
>
ooh, sorry, Shiwei didn't provide initrd, only vmlinu* there, I just
thought of you were finding vmilnu*.
initrd is useless for a specific board but only slow down the booting
of the system, so, what is your real requirement?
>
>> > ). But the system is in chinese, a
>> > language that I do not understand. Is possible to obtain this system
>> > in english?
>>
>> Of course, you can:
>>
>> $ dpkg-reconfigure locale
>>
>> Select what you like with the above command ;-)
>
> I ran this command with "locale" instead "locales". It works! :-)
My fault, anyway, cong~~
Regards,
Wu Zhangjin
>
> Thank you very much,
> asm.
>
> PS: Excuse my poor english writing. I am not a native of this language.
>
ooh, sorry, Shiwei didn't provide initrd, only vmlinu* there, I just
thought of you were finding vmilnu*.
initrd is useless for a specific board but only slow down the booting
of the system, so, what is your real requirement?
I knew the cause: the USB support was not compiled into the kernel
image but was compiled as modules, so add Shiwei in this loop and I
will add the USB support as Y in the default kernel config asap.
> It seems
> works (it boots, starts lxde and I can run commands on it). But wifi is not
> working. (I already verified that the network-manager is running and, led
> indicator turns green when press Fn+F5). Now, I need fix this.
Can you get any odd information with the dmesg command:
$ dmesg
Not sure which kernel source code did lxoliva use, If he was using the
one from mainline + the old wifi driver, then, the wifi driver will
not work, for I have fixed a mainline problem to make the wifi work.
If you have time, you can download the kernel here:
http://dev.lemote.com/code/linux-loongson-community
and compile the kernel from scratch, but the native compiling is slow,
so, you'd better wait for Shiwei's update If you are not too urgent.
Regards,
Wu Zhangjin
>
> Regards,
> asm.