On 03:18 Thu 06 Jan     , wu zhangjin wrote:
> 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 ;-) ]

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.

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

-- 
ZHANG, Le
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973

Attachment: pgpEghoWqJx8C.pgp
Description: PGP signature

Reply via email to