Posts

loongson specific profile

If loongson finally were officially supported by gentoo, it must have its own profile. Currently, it uses cobalt's profile. Of course, one has to do some dirty hacks to make it usable with loongson. For example, cheat portage to make it think colo is already installed. Loongson box uses pmon as bios and bootloader, doesn't use colo which is cobalt's bootloader. Recently, I have read PMS draft. For me, it is quite informative. I've learned some internals about our package manager, specifically I've learned something about profile which i don't know before. Then I applied those knowledge into reality. I created a loongson specific profile in loongson overlay and used it. The main trick here is to write absolute path of parent directory into PARENT file, instead of "..". And it turned out to work well.

Loongson got license from MIPS Technologies

http://www.mips.com/PressRoom/PressReleases/2007-03-28 http://www.st.com/stonline/stappl/press/news/year2007/t2154.htm How exciting!!!

Loongson Gentoo stage 4

I have uploaded a stage4 to ftp://godson2e:lemote@www.easy2fly.org/, under the directory of Gentoo. FEATURES include but not limited to: 1. nptl pthread library, the debian shipped with box uses Linuxthreads pthread library. 2. complete KDE 3.5.5 3. 4 kernels, 32bit/64bit, with/without kgdb 4. partial mirror of gentoo.org, include half-translated Simplifid Chinese handbook 5. firefox, mplayer, audacious... I used binutils-2.17 when compiling firefox, USE flag of binutils is "multislot -multitarget nls -test -vanilla" This mplayer doesn't contain any loongson specific patch, but it works.

Gentoo 2007.0 livecd will have Simplified Chinese interface

The relevant thread on Gentoo China google group http://groups.google.com/group/gentoo-china/browse_thread/thread/c59e9fbaa212296c/#

想在龙芯上运行mldonkey

想法是把盒子改造成下载器兼播放器,盒子有tvout,直接接电视上放 我的笔记本就不需要拿来拿去了,也不用进windows了 mldonkey的好处是,我在笔记本点连接,就可以直接调用盒子上的mldonkey来下载 不过要移植ocaml ocaml是一种编程语言 目前只支持IRIX和n32 ABI 现在龙芯还只能运行于Linux,Linux上的应用程序主要还是用o32 ABI 参考Redhatter曾经说过的: The problem with n32 though, is that few applications actually handle this case well. Debugging tools like strace and gdb are not coded to handle this... KDE works sort-of, but is broken in several key areas. Gnome is totally useless on n32. 两个解决方案,一个是multilib,一个是移植到o32 ABI。似乎都不太容易。 如果multilib,如spb所说的: you'll need your userland CHOST set to mips64 instead of mips, a gcc and binutils capable of handling all the binary formats you want to use, and appropriate system libraries for all the ABIs 不过Redhatter又说过: The optimal solution would be multilib, however the necessary code for Portage has not been written. Architectures like AMD64 work because of shear ugly kludges ... the actual multilib case isn't handled at all. 如果要移植,至少需要做两件事(可能还有其他的,我还没有发现) 一是增加一个汇编文件mipsel.s(SGI的mips是...

KDE on loongson

Image
KDE终于装好了,截个图

Redhatter has released mips1(little endian) stages

http://dev.gentoo.org/~redhatter/mips/cobalt/stages/ They should work on loongson, however i haven't tried it yet. I will soon release a stage4 for loongson, including KDE. Stay tuned.