[android-porting] Re: Problem in alsa code

2009-01-07 Thread Vandana Vuthoo
Hi Sean, Now when I build I am getting the following error target arm C++: libaudio <= hardware/alsa_sound/AudioHardwareALSA.cpp make: *** No rule to make target `out/target/product/generic/obj/STATIC_LIBRARIES/libasound_intermediates/libasound.a', needed by `out/target/product/generic/obj/SHARED_L

[android-porting] Re: About gnu-ld version

2009-01-07 Thread hoegaarden1...@gmail.com
Regarding to this topics, please let me ask one more question. I think, the scope of removing the symbol lookup by the Android's prelink, apriori is local symbols (mailnly R_ARM_RELATIVE), so the lookup of the global symbols, for the undefined symbols still remain and they are done by the old- st

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Sean McNeil
Essentially, they added a method to audio out for getting the latency of audio output. I assume it is for video/audio sync. They also added a standby method to the input stream. That I assume is for power management. The open stream methods have an extra argument to get the status back on open

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Praveen
Hi sean, Do you know about changes to the audio interface made by Google? When was this made? Please let me know On Jan 8, 10:18 am, Sean McNeil wrote: > Google has made some minor changes to the audio interface and Wind River > is aware of them. There is a patch pending and it will hopefully

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Sean McNeil
Attached is an unofficial patch that should help. We still need to go through our review process, so things will take time. Vandana Vuthoo wrote: > Hi Sean, > > When will the patch be available ? I am in a total fix,please help,Can > I get some workaround it for it? > > Rgds, > Vandana > > On Th

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Vandana Vuthoo
Hi Sean, When will the patch be available ? I am in a total fix,please help,Can I get some workaround it for it? Rgds, Vandana On Thu, Jan 8, 2009 at 10:48 AM, Sean McNeil wrote: > > Google has made some minor changes to the audio interface and Wind River > is aware of them. There is a patch p

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Sean McNeil
Google has made some minor changes to the audio interface and Wind River is aware of them. There is a patch pending and it will hopefully be committed soon. Sorry for the inconvenience, Sean Praveen wrote: > Hi Vandy, > > I am also getting the same error while compiling. Were you able to > mak

[android-porting] Re: Running Dalvikvm on x86

2009-01-07 Thread mizmit1222
Hi, Userland binaries are linked to Android libc - bionic. Those are not runnable on standard glibc environemnt. bionic libraries can be found; out/target/product/eee_701/system/lib If you have already installed Android to EeePC or VMWare, try [ALT]-[F1]. You will be able to play with a console

[android-porting] Re: Problem in alsa code

2009-01-07 Thread Praveen
Hi Vandy, I am also getting the same error while compiling. Were you able to make any progress on this? If so please feel free to share the solution On Jan 8, 9:42 am, Vandy wrote: > Hi All, > I am getting the following errors when compiling alsa for the latest > repository. Please help. > ---

[android-porting] Problem in alsa code

2009-01-07 Thread Vandy
Hi All, I am getting the following errors when compiling alsa for the latest repository. Please help. -- I am compiling android code for arm, when compiling in sound I am getting the following e

[android-porting] Need to compile android linux kernel for OMAP1710

2009-01-07 Thread Abhishek Jain
my steps are $cd kernel $make mrproper $make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- omap_generic_1710_defconfig $make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- please let me know if the above steps are corre

[android-porting] build failure on mac

2009-01-07 Thread Mahesh
hi, I am trying to build android release 1.0 on a MacBook Pro running Mac OS X 10.5.6 I downloaded android with the following commands: repo init -u git://android.git.kernel.org/platform/manifest.git -b release-1.0 repo sync I am getting the following error when doing 'make': $ make build/core/

答复: [android-porting] Can we test custom zImage on emulator

2009-01-07 Thread 杨旺
The android emulator is base on QEMU, so I think you can use QEMU to simulator the target platform to test the kernel image. _ 发件人: android-porting@googlegroups.com [mailto:android-port...@googlegroups.com] 代表 Abhishek Jain 发送时间: 2009年1月7日 17:09 收件人: android-porting 主题: [android-porti

[android-porting] Re: Touchscreen calibration in Android

2009-01-07 Thread Qingzhan Zhang
please user the www.google.com or www.baidu.com :) On Wed, Jan 7, 2009 at 6:20 PM, Praveen wrote: > > Hi Ajay, > I am also working on porting android to smdk 6400board > Can you give me a clear picture on what is QT and TSLIB? > > On Dec 29 2008, 11:24 am, ajay wrote: > > Hi All > > > > I

[android-porting] Re: about android charging detect and battery level detect

2009-01-07 Thread Qingzhan Zhang
I see ,there are different name in my /sys/class/power/*, thank you ~ On Wed, Jan 7, 2009 at 6:06 PM, Brian Swetland wrote: > > [Sean McNeil ] > > > > The power drivers have their own interface for that. You should be using > > power_supply_changed(). Also, you probably don't have the device na

[android-porting] Static library link problem

2009-01-07 Thread bjchae
Hi All. To support DivX contents, I want to replace the Android MPEG-4 decoder with our DivX decoder. I got the binary DivX decoder which is static library. And this library is complied with Android's tool chain. As I know, current MPEG-4 native decoder is complied to static library (libpvmp4

[android-porting] How do I build the fastboot under cygwin?

2009-01-07 Thread Andre
Really new here, so I'm sure I'm doing pretty much every I downloaded the fastboot using git clone git://android.git.kernel.org/platform/system/core.git this was the only part that I downloaded, since I'm just interesting in the fastboot tool now how do I build it? I tried to got to the fastbo

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
*In ril.cpp i have enabled that piece of code which is trying to create a rild socket.* *ret = socket_local_server (SOCKET_NAME_RIL, ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM);* *So after that i have commented #else also because i think after opening teh socket it needs to call*

[android-porting] Re: RIL implementation

2009-01-07 Thread Mikkel Christensen
You can try to change permisson on /dev/ttyS0 to 777 in init.rc Do you know what baud rate you modem runs? Per default the RIL is hardcoded with 115200 baud, so you need to change that if the modem supports another rate. You can also take a look at the omapzoom.org tree... it has some modificatio

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
Hi David / Mikkel, /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0 is not executing from init.rc So i manually tried to start it, it has thrown error as :- *# /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0 opening AT interface. retrying...: Permission

[android-porting] Re: change android graphics backend from linxu framebuffer to direcfb

2009-01-07 Thread Dejun Liu
Dear Franck, Akio: thks a lot,i understand. and sorry for this later email. best regards. Steven Liu 2009/1/6 Akio Lin > > Dear Steven: > >this is a good question. >right now, the graphics part is the major problem. >for input side, in my opinion, usi

[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
that looks correct. can you show the whole radio log, there should be some RILD messages telling you if there was a failure opening the device file (which could be caused by permission problems). You can also try to hack the mainLoop() function in hardware/ril/reference-ril/reference-ril.c that doe

[android-porting] Re: Touchscreen calibration in Android

2009-01-07 Thread Ananth M
Hi Praveen QT is the Graphics Engine from trolltech TSLIB is the open source tool that can be used for testing the Touchscreen. Regards Ananth On 1/7/09, Praveen wrote: > > Hi Ajay, > I am also working on porting android to smdk 6400board > Can you give me a clear picture on what is Q

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
I am running it from init.rc script as :- /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyS0 My modem is connected to ttyS0 only. On Wed, Jan 7, 2009 at 4:39 PM, David Turner wrote: > you need to start the rild daemon in your init config/script > have a look at the content o

[android-porting] Running Dalvikvm on x86

2009-01-07 Thread Midhun
Hi All, Following the instructions at http://groups.google.com/group/android-porting/browse_thread/thread/66862bdb52dac936/1ae192cee32eaa71?lnk=gst&q=eee_701#1ae192cee32eaa71, I have built Android for eee_701 successfully on Ubuntu 8.04. I was trying to run only the Dalvik VM. But I get a strang

[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
you need to start the rild daemon in your init config/script have a look at the content of /system/etc/init*.(rc|sh) for examples On Wed, Jan 7, 2009 at 11:32 AM, Nimit Manglick wrote: > Hi David, > > Its showing me the following errors :- > > *Can't open /system/etc/voicemail-conf.xml* > D/RILJ

[android-porting] Re: getting unknown ioctl in driver

2009-01-07 Thread getandroid
hi, instead of just taking the binary(exe), i flash the whole rootfs & kernel again which solves the problem. now audio is accelerated for my hw :) but building kernel along with android is still a mystery... On Jan 7, 12:43 pm, getandroid wrote: > hi android, > >    i tried ur suggestio

[android-porting] Re: RIL implementation

2009-01-07 Thread Nimit Manglick
Hi David, Its showing me the following errors :- *Can't open /system/etc/voicemail-conf.xml* D/RILJ( 681): []> GET_CURRENT_CALLS D/GSM ( 681): Poll ServiceState done: oldSS=[1 home null null null ] newSS=[1 home null null null ] oldGprs=1 newGprs=n D/RILJ( 681): []< GET_CU

[android-porting] Re: RIL implementation

2009-01-07 Thread David Turner
adb logcat -b radio will print the radio log, which includes the AT commands/responses that go through the RIL hope this helps On Wed, Jan 7, 2009 at 10:44 AM, Nimit Manglick wrote: > Hi All, > > I am trying to implement RIL and having OMAP 3530 EVM with GSM modem > connected at /dev/ttyS0. > >

[android-porting] Re: Touchscreen calibration in Android

2009-01-07 Thread Praveen
Hi Ajay, I am also working on porting android to smdk 6400board Can you give me a clear picture on what is QT and TSLIB? On Dec 29 2008, 11:24 am, ajay wrote: > Hi All > >       I am porting android on to SMDK6400 Board. We have the > touchscreen driver for this board and is working with QT and

[android-porting] Re: Can we test custom zImage on emulator

2009-01-07 Thread Abhishek Jain
do u know of any emulator for this specific board? On Wed, Jan 7, 2009 at 3:38 PM, Brian Swetland wrote: > > > The emulator only implements the "goldfish" platform. If you want to > test a kernel that targets a specific SoC, you'd need an emulator that > actually emulates that specific hardware

[android-porting] Re: Can we test custom zImage on emulator

2009-01-07 Thread Brian Swetland
The emulator only implements the "goldfish" platform. If you want to test a kernel that targets a specific SoC, you'd need an emulator that actually emulates that specific hardware or to test it on the actual board. Brian [Abhishek Jain ] > Hi all > > I have generated OMAP1710 specific kernel

[android-porting] Re: about android charging detect and battery level detect

2009-01-07 Thread Brian Swetland
[Sean McNeil ] > > The power drivers have their own interface for that. You should be using > power_supply_changed(). Also, you probably don't have the device names > to what Android is looking for. Android looks for > > /sys/class/power/battery > /sys/class/power/ac > /sys/class/power/usb >

[android-porting] RIL implementation

2009-01-07 Thread Nimit Manglick
Hi All, I am trying to implement RIL and having OMAP 3530 EVM with GSM modem connected at /dev/ttyS0. I tried some suggestions but my dialer application is giving me the following error :- "Not Registered on Network" in message box where after pressing "OK" dialer application goes off. There w

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

2009-01-07 Thread naveenkrishna . ch
On Wed, Jan 7, 2009 at 1:15 PM, Sean McNeil wrote: > > naveenkrishna.ch wrote: > > > > > > On Wed, Jan 7, 2009 at 12:35 PM, Sean McNeil > > wrote: > > > > > > naveenkrishna.ch wrote: > > > > > > > > > On Wed, Jan 7, 2009 at 12:18 PM, Sean McNeil > >

[android-porting] Re: about android charging detect and battery level detect

2009-01-07 Thread Sean McNeil
The power drivers have their own interface for that. You should be using power_supply_changed(). Also, you probably don't have the device names to what Android is looking for. Android looks for /sys/class/power/battery /sys/class/power/ac /sys/class/power/usb Use logcat and see what is going o

[android-porting] Can we test custom zImage on emulator

2009-01-07 Thread Abhishek Jain
Hi all I have generated OMAP1710 specific kernel image zImage and would like to test the same on emulator; because the actual board is not available yet. Can i use the Android SDK and replace the default kernel image with my zImage? Does the emulator support board specific linux image or only ge

[android-porting] Re: about android charging detect and battery level detect

2009-01-07 Thread Qingzhan Zhang
hi: when the battery value changed i kobject_event(kobject,KOBJ_CHANGE) and when the charge plug in or plug out ,i also kobject_event(kobject,KOBJ_CHANGE) and update the POWER_SUPPLY_PROP_STATUS ,but i do not know the android's battery log changed ,always display "?",now where is the problems?

[android-porting] Re: change android graphics backend from linxu framebuffer to direcfb

2009-01-07 Thread FranckLefevre
Dear Steven, Reg. the performances, graphic rendering is THE place where dramatic improvments can be obtained. I think that there is no significant improvment to hope by modifying the input system, as far as you don't try to use multitouch screens. If you want to use a multitouch screen (but yo