[loongson-dev] Re: Android boots

2011-11-02 Thread
oh, you are LongStar, aren't you? I am doing the same thing you have succeed done, but i confront a problem that i don't know how to deal with, and i send you a email to your sina mail and hope your help, thank you ! On 10月22日, 下午10时36分, Zhen Xin wrote: > OK, If that's a question, let me clarify.

[loongson-dev] as not work well when compile android code from mips

2011-11-04 Thread
hi, all I am porting android to loongson2f, I git code from developer.mips.com/ android, code branch is mips-froyo-r8, and by following the LoneStar's blog:http://blog.chinaunix.net/space.php?uid=13327410 After some preparing jobs, i typed make showcommands, at the beginning, every thing is fine, b

[loongson-dev] Re: as not work well when compile android code from mips

2011-11-04 Thread
uot; directive were added in the .s file. do you know how to remove that kind of directive when I transfer the .cpp to .s file. Thandk you very much! andy On Nov 5, 4:34 am, David Kuehling wrote: > >>>>> "李晖" == 李晖   writes: > > the assembler just can not ident

[loongson-dev] Re: Android boots

2011-11-04 Thread
I think this is a good advise, as it avoid a lot of repetitive work for the engineers who is porting android to loongson. I really hope we all work together to construct a perfect android on loongson. andy On Oct 23, 11:20 pm, Wu Zhangjin wrote: > On Sun, Oct 23, 2011 at 10:05 PM, Zhen Xin wro

[loongson-dev] Re: as not work well when compile android code from mips

2011-11-06 Thread
; On 11/5/11, 李晖 wrote: > > > > > hi, David, > > thank you for your reply, I checked my .s file and find there > > indeed many ".set mips32r2" directive, but In the command I transfer > > the .cpp file to .s file, I added the option "-march=loong

[loongson-dev] Re: as not work well when compile android code from mips

2011-11-06 Thread
thanks David Kuehling for your tips, which is a very useful information, thanks also goes to Wu Zhangjin! -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from thi

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

2011-11-08 Thread
hi all, I am porting android to loongson based on the mips android, and the android version is froyo_r8, which can be download from http://developer.mips.com/android/android-source-code/, my workstation is ubuntu 9.10 in the vmware, the memory is 512M, free space of hardware is 20G, after some con

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

2011-11-08 Thread
hi all, I am porting android to loongson based on the mips android, and the android version is froyo_r8, which can be download from http://developer.mips.com/android/android-source-code/, my workstation is ubuntu 9.10 in the vmware, the memory is 512M, free space of hardware is 20G, after some con

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

2011-11-08 Thread
hi all, I am porting android to loongson based on the mips android, and the android version is froyo_r8, which can be download from http://developer.mips.com/android/android-source-code/, my workstation is ubuntu 9.10 in the vmware, the memory is 512M, free space of hardware is 20G, after some con

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

2011-11-09 Thread
Kuehling : > > > > > > > > > > >>>>>> "李晖" == 李晖 writes: > > >> hi all, I am porting android to loongson based on the mips android, > >> and the android version is froyo_r8, which can be download from > >>http://developer.mips.com/android

[loongson-dev] Linux kernel not boot

2011-11-20 Thread
hi all, I am porting android to loongson2f, the android file system has been modified and compiled succeed, and I downloaded the android linux kernul from https://github.com/android/kernel_common/downloads as the official android linux kernel can not be accessed, and it was compiled succeed, so

[loongson-dev] Re: Linux kernel not boot

2011-11-21 Thread
hank you very much! On 11月21日, 下午2时17分, Zhen Xin wrote: > The kernel is not specific to Android. Try get the kernel source from > LLC GIT and make it bootable before adding Android stuff to it. > > 2011/11/21 李晖 : > > > > > > > > > hi all, > >I am p

[loongson-dev] Re: Linux kernel not boot

2011-11-22 Thread
gt; > LLC maintains its own kernel branches. If your own kernel meets > troubles, give this a try for debug > purpose:http://dev.lemote.com/trac/linux-loongson-community > > I can give you my .config file tomorrow if you need. > > 2011/11/21 李晖 : > > > > > > &g

[loongson-dev] Gcc 4.4.1 + Binutils 2.20 on X86 from loongson community compile linux kernel fail

2011-11-24 Thread
hi, all By following the description of linux loongson community (http:// dev.lemote.com/trac/linux-loongson-community), I download the Cross- Compile "Gcc 4.4.1 + Binutils 2.20 on X86" and download the loongson linux kernel 2.6.35, then compile it, I copied the lemote2f_defconfig from arch

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

2011-11-24 Thread
hi, all this problem had has been sloved some days ago. what I want to say is what zhangfx said is right, change the toolchains can solve this problem, and hopes this will help those who also come across this problem! thanks all! -- You received this message because you are subscribed to the Go

[loongson-dev] Re: Gcc 4.4.1 + Binutils 2.20 on X86 from loongson community compile linux kernel fail

2011-11-28 Thread
x-gnu > > 2. or compile it from scratch with the help of CLFS documenation > > http://cross-lfs.org/view/svn/ > > Regards, > Falcon > > > > > > > > On Thu, Nov 24, 2011 at 11:02 PM, 李晖 wrote: > > hi, all > >By following the description of linux

[loongson-dev] Re: Gcc 4.4.1 + Binutils 2.20 on X86 from loongson community compile linux kernel fail

2011-11-29 Thread
help of CLFS documenation > > http://cross-lfs.org/view/svn/ > > Regards, > Falcon > > > > > > > > On Thu, Nov 24, 2011 at 11:02 PM, 李晖 wrote: > > hi, all > >By following the description of linux loongson community (http:// > > dev.lemote.com/t

[loongson-dev] kernel boot panic

2011-12-01 Thread
Hi, all I am porting android to loongson2f, the android file system(froyo) and android linux kernel(2.6.35) was compiled succeed, then I put them to two separate partition of u-disk which was partitioned to ext3, then I start the loongson machine and step into the pmon environment and I typed:

[loongson-dev] Re: kernel boot panic

2011-12-02 Thread
add printk in arch/mips/kernal/traps do_ri > entrance > 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 > 李晖 编写: >

[loongson-dev] Re: kernel boot panic

2011-12-03 Thread
hi, zhangfx, I followed your advice by adding printf to the do_ri function and found that when the kernel init the system, this function was called hundreds of times and then the kernel panic, so it means that there are illegal instruction exist, but why do_ri will be called so many times?

[loongson-dev] Re: kernel boot panic

2011-12-04 Thread
hi, zhangfx, for the first question, you have explained very clearly, I understand it right now! for the second question, I will try your advise and will feedback then! thank you for your patient and detailed reply! andy On 12月4日, 下午4时00分, "Fuxin Zhang" wrote: > > hi, zhangfx, > > I

[loongson-dev] Re: kernel boot panic

2011-12-07 Thread
1时17分, 李晖 wrote: > hi, zhangfx, > for the first question, you have explained very clearly, I > understand it right now! > for the second question, I will try your advise and will feedback > then! > > thank you for your patient and detailed reply! > > andy >

[loongson-dev] Re: kernel boot panic

2011-12-07 Thread
for reference if possible, thank you! On 12月7日, 下午11时54分, 李晖 wrote: > hi, zhangfxI rebuild the android file system by using the cross- > compile toolchain you give to me(in an other post you give me the > link), I encounter the libwebcore.so ld problem again, by replace it &

[loongson-dev] Re: kernel boot panic

2011-12-08 Thread
hi, the latest information, by add printk to the do_ri function in traps.c, I found that the kernel panic after execute he simulate_sync function, the do_ri function was called more than seven hundreds of times. asmlinkage void do_ri(struct pt_regs *regs) { unsigned int __user *epc = (uns

[loongson-dev] property_set failure in the init process

2011-12-09 Thread
hi, all I am porting android to loongson2f, when I boot the system, the system tips kernel panic. By adding printf, I found that the bug, the following figure explain the position of bug, main |--->property_init |>init_property_area |>load_properties

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

2011-12-11 Thread
hi,all I am porting android to loongson2f, but when I boot the system, the kernel panic, by adding printf statement, I found that when the android file system init the ashmem failed. The following is the calling path of init program: main ->property_ini t->init_property_area ->init_workspa

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

2011-12-12 Thread
elated 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 android to loongson2f, but when I boot the system, the > kernel pa

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

2011-12-12 Thread
> 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.

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

2011-12-12 Thread
act_ioctl to > > translate. Lots of samples in drivers. > > > 李晖 编写: > > > hi,all I am porting android to loongson2f, but when I boot the system, the > > kernel panic, by adding printf statement, I found that when the android file > > system init the a

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

2011-12-13 Thread
ok, hope android can up On 12月13日, 上午11时38分, Zhen Xin wrote: > The init should then launch the shell and others following the > instructions from /init.rc. > > Anyway, that's not a longson-specific issue anymore ^_^ . Fiddle with > your android and be happy ^_^ . > > 在

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

2011-12-16 Thread
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 /system/bin/sh CANNOT LINK EXECU

[loongson-dev] 32bit kernel not boot

2011-12-21 Thread
Hi, all I am porting android to loongson2f, I use "Gcc 4.4.1 + Binutils 2.20 on X86" from loongson community compile 2.6.35 linux kernel, by setting the kernel model to 64bit, I got the vmlinux image, and it can boot up, but some drivers of the kernel are 32bit only(google android related), so

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

2011-12-22 Thread
stem 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. > > I added a lot of printf to bionic before eventually located into the > pagesize issue in this way. > > 2011/12/17

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

2011-12-22 Thread
eventually located into the > > pagesize issue in this way. > > > 2011/12/17 李晖: > >> hi, all > >> I am porting android to loongson2f which is a desktop computer, > >> when I boot the system, the following error occurred, > >> [44.812000] r816

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

2011-12-22 Thread
f effort to make a > uniform kernel that working for almost all lemote machines(the one > availabe inhttp://dev.lemote.com/trac/linux-loongson-community), not > sure about 32bit configurations(due to the memory limits, it is rarely > used). > > By the way, 64bit kernel can work with a

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

2011-12-23 Thread
bit userland, just be sure to select o32 support > in kernel configuration. Default os uses 64bit kernel and 32bit userland > 李晖 编写: > thanks for reply, what I am going to do is patching the linux kernel to fit > it to 64bit, what I am wandering is if the kernel is 64bit, should the

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

2011-12-26 Thread
is ON E/dalvikvm(1315): ERROR: unexptcted asm interp size 33152 E/dalvikvm(1315): (did an instruction handler execeed 128 byte? E/dalvikvm(1315): VM aborting did any one came across this problem? On 12月24日, 上午12时31分, 李晖 wrote: > good, hanhua send me a mail declare that he has made a patch

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

2011-12-28 Thread
[heap]D/ AndroidRuntime( 1337): D/AndroidRuntime( 1337): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<>> zygote << wrote: > 于 2011-12-26 23:44, 李晖 写道:> the patch from hanhua did not work for me right

[loongson-dev] Account Manager not up

2011-12-30 Thread
hi, all I am porting android to loongson2f, I encounter the Account Manager not up problem, this following is logcat info: - beginning of /dev/log/system I/Vold( 1321): Vold 2.1 (the revenge) firing up D/Vold( 1321): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

[loongson-dev] Re: Account Manager not up

2012-01-03 Thread
anks! On 2011年12月31日, 上午12时01分, 李晖 wrote: > hi, all >     I am porting android to loongson2f, I encounter the Account > Manager not up problem, this following is logcat info: > - beginning of /dev/log/system > I/Vold    ( 1321): Vold 2.1 (the revenge) firing up > D/Vold

[loongson-dev] Re: Account Manager not up

2012-01-04 Thread
wrote: > Are you sure it's the java code which causes the crash? Might it be > just a coinidence in time? > > Btw I was told there are other people putting efforts on Loongson > Android. I will be glad to see new comer. Will they join us and help? > > 2012/1/3 李晖 : > &g

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

2012-01-10 Thread
NI system? any suggestion or tips will be appreciated! thanks! Best Regards --- --- 北京航空航天大学大学嵌入式系统实验室 新主楼G座1028室 李晖 MSN:lihui205...@163.com -- You received this message because y

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

2012-01-11 Thread
! BTW, the linux kernel is 64bit and android filesystem is 32bit, did it affect? On 1月11日, 上午12时33分, 李晖 wrote: > hi, all > I am porting android to loongson2f, when the System Server bring up the > Account Manager > > Service, the System Service process was terminated by signal 1

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

2012-01-12 Thread
please point me a tutorial/example in detail or just do this for me? > Thanks....... > > 在 2012年1月12日 上午12:38,李晖 写道: > > > > > > > > > > > hi, all > >by further debuging, I found this problem was cased by calling > > sqlite3_open_v2(path

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

2012-01-12 Thread
m outside on dev.lemote.com, > you can > contact yanhua y...@lemote.com to help setup one for your android work. > But I would like to recommend use github to host the code for better > service. > Our server might be extremely slow for many non-chinatelecom users. > > >

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

2012-01-15 Thread
ust refer to other repositories for > all no-change parts. > Modified packages are related limited. Most part can directly refer to > mips's github repository > in the manifest.xml. > > > > > > > > > > > 在 2012年1月13日 上午12:19,李晖 写道: > >> No m

[loongson-dev] mouse support for android?

2012-02-07 Thread
hi, all currently, I am porting android to a platform which don't has touch screen support, so I want to use mouse to manipulate the system. As android don't support mouse by default, so I want to know what and how to do to let it support mouse, did anyone has experience with this topic! Any tip

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

2012-02-08 Thread
good, I will take a look and try! On 2月8日, 上午9时43分, Zhen Xin wrote: > There is an Android-x86 project out there, which get mouse supported > on their releases for netbook. You may take a look, though I didn't > find the git web interface to their repo. > > 2012/2/

[loongson-dev] how to unlock screen using keyboard

2012-02-08 Thread
program can launched here) by using the keyboard, any suggestion? andy Best Regards --- --- 北京航空航天大学大学嵌入式系统实验室 新主楼G座1028室 李晖 MSN:lihui205...@163.com -- You received

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

2012-03-03 Thread
Good news, I will pull the ICS code for loongson3 to research it! On 3月3日, 下午3时07分, zhangfx wrote: > 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

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

2012-03-12 Thread
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 Input can run! Can anyone give me some tips,

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

2012-03-13 Thread
froyo too for compatible. What I am wondering is if there other reason exception NDK that result in apps crash! On 3月13日, 上午9时11分, zhangfx wrote: > 于 2012-3-12 23:39, 李晖 写道:> Hi,all > > I have succeed ported group to loongson2F laptop, but after I > > installed apps to it(by cop

Re: [loongson-dev] Digest for loongson-dev@googlegroups.com - 1 Message in 1 Topic

2012-05-08 Thread
cmd line console=tty root=/dev/sda1 rw init=/init is ok Best Regards --- --- 北京航空航天大学大学嵌入式系统实验室 新主楼G座1028室 李晖 MSN:lihui205...@163.com On Sun, May 6, 2012 at 2:20 AM

Re: [loongson-dev] Digest for loongson-dev@googlegroups.com - 2 Messages in 2 Topics

2012-05-12 Thread
I have upload a cursor patch to maintainer of this project, I will note he to conform it! Best Regards --- --- 北京航空航天大学大学嵌入式系统实验室 新主楼G座1028室 李晖 MSN:lihui205...@163.com