[android-porting] Re: AudioTrack(): obtainBuffer timed out

2009-01-10 Thread Neo
On Jan 9, 11:31 pm, Dave Sparks wrote: > /dev/eac is only necessary if you are using the generic user space > audio driver. If you are using ALSA driver, /dev/eac should not come > into play at all unless you are running your code in emulation. Yeah, We are using the Windrivers Audio ALSA int

[android-porting] Android emulator platform

2009-05-12 Thread Neo
Hi, The emulator is a ARMv5 cpu platform, what changes are required to build for ARMv6 or even ARMv7 arm architecture? Is there a place where I can configure the memory map of the emulator system and add other components? Thanks, Neo

[android-porting] Re: Android 1.5 on kernel 2.6.29

2009-06-08 Thread Neo
On Jun 5, 9:24 pm, Yi Sun wrote: > For 2.6.29, you only need to enable the android drivers from staging > entry in the menuconfig. And then you should be ready to go. > ABout the patch, what patch are you talking about? > > On Fri, 2009-06-05 at 07:09 -0700, gp wrote: > > Ok thank. > > Is possi

[android-porting] compiling just the init

2009-06-12 Thread Neo
" messages after boot. Else if I have to give a build for android (which is painfully long) where will the init exec be placed? Thanks, Neo --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: compiling just the init

2009-06-14 Thread Neo
On Jun 12, 8:05 pm, Neo wrote: > How to build just the init which is executed after the boot. I saw the > Android.mk in there but since there are a lot of dependencies I can't > execute make in the /system/core/init. > I need to make some changes to the init file to debug beca

[android-porting] Re: Is 768MB RAM sufficient to install and build Android ?

2009-06-14 Thread Neo
On Jun 12, 5:29 pm, Ishita Sharan wrote: > It would be great if someone could let me know whether 768MB of RAM is > sufficient to install and build Android source code . (With 32 bits > Ubuntu Linux) > > Thanks > Ishita No, it's too low. Better upgrade to at least 1GB, still the build will tak

[android-porting] Re: compiling just the init

2009-06-15 Thread Neo
On Jun 15, 9:39 am, Neo wrote: > On Jun 12, 8:05 pm, Neo wrote: > > > How to build just the init which is executed after the boot. I saw the > > Android.mk in there but since there are a lot of dependencies I can't > > execute make in the /system/core/init. >

[android-porting] Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-15 Thread Neo
for android to work on different hardware? Thanks, Neo --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: new to android

2009-06-15 Thread Neo
On Jun 15, 1:51 pm, shapanmail wrote: > hello...I am new to android. I like to port it on my pc.Can anyone > tell me what I should do?  How I build it? Check the android porting to x86 thread. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@google

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-16 Thread Neo
> > Good luck, > > On 6月16日, 午後1:44, Neo wrote: > > > I am porting Android with 2.6.28 kernel to a platform and get the > > above error when I enable low memory killer in the config. The build > > also fails if I enable yaffs. > > Is there a list anywhere

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-16 Thread Neo
On Jun 16, 12:10 pm, mizmit1222 wrote: > Hi, > > -       rem = global_page_state(NR_ACTIVE) + global_page_state > (NR_INACTIVE); > +       rem = global_lru_pages(); > > Regarding configuration, check Documentations/Android.txt. And make > sure > *not* PMEM turned on. > > Good luck, > I saw the

[android-porting] Service manager crashing after launch

2009-06-16 Thread Neo
g. Is there anything in particular it depends on? I have left out yaffs, crypto and few other options which I feel weren't important for android to come up. Thanks, Neo --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com web

[android-porting] Re: Service manager crashing after launch

2009-06-16 Thread Neo
On Jun 16, 7:38 pm, Neo wrote: > After boot when the init launches the service manager it exits quickly > and this happens a few more times which causes the system to reboot. > What could be the cause of this crash? I am running android with > 2.6.28 kernel but don't hav

[android-porting] Re: Service manager crashing after launch

2009-06-18 Thread Neo
On Jun 19, 5:31 am, mizmit1222 wrote: > Hi, > > If your .config has CONFIG_ANDROID_PMEM = y, then try > comment it out and rebuild a kernel. As far as I know, pmem > driver works only on MSM cpu as OpenGL accelerator I/F. > > Good luck, > > On 6月17日, 午後1:49, Neo w

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-18 Thread Neo
> Thanks mizmit that fixed the lowmemorykiller error. I face a similar > issue with yaffs enabled, the error being - > yaffs_fs.c:237: error: unknown field 'prepare_write' specified in > initializer > yaffs_fs.c:238: error: unknown field 'commit_write' specified in > initializer > > Do you know a

[android-porting] Re: Service manager crashing after launch

2009-06-22 Thread Neo
> <3>binder_mmap: 717 40008000-40028000 bad vm_flags failed -1 > <3>init: service servicemanager crashed > <3>init: critical process 'servicemanager' exited 4 times in 4 > minutes; rebooting into recovery mode > <0>Restarting system with command 'recovery'. Just got over this error: in binder.c I

[android-porting] Android boot hangs at splash screen

2009-06-23 Thread Neo
Hi, I am porting android to ARM versatile board and have used the 2.6.28 kernel along with Android patches. I am using the qemu emulator for testing the build. I have so far successfully booted the kernel but when I execute the android init, I see the android splash screen come up but it keeps shu

[android-porting] Re: Android boot hangs at splash screen

2009-06-23 Thread Neo
On Jun 23, 7:50 pm, xro wrote: > ok... > > funny... > > I think that your card don't have battery. So the battery seems to be > empty for Android. > > I had the same thing and i resolve it like that: > > /* >  * Copyright (C) 2008 The Android Open Source Project >  * >  * Licensed under the Apa

[android-porting] Re: Android boot hangs at splash screen

2009-06-23 Thread Neo
.and your changes are the commented sections above?? Also the name of this file would help. But can't we switch off battery as a service somwehere instaed of modifying the code? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website

[android-porting] Re: Android boot hangs at splash screen

2009-06-24 Thread Neo
esaa.net/article/116995835.html > > On 6月24日, 午後12:24, Neo wrote: > > > .and your changes are the commented sections above?? Also the name of > > this file would help. > > But can't we switch off battery as a service somwehere instaed of > > modifying the code? &

[android-porting] Re: where is "bionic/libc/kernel/original"??

2009-06-25 Thread Neo
On Jun 19, 7:54 pm, Jimmy-Creupagu wrote: > Hi Android guys, > > i'm trying to configure my source code to add a new arch. > I'm following the basic steps > fromhttp://groups.google.com/group/android-porting/browse_thread/thread/6... > > but I haven't got any directory with the name "original"

[android-porting] Re: Porting Android to AT91SAM9261 (ATMEL)

2009-06-25 Thread Neo
On Jun 25, 8:16 am, "s909...@gmail.com" wrote: > > The shell is working. But I still don't know how to run the Android. > Has anybody got ideas for this porting tasks? > Please share your experience if you succeed in porting to > at91sam9261ek? > Many thanks. > > Best Regards > > Chuang > s909

[android-porting] Re: Android boot hangs at splash screen

2009-06-25 Thread Neo
On Jun 25, 7:18 pm, Yi Sun wrote: > Please do alt+f1 and send u logcat output > I can see the log but it scrolls so fast I can't read it at all. How to capture the log as I can't use the adb also? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@go

[android-porting] Re: Android boot hangs at splash screen

2009-06-25 Thread Neo
On Jun 25, 7:43 pm, Yi Sun wrote: > Are you using a usb driver to boot the machine or not? If you are, you can > do logcat -f /data/log and then mount your usb to a linux machine to look at > the log > Ok some background, I am booting on qemu directly by giving the kernel and initrd image whic

[android-porting] Re: Android boot hangs at splash screen

2009-06-25 Thread Neo
On Jun 25, 7:48 pm, Neo wrote: > On Jun 25, 7:43 pm, Yi Sun wrote: > > > Are you using a usb driver to boot the machine or not? If you are, you can > > do logcat -f /data/log and then mount your usb to a linux machine to look at > > the log > > Ok some ba

[android-porting] Re: Android boot hangs at splash screen

2009-06-25 Thread Neo
On Jun 26, 3:02 am, chrisk wrote: > Hi all, > > I am wondering if this issue (the battery > issuehttp://tinypic.com/view.php?pic=30k65vr&s=5 > ) has been resolved and there is a patch ID for gerrit available? > If anybody has the final resolution I would appreciate some help > finding it. > >

[android-porting] Re: Android boot hangs at splash screen

2009-06-26 Thread Neo
On Jun 26, 7:12 am, Neo wrote: > On Jun 26, 3:02 am, chrisk wrote: > > > Hi all, > > > I am wondering if this issue (the battery > > issuehttp://tinypic.com/view.php?pic=30k65vr&s=5 > > ) has been resolved and there is a patch ID for gerrit available? &g

[android-porting] Re: Android boot hangs at splash screen

2009-06-29 Thread Neo
On Jun 26, 7:53 pm, Neo wrote: > On Jun 26, 7:12 am, Neo wrote: > > > On Jun 26, 3:02 am, chrisk wrote: > > > > Hi all, > > > > I am wondering if this issue (the battery > > > issuehttp://tinypic.com/view.php?pic=30k65vr&s=5 > > &

[android-porting] Re: how to create AndroidManifest.xml

2009-07-01 Thread Neo
On Jul 1, 4:53 pm, subram wrote: > Hi there > >   I have an doubt  regarding creating new androidmanifest.xml > file,since i need to create an android project from an existing path > that is my .so,when i give like this it shows androidmnifest.xml not > found,kindly suggest how to create this x

[android-porting] Re: init: untracked pid 1070 exited

2009-07-02 Thread Neo
On Jun 30, 2:48 am, Elvis Dowson wrote: > Hi, >       When I try to enable my wifi in the android wifi settings, I get > the following error message: > > init: untracked pid 1070 exited > > How can I find out which process it is? > > Elvis Quite difficult from log but what I did was put some d

[android-porting] Re: error on booting android filesystem through NFS

2009-07-05 Thread Neo
On Jul 3, 5:01 pm, Vinay Rao wrote: > Hi, > > Even i had faced the same problem. > I did the following. > 1) Booted the Linux kernel using BUSYBOX init. > 2) Then tried executing ANDROID init manually. > My Init was giving SEGFAULT. > The problem was with my tool chain. I was supposed to use ar

[android-porting] Re: error on booting android filesystem through NFS

2009-07-05 Thread Neo
Which is this arm-eabi tool chain in the android sources? I mean is this the same as codesourcery arm-none-linux-gnueabi? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--

[android-porting] How to build a static executable using android tool chain?

2009-07-07 Thread Neo
Hi, I can build an executable which uses shared libraries using android tool chain but unable to build a static one. When I use -static switch it complains saying .../../arm-eabi/bin/ld: cannot find -lc collect2: ld returned 1 exit status --~--~-~--~~~---~--~~ unsu

[android-porting] Re: compilation of glibc for android

2009-07-14 Thread Neo
On Jul 9, 2:05 pm, madhu wrote: > has anybody compiled glibc and used on dalvik, i am not able to > compile glibc with > arm-eabi, can any body send the procedure followed to compile glibc > and use instead of bionic. You can compile using arm-gnueabi tool chain in codesourcery. But I don't th

[android-porting] Re: How to build android init for android-2.6.30

2009-07-20 Thread Neo
check out this thread - http://groups.google.com/group/android-porting/browse_thread/thread/40b5ea9626bb5441/ab0aae50ef884efe?lnk=gst&q=Android%27s+executables#ab0aae50ef884efe --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: Android porting for MIPS architecture

2009-07-21 Thread Neo
On Jul 21, 2:49 pm, manjunatha wrote: > Hi All > Please any one suggest that the android kernel patch > linkhttp://benno.id.au/android/android-noqemu-nogoldfish-noyaffs2.diff > could be better starting point for porting android for MIPS by > replacing arm stuff by  mips. Otherwise suggest that

[android-porting] Re: File System Components

2009-07-21 Thread Neo
On Jul 21, 3:19 pm, sram wrote: > Hi All >  till now i am using the file system which was extracted from a > working emulator using the busy box techniue. Now i want to set up and > build the filesystem for PXA27x. > can any one share the code/git that they have for file system for > pxa27xx as

[android-porting] Re: Port Bionic to a new CPU

2009-07-22 Thread Neo
On Jul 18, 8:34 pm, Jallen wrote: > Hi, everybody! > > I'm a newbee of android development~ Recently, I'm involved in a > project of porting android to a new CPU which uses RISC. And my task > is the bionic part. > > Now I'm still puzzled by which files are involved in the arch-related > part.

[android-porting] Re: File System Components

2009-07-22 Thread Neo
On Jul 22, 10:46 am, Sayiram K N wrote: > Hi >     to use the mke2fs or any other tool we need the filesystem > directory/structure . what i am looking is where to get the FS dierectory/ > > On Tue, Jul 21, 2009 at 6:03 PM, Neo wrote: > > > On Jul 21, 3:19 pm, s

[android-porting] Re: android omap3530 rc3 ALSA error

2009-07-26 Thread Neo
Check on the beagle board forums, I think they have fixed this issue. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] android.process.acore has stopped unexpectedly

2009-07-30 Thread Neo
I have ported android to ARM development board but I get the above message whenever I access the desktop applications like dialer, contacts etc through the keybaord. The logcat for the dialer is as below. I have taken care of permissions but still get this, can anyone tell me why this happens? #

[android-porting] Re: android.process.acore has stopped unexpectedly

2009-07-30 Thread Neo
Any ideas fellas, on the above error? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: android.process.acore has stopped unexpectedly

2009-08-03 Thread Neo
On Jul 31, 7:03 am, Neo wrote: > Any ideas fellas, on the above error? Is nobody facing/faced this problem so far? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---

[android-porting] Re: performance measurement of codecs inside Android

2009-08-04 Thread Neo
On Aug 4, 12:49 pm, sonal wrote: > Hi, > > I have integrated MP3 decoder inside Android using PV OMX Core . > > I profile the Music Application using 'top' command for file > 'test.mp3'. > > It gives me the complete CPU Load for the music application but I was > more interested in seeing the lo

[android-porting] Re: where is the arm implemention of tls

2009-08-04 Thread Neo
On Aug 4, 8:17 am, Ouyang Jiannan wrote: > hi, everyone, > In bionic/libc/Android.mk we can see that > x86 uses files pthread.c, pthread-timers.c ptrace.c and __get_tls.c > in arm, it uses pthread.c.arm , pthread-timers.c.arm, ptrace.c.arm > But I can't find these files or places which generate

[android-porting] Re: android-build-make-error

2009-08-04 Thread Neo
On Aug 4, 10:54 am, "harry.21121" wrote: > Hi all, > > I am facing a subtle problem while building the android > > The error log is as below. > make: *** system/wlan/ti/wilink_6_1: Is a directory.  Stop. > > Does anyone know about this, help me out please. > I wasted whole day on this. > > Than

[android-porting] Re: android.process.acore has stopped unexpectedly

2009-08-04 Thread Neo
On Aug 3, 3:10 pm, Neo wrote: > On Jul 31, 7:03 am, Neo wrote: > > > Any ideas fellas, on the above error? > > Is nobody facing/faced this problem so far? This particular line - W/ResourceType( 863): Failure getting entry for 0x7f030005 (t=2 e=5) in package 0: 0xf

[android-porting] Adding drivers/libs for new hardware

2009-08-05 Thread Neo
about application framework? where can I get some good documentation which discusses about what all things have to be tinkered to enable android use the new hardware? Thanks, Neo --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website

[android-porting] Re: Android x86?

2008-11-30 Thread neo
Good afternoon everyone, there is a problem during my Android kernel compiling . I followed the guideline which is https://sites.google.com/a/android.com/opensource/download and searched google for the answer, but still it cannot be solved. === Cannot locate File/ Basename.pm in @INC ( @INC co

[android-porting] Re: Android hangs on execution init from initramfs with "Kernel panic - not syncing: Attempted to kill init!"

2010-03-25 Thread Neo
I feel some of your kernel configs could be off. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting To unsubscribe from this group, send email to android-porting+unsubscribegooglegroups.com or reply to this email with the words

[android-porting] Re: In call screen

2010-03-25 Thread Neo
On Mar 25, 11:29 pm, eternity wrote: > I am working on porting Android on a ARM based platform. I observed > that, when there is call active and after few seconds screen go > blackif other end disconnects the call, the screen remains black > and there is no Call Disconnect UI is coming on th

[android-porting] Re: Please help me to proceed further

2010-03-25 Thread Neo
On Mar 22, 6:21 pm, Venkat wrote: > hi Experts, > > I am Venkat, I am new to Android porting, I would like to port > android. I have done the works as per the instruction from this > websitehttp://source.android.com/download, I have done the make once > getting the things form the repo sync. I n

[android-porting] Re: android build sequence

2010-03-25 Thread Neo
On Mar 19, 9:21 am, chungae9ri wrote: > Hi, I am analyzing the build flow of android. > I inserted the messages like print log and I lost after the build/core/ > main.mk. > what is the next step or makefile that is executed after main.mk? The build is a huge set of nested makefiles. Your prints

[android-porting] Re: In call screen

2010-03-29 Thread Neo
On Mar 29, 4:14 pm, Alok wrote: > Consider a scenario when user is on call and backlight is off. Now, > the call gets disconnected abruptly from remote side. The user will > listen a beep and mostly he will look at the screen to understand what > happened. A user like me, would expect to get som

[android-porting] Re: Please help!!! include Prebuilt library to the main android build (building android from complete source)

2010-04-04 Thread Neo
> > >>> > make: *** No rule to make target `NOTICE-TARGET-STATIC_LIBRARIES- > > >>> > libloop_matmul1gpp', needed by `out/target/product/beagleboard/system/ > > >>> > lib/libdvm.so'.  Stop. > > >>> > r...@danger:/media/EXTRA_SPACE/rowboat_eclair_dsp# > > > >> -- > > >> unsubscribe: android-porting

[android-porting] Re: Freezing user space processes

2010-04-04 Thread Neo
On Apr 4, 11:27 am, Jebediah Huang wrote: > I don't want it to keep the CPU running. I want the system to suspend > at that point even if there's IO on the serial port. Do I have to add > wakelocks to the app to achieve that? > Wakelocks are to be sued depending on how much processing you need t

[android-porting] Re: configuring the platform

2010-04-04 Thread Neo
On Mar 30, 6:46 pm, shitijsah wrote: > Hi, > > I want to remove certain features which are not required on my device > as well as certain libraries which I don't want. > > How do I build android with a limited set of features? > > Also I want to use the kernel configured for my device. How do I

[android-porting] Re: Reference hardware info

2010-04-04 Thread Neo
On Mar 30, 3:17 pm, Daniele wrote: > Hi all, > > I'm new to Android and I would like to have some details about porting > Android to a real hardware target. > > I know there are few boards (i.mx51 from Freescale and the Beagle > Board, both based on ARM Cortex-A8) that provide android support >

[android-porting] Re: Porting external library

2010-04-05 Thread Neo
On Apr 3, 6:46 pm, Bhavani Prasad wrote: > Hi , > > I would like to port an C library in mydroid. Can any one help  me how > to port external library and how to use those libraries in my > application. > > Thanks & Regards, > Bhavani Prasad What he is asking is not to compile apps from his libs

[android-porting] Re: Porting from Android 1.5 to Android 2.1

2010-04-05 Thread Neo
On Apr 1, 10:34 am, Narayan wrote: > Hi, > > I want's to port the code from Android 1.5 to Android 2.1. I would > like to know what needs to be taken care and what are all the area > where it got changed? like device layer/framework applications? > > Note: I have list of API which got updated in

[android-porting] Re: How to modify NAND device blocks size from 4096 to 2048 at run-time

2010-04-05 Thread Neo
On Apr 2, 5:52 pm, Elvis Dowson wrote: > Here is an excerpt from the Micron datasheet > > NAND Flash-Specific Features > Organization •        Page size > –     x8: 2112 bytes (2048 + 64 bytes) > –     x16: 1056 words (1024 + 32 words) •   Block size: 64 pages (128K + 4K > bytes) > > There is an

[android-porting] Re: turning off android power management

2009-02-20 Thread neo . drizzle
Just do following on ur debug terminal echo WAKE_LOCK_SUSPEND > /sys/power/wake_lock This will disable system wide suspend .. -Girish On Feb 20, 2009, at 1:13 AM, pavan savoy wrote: > humn, thanks... > > but tell me .. what if I disable the kernel PM itself... that will > surely do .. it

[android-porting] Re: Android Power suspend, not wake up

2009-05-06 Thread neo . drizzle
Looks like some of the devices is not suspending properly. Need to check which driver is bad -girish s g On May 6, 2009, at 8:05 PM, huymq85 wrote: > > hi all, when I am booting android on samsung s3c6410 , I received > messages: > ... > android_power_suspend: enter suspend > android_pow

[android-porting] Re: touchscreen support.

2009-05-21 Thread neo . drizzle
Android accepts abs events from input subsystem. You can check omapzoom kernel ts driver for reference. -Girish On May 21, 2009, at 10:30 PM, sathish kumar wrote: > > I have added touchscreen support but the calibration is not proper. > my LCD resolution is 640x480. > Has anyone tried touc

Re: [android-porting] Regarding the BT pairing when android is in suspend

2009-11-29 Thread neo . drizzle
This looks like android behavior ...once the system suspend is woken by known wakup source, the userland would triger late resume. If not late resume won't be called. You will see the same behavior if you press any random key other then specified wakup keys. -girish On Nov 26, 2009, at 12:4

Re: [android-porting] /sys/power/wake_lock

2010-02-18 Thread neo . drizzle
You can't keep screen backlight on with sys/power/wake_lock... It's used to gate auto suspend only. If in your system early suspend is turning off backlight then holding lock at kernel level won't help. You might need to check if you have backlight interfce implimented to handle turnin it on/