Re: [loongson-dev] Fwd: [PATCH 03/18] MIPS: add generic support for multiple machines within a single kernel

2010-11-24 Thread zhangfx
It is really a very good sign for MIPS. On 2010?11?24? 17:42, wu zhangjin wrote: Hi, folks This is similar to our machtype support for Loongson(arch/mips/loongson/common/machtype.c), which tries to share one kernel image among several machines. this is a light-weight solution, but FDT covers mo

[loongson-dev] Re: [LLC] Linux 2.6.37, Linux-tiny for Loongson

2011-01-05 Thread zhangfx
o Misc changes introduced by the Linux-tiny project for MIPS/Loongson I have launched a Linux-tiny project for MIPS/Loongson and created a tiny36 branch[3] for it. this project aims to speed up and minimize Linux for Loongson, the long-term goal is make it available as a bootloader and allow it

Re: [loongson-dev] Metrics on MIPS64-DSP accelerated H.264, MPEG, VP8 and Theora

2011-02-25 Thread zhangfx
On 2011年02月25日 04:42, lkcl wrote: dear loongson developers, i'm looking for some metrics on how the MIPS-DSP (SIMD) instructions can accelerate Video Decode. it's very hard to find anything because searches for "MIPS-DSP MPEG" end up separating out "DSP" from "MIPS", and as a result add in in

Re: [loongson-dev] Fulong 2F auto power on?

2011-02-28 Thread zhangfx
On 2011年02月28日 19:31, Michael Heide wrote: Hello, is there a way to let the Fulong 2F Box automatically power on? Modern ATX PCs often have configuration options in Bios: i.e. "Power on after power loss" or power on via some timer or WOL or... Is there some way to power on the fulong if it

Re: [loongson-dev] Re: Illegal instruction with guile

2011-04-07 Thread zhangfx
On 2011年04月08日 06:14, ri...@happyleptic.org wrote: Try this: ---[ test.S ]--- // gcc -march=loongson2f test.S -o test .text .global main main: ldc1 $f1, a ldc1 $f2, b madd.d $f0, $f1, $f2 Could it be the problem of using odd number floatpoint registers for doubl

Re: [loongson-dev] How to get one of those bi-loongson3a mobo?

2011-04-12 Thread zhangfx
On 2011年04月12日 14:22, ri...@happyleptic.org wrote: I just saw this : http://www.loongson.cn/EN/product_info.php?id=44 and I definitively want one ! Do someone knows if this motherboard is supposed to be functional/available/exportable to Europe ? For now it should be not ready for export

Re: [loongson-dev] Re: How to get one of those bi-loongson3a mobo?

2011-04-25 Thread zhangfx
Dear Zhangge, Do you have any news for this? Dear all, Lemote is designing a loongson3A laptop and a mini-ITX loongson3a board(one cpu), both should be available around this July. Sever products are under planning. Regards On 2011年04月25日 20:35, devl547 wrote: Bump for the question.

Re: [loongson-dev] Doesn't loongson 2f based mini-pc comes with acpi?

2011-06-28 Thread zhangfx
There is no standard acpi support in current loongson based systems. ? 2011-6-29 12:24, Javier Vasquez ??: Perhaps a non smart question, but I'm wondering whether there's a way to enable acpi on loongson based systems... See, I get: % ls /proc | grep -i acpi % % ls /sys/module | grep -i acpi

Re: [loongson-dev] Re: Android boots

2011-10-23 Thread zhangfx
Good job, i am waiting for the open of 4.0 and make a perfect android on loongson3 laptop. With the big screen and mips ndk support, i guess it can be very interesting and useful.Wu Zhangjin 编写:On Sun, Oct 23, 2011 at 3:48 AM, Kip wrote: > On Oct 22, 4:28 am, Zhen Xin wrote: >> Hi all, >>      J

Re: [loongson-dev] [PATCH] Support Loongson FPU instructions to math-emu (was Illegal instruction with guile)

2011-10-28 Thread zhangfx
Good job. I will forward to related guys to correct possible error documents. Thanks & regards ? 2011-10-29 3:19, Mark H Weaver ??: Hello all, Apologies if this has already been addressed, as I am new to this mailing list and have not had time to search the archives carefully. I have found a

Re: [loongson-dev] Re: ld error when compile the libwebcore.so

2011-11-09 Thread zhangfx
Normally it is a toolchain bug, try to update your toolchains. I've seem the same error when trying to build android froyo for loongson, change the toolchain can solve it. BTW: for Loongson2, default mips android toolchain is not suitable, because it defaults to mips32, some library & code has mip

Re: [loongson-dev] kernel boot panic

2011-12-01 Thread zhangfx
The kill init message means your init process exit(it should never),it is not kernal fault, try add prints in init source code to find out reason,probably due to illegal instruction,or wrong init.rc李晖 编写:Hi, all I am porting android to loongson2f, the android file system(froyo) and android linu

Re: [loongson-dev] kernel boot panic

2011-12-01 Thread zhangfx
For illegal instructions,you can add printk in arch/mips/kernal/traps do_ri entrancezhangfx 编写:The kill init message means your init process exit(it should never),it is not kernal fault, try add prints in init source code to find out reason,probably due to illegal instruction,or wrong init.rc李晖 编写:

Re: [loongson-dev] Re: kernel boot panic

2011-12-02 Thread zhangfx
2,yes李晖 编写:hi, zhangfx, thank you for your reply, I added printf to the init.c file of android file system code (system/core/init/init.c), and found that the kernel panic after the "open_devnull_stdio" is called, so I think the kernle panic in that function, I will check the exact

Re: [loongson-dev] ioctl(fd, ASHMEM_SET_SIZE, size) failed

2011-12-11 Thread zhangfx
If you are using 64bit kernel,you need to handle the 32 bit ioctl. Ioctl number often related to a type size,while the same type might have different size for 32bit usrrland and 64bit kernal,so we often need compact_ioctl to translate. Lots of samples in drivers.李晖 编写:hi,all I am porting andr

Re: [loongson-dev] failed to link /system/bin/sh CANNOT LINK EXECUTABLE

2011-12-19 Thread zhangfx
于 2011-12-17 12:31, 李晖 写道: hi, all I am porting android to loongson2f which is a desktop computer, when I boot the system, the following error occurred, [44.812000] r8169 :00:06.0: eth0: link dow [44.812000] ADDRCONF(NETDEV_UP]: eth0: link is not ready link_image(2329): failed to link

Re: [loongson-dev] 32bit kernel not boot

2011-12-21 Thread zhangfx
于 2011-12-22 9:45, 晏华 写道: > In 32 bit mode, the pci window of loongson2F is too small for some > devices such as sis315 > driver. The sis315 claims 128MB pci memory, while loongson2f has only > 128M(another 64MB is reserved for legacy use)。 Besides the sis315 > graphics devies, still some other p

Re: [loongson-dev] failed to link /system/bin/sh CANNOT LINK EXECUTABLE

2011-12-21 Thread zhangfx
于 2011-12-22 11:39, Zhen Xin 写道: Just a tip: your system can boot with a regular OS, with the android partition mounted, and chroot into it, to have more details on what's happening on the linking stage. Em, it is a good way for early bugs. It is not hard to help lihui out by giving him worki

Re: [loongson-dev] Re: 32bit kernel not boot

2011-12-22 Thread zhangfx

Re: [loongson-dev] Re: 32bit kernel not boot

2011-12-26 Thread zhangfx
2时31分, 李晖 wrote: >> good, hanhua send me a mail declare that he has made a patch for >> linux-2.6.27.1 to support it for 32 bit loongson, I will pull the >> repository out and patch it, then try it if it works for me. >> Thanks all, I will feed back then. >> >>

Re: [loongson-dev] Re: 32bit kernel not boot

2011-12-26 Thread zhangfx
It won't work due to mips32 specific instructions. 于 2011-12-27 10:38, Heiher 写道: > Hello, > > http://developer.mips.com/login/dalvik-turbo/ > How about this one? > > 2011/12/27 Zhen Xin : >> 在 2011年12月27日 上午8:58,zhangfx 写道: >>> >>> 于 2011-12-26 2

Re: [loongson-dev] Re: HELP!!! Systerm Server died in native code

2012-01-12 Thread zhangfx
于 2012-1-12 11:37, Zhen Xin 写道: > If sqlite is the evil, you should be able to reproduce it by writing a > pure C program that calls the same function and dynamically linked to > /system/lib/libsqlite.so when loading. Just several lines can confirm > this. > > And, well, here is my question: afte

Re: [loongson-dev] Re: HELP!!! Systerm Server died in native code

2012-01-13 Thread zhangfx
will >> pay for it? >> >> On 1月12日, 下午6时12分, zhangfx wrote: >>> 于 2012-1-12 11:37, Zhen Xin 写道:> If sqlite is the evil, you should be able >>> to reproduce it by writing a >>>> pure C program that calls the same function and dynamically linked to >&g

Re: [loongson-dev] Yeeloong USB Mouse Debian

2012-02-04 Thread zhangfx
于 2012-2-4 21:39, public 写道: Hello! I running a Debian Squeeze on Yeeloong. The USB mouse does not work. # uname -a Linux yeeloong 2.6.39.3-loongson-2f #2 PREEMPT Sat Jul 23 11:52:11 CST 2011 mips64 GNU/Linux # lsusb Bus 004 Device 008: ID 09da:000a A4 Tech Co., Ltd Port Mouse # dmesg usb 4-2:

Re: [loongson-dev] Re: HELP!!! Systerm Server died in native code

2012-02-06 Thread zhangfx
verified; I'm really busy these days) mkdir ics-loongson cd ics-loongson $ repo init --repo-url=git://github.com/foxsen/repo.git --repo-branch=stable -u git://github.com/foxsen/manifests.git -b loongson-ics-r0 repo sync Regards > @zhangfx please take a look ^_^ > > $ ls > bionic.gi

[loongson-dev] Re: [lemote] gcc loongson vector intrinsics

2012-02-19 Thread zhangfx
? 2012-2-19 11:00, Danny Clark ??: Thought someone on this list might be able to answer Matt's questions regarding gcc and the loongson processor. I have talked to ICT compiler team for this work. I thing situation will be better soon. Regards -- Forwarded message -- From:

Re: [loongson-dev] Re: mouse support for android?

2012-02-21 Thread zhangfx
于 2012-2-21 16:39, Zhen Xin 写道: > Hi, > I tried and found that there is partly support for mouse in the > Froyo. The right-button of mouse is "BACK" and the middle-button is > "MENU". Left-button is supposed to be the "TAP" action, however, the > mouse cursor doesn't move when I move the mous

Re: [loongson-dev] Re: mouse support for android?

2012-03-02 Thread zhangfx
Our experience is that froyo CAN support mouse with no/little extra effort. I recalled that I spent a little time to work through the path and might have some small fixes, then it worked. Please give us a tip ^_^ Sorry for the long delay. I would like to recommend this: http://blog.csdn.net/mya

Re: [loongson-dev] Apps can not run on system built by myself

2012-03-12 Thread zhangfx
于 2012-3-12 23:39, 李晖 写道: > Hi,all > I have succeed ported group to loongson2F laptop, but after I > installed apps to it(by copying API file into the /system/app > directory) and open it, the app crashed! > > BTW, crashed apps include baidu map, soso map, Mini map, fruit ninja. > But Sougou Inpu

Re: [loongson-dev] Re: Apps can not run on system built by myself

2012-03-13 Thread zhangfx
If the dalvik vm us not stable anything can happen.look at the logcat output.李晖 编写:hi, zhangfx, thank you very much for your information, what you said helps me a lot. I found that some crashed apps do use NDK, but others did not, for example gmail(I found many google apps can not run on

Re: [loongson-dev] Yeeloong Wake on LAN

2012-04-16 Thread zhangfx
于 2012-4-17 7:28, Kip Warner 写道: Hey list, Does the Yeeloong have Wake on LAN capabilities? If so, is there a way to enable it? Yeeloong hardware has no support for WOL, to enable it you have to modify the motherboard(not a big job for people with tools & experiences) -- You received this

Re: [loongson-dev] Re: Yeeloong Wake on LAN

2012-04-17 Thread zhangfx
于 2012-4-18 8:17, Kip Warner 写道: On Tue, 2012-04-17 at 18:45 +, zhangfx wrote: Yeeloong hardware has no support for WOL, to enable it Hey Zhang. Matt is correct that the Realtek's chipset apparently supports WOL according to their website: http://www.realtek.com.tw/pro