[android-porting] System.img Load Problem

2010-09-05 Thread Nomi
Hello Dears, I am new to android development and also first time working on Linux. I am having a very strange problem. I googled the problem but not found any solutions. I am trying to update Android Package from SD Card. For this purpose i have successfully updated u-boot.bin, zimage,

[android-porting] Re: Touch Calibration in Android 2.1

2010-09-05 Thread Mehran
hi, I have downloaded the tscalibration code from the link you mentioned. But im unable to build it. i put it in 'android/packages/apps/' and my build stops without any error. Also, im not sure about TSLIB. please guide me how can i download that and add in my android code. On Sep 3, 8:53 

[android-porting] Compile USB Serial Converter driver for PL2303

2010-09-05 Thread Xu
Hi All, I'm trying to connect a PL2303 based USB to serial converter with one Android MID [1]. However, the MID does not have driver for it and I do not have the kernel source for the MID, as it's running 2.6.29 kernel, Inspired by [2] I built the pl2303.ko file from source code myself. The

[android-porting] Android building for ARMV6

2010-09-05 Thread Vivek
Dear All, Which tool-chain can be used to build android for ARMv6? The existing toolchains in prebuilt are for armv5 and armv7. -- Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] TSLIB android

2010-09-05 Thread Mehran
hi, I want to have calibration feature in my android 2.1. someone guide me to [0xdroidpackages_apps_tscalibration] http://gitorious.org/0xdroid/packages_apps_tscalibration I have downloaded the code, and ran it, but almost same thing was i doing in my own. (Taking calibration pointers and

[android-porting] where can I find serial port in android mobile(HTC, wellcom a88)

2010-09-05 Thread Emperor_bear
I'm doing project about car tracking by android mobile. then I have to choose which mobile is suitable for it and how to send data to android mobile through serial port. android mobile must have: - gps receiver - wifi - gprs - serial port I'm from Thailand so Now I choose wellcom a88, to do this

Re: [android-porting] System.img Load Problem

2010-09-05 Thread arindam das
HI Nomi, it seems,the sd card is not properly inserted,that's why its not able to load up the all the necessary modules as you can in it the log as [5.992999] init: cannot find '/system/bin/sh', disabling 'console' [5.993706] init: cannot find

Re: [android-porting] Android building for ARMV6

2010-09-05 Thread Deva R
You can start with modifying arm architecture specified in build/core/combo/ linux-arm.mk. Be prepared for build breaks, and guess they would be trivial and u can address them., u can follow steps similar to below armv4t build..

Re: [android-porting] TSLIB android

2010-09-05 Thread Deva R
Hi, Can anyone tell me the exact path to follow next? Kernel will be updating touchscreen events from drivers in /drivers/input/c, and in android side ./frameworks/base/libs/ui/EventHub.cpp will be servicing all UI events. You can refer below threads to get an idea of drivers, TSLIB env,

[android-porting] gralloc: Out of Memory using VFB

2010-09-05 Thread onaips
Hi, i compiled android kernel with virtual framebuffer support and msm_fb disabled, so i can access the framebuffer only using a framebuffer viewer (for example a VNC server). However if i use a high resolution (800x600) gralloc returns me an Out of Memory error... If i use 320x480 its working

Re: [android-porting] System.img Load Problem

2010-09-05 Thread Subramani Venkatesh
Hi, How are you trying to update system.img, if you have tried from kernel, check whether nand writing Yaffs2 image is written correctly, you might be missing writing oobs data correctly.. -Subb On Fri, Sep 3, 2010 at 11:48 PM, Nomi nomi.naeem2...@gmail.com wrote: Hello Dears, I am new to

[android-porting] Re: where can I find serial port in android mobile(HTC, wellcom a88)

2010-09-05 Thread Chris Stratton
You will amost certainly need a phone you can root and install a customized kernel on. The adp1, g1, magic and similar devices has a low voltage (adapyer REQUIRED) serial port on the extended usb connector using some of the headphone pins, there are plenty of writeups with the details online.

[android-porting] Re: Compile USB Serial Converter driver for PL2303

2010-09-05 Thread Chris Stratton
First you should build that driver source for a desktop linux and make sure it works with the peripheral. You may need to add vid/pid codes to it, or it might be you have the wrong driver. Figure that out on the desktop first. Then you should look at the driver source and see where that no more

[android-porting] Re: Zygot exits in a loop

2010-09-05 Thread Brad Davis
I don't think the standard Android kernel has swap enabled and/or configured (and you don't want to swap to flash as you will quickly kill the flash). And yes, I've watched memory usage as Android boots and you need 64mb. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

Re: [android-porting] Re: Zygot exits in a loop

2010-09-05 Thread Dianne Hackborn
Currently Android isn't designed to be used with swap, ans isn't designed to run in 32 MB RAM. On Sun, Sep 5, 2010 at 6:11 PM, Dmitry Grinberg dmitr...@gmail.com wrote: the entore ubuntu desktop starts with 16mb + swap, why wouldn't android? Best Regards On Sat, Sep 4, 2010 at 10:48

Re: [android-porting] gralloc: Out of Memory using VFB

2010-09-05 Thread Tung Dang
Hi onaips, I run your VNC server with VFB and the screen resolution is 800x520 is ok Can u try with this resolution ? logcat: W/gralloc ( 1960): page flipping not supported (yres_virtual=520, requested=1040) I/gralloc ( 1960): using (fd=22) I/gralloc ( 1960): id = Virtual FB I/gralloc

Re: [android-porting] Re: Zygot exits in a loop

2010-09-05 Thread Dmitry Grinberg
the entore ubuntu desktop starts with 16mb + swap, why wouldn't android? Best Regards On Sat, Sep 4, 2010 at 10:48 PM, Dianne Hackborn hack...@android.comwrote: I really doubt you can run Android on 32MB or RAM. On Fri, Sep 3, 2010 at 10:02 AM, Dmitry Grinberg dmitr...@gmail.comwrote:

Re: [android-porting] Re: Zygot exits in a loop

2010-09-05 Thread Dmitry Grinberg
My kernel has swap enabled. Best Regards On Sun, Sep 5, 2010 at 4:34 PM, Brad Davis bda...@cove-mtn.com wrote: I don't think the standard Android kernel has swap enabled and/or configured (and you don't want to swap to flash as you will quickly kill the flash). And yes, I've

Re: [android-porting] Re: Zygot exits in a loop

2010-09-05 Thread Dmitry Grinberg
My question was about that exactly: are there specific provisions in code to forcefully avoid usage of swap, or is it just that nobody tested it with swap? Best Regards On Sun, Sep 5, 2010 at 7:55 PM, Dianne Hackborn hack...@android.com wrote: Currently Android isn't designed to be used