Re: [android-porting] issue when porting to i.MX51 board

2010-12-13 Thread Matt Shao
Compare with my boot log, it seems the next step will boot ipu and display... it's hard to say where is the exactly problem Currently if I were you, I would 1. burn the freescale official code with SD and see if it can boot the system 2. go ahead or go back to try other official freescale code

[android-porting] Re: RunIfNotReady() method definition path

2010-12-13 Thread sheik
thanks for replying .. look into this any queries on this , will get back to forum On Dec 13, 7:40 pm, Deva R wrote: > its part of opencore runl scheduler (present in oscl folder only) > > two overloaded versions > arehttp://git.omapzoom.org/?p=platform/external/opencore.git;a=blob;f=os...http:/

[android-porting] Where in the source code of the default Browser perform the function of resolving domain name?

2010-12-13 Thread 捷超 王
i mean, there must be some Java methods or classes employed in the source code of the default Browser on the Android platform to perform the function of resolving domain names to IP addresses. I want to know where are they, or what the exact names of these classes or/and methods are. Point out only

[android-porting] building glibc regex for android

2010-12-13 Thread Charlie
Hi, I need the regex stuff from glibc for part of CUPS. Has anyone built this for android? Or come up with something that I can substitute? I need the following functions: regexec regcomp regfree Thanks, Charlie -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://group

Re: [android-porting] issue when porting to i.MX51 board

2010-12-13 Thread Matt Shao
Which board are you using? With EVK BBG V3 Board, I can successfully boot it... 2010/12/13, Qingwei : > I'm trying to porting android to i.MX51 board, and exactly follow the > R9 user guide, but the board always hangs at particular point, the log > is as below, please help. > > Starting kernel

[android-porting] Re: Hawkboard Vendor ID

2010-12-13 Thread Hemanth
On Dec 14, 4:36 am, Ashwin Bihari wrote: > If you can't get the device to enumerate, then it doesn't matter > whether you use Linux or Windows. True, but in the logs, it looks like a problem with the host and not the target itself. (I think..) In windows, if the device really fails to enumerate,

Re: [android-porting] How to declare device as "hdpi " even when it's not… à la Galaxy Tab

2010-12-13 Thread Dianne Hackborn
It isn't doing anything special. The platform must be told what the density of the screen is (it can't figure this out by itself), so you just need to set the density as you normally would to the value you want. (And density of course must be one of the well-defined bucket numbers for ldpi, mdpi,

[android-porting] How to declare device as "hdpi" ev en when it's not… à la Galaxy Tab

2010-12-13 Thread Jim D
Hi all, How does the Galaxy Tab "declare" itself as hdpi when its screen density is on the order of 170? The Galaxy Tab's behaviour is described here: http://android-developers.blogspot.com/2010/09/screen-geometry-fun.html I am on a team developing a large-screen tablet and we would like t

Re: [android-porting] Re: Dual Display with Android

2010-12-13 Thread Dianne Hackborn
It looks like in your demo you have multiple resumed activities running at the same time. I would very strongly recommend against this, if you want your device to be considered compatible with Market. This has very deep repercussions for the activity lifecycle, which is likely to cause subtle app

Re: [android-porting] SDK & AVD Manager Docs for setting up repository?

2010-12-13 Thread Xavier Ducrohet
Hi We don't have docs for this at the moment, but I'll give you a few pointers. First a question, through: why do you want to publish a repo for "custom platform based stock android" ? If you want to extend only android you should do so through optional libraries (similar to the map view library

Re: [android-porting] Dual Display with Android

2010-12-13 Thread Subramani Venkatesh
Hi, What manifest I can try to download the branch p-froyo, I am curious to try dual-drift on my omap platform... Regards, Subbu On Thu, Nov 11, 2010 at 12:08 PM, Deva R wrote: > >>Has any one been able to do this? Is there some official doc from >>Android on how to achieve this? > me too curiou

Re: [android-porting] Re: Hawkboard Vendor ID

2010-12-13 Thread Ashwin Bihari
If you can't get the device to enumerate, then it doesn't matter whether you use Linux or Windows. First course of action is to fix whatever is ailing the USB driver in Linux which doesn't allow it to be enumerated. Plugging into a Windows machine or another machine just to see if that part is con

Re: [android-porting] Re: Hawkboard Vendor ID

2010-12-13 Thread Deva R
Hemanth, will this work, while 'lsusb' in ubuntu is not yet working with the setup?? (as srinidhi mentioned in this thread) On Mon, Dec 13, 2010 at 11:53 PM, Hemanth wrote: > Hi, > > You can get the VID/PID in windows too. > > http://www.omappedia.org/wiki/Support_Tools#finding_the_Vendor_ID_an

Re: [android-porting] Froyo 2.2 on MX51, no GUI on LCD at startup.

2010-12-13 Thread Alex Gonzalez
Hi, Thanks, finally it was the pmem initialization. I had missed to apply a machine specific patch as part of the fixup_mxc_board. It helped to focus on the kernel with the assurance that user space had no obvious issues. Regards, Alex On Sat, Dec 11, 2010 at 4:21 PM, Anil Sasidharan wrote: >

[android-porting] Re: Hawkboard Vendor ID

2010-12-13 Thread Hemanth
Hi, You can get the VID/PID in windows too. http://www.omappedia.org/wiki/Support_Tools#finding_the_Vendor_ID_and_Product_ID_of_the_device On Dec 13, 2:28 pm, Srinidhi K V wrote: > Ashwin, > > When i do dmesg after connecting the device to host system this is the > output I got > > [ 2914.01641

[android-porting] Re: Android kernel 2.6.32 on OMAP2430 kernel panic: Attempted to kill init Problem

2010-12-13 Thread Hemanth
I remember seeing something similar when I was changing the memory split from 2G/2G to 3G/1G. If you have changed the memory map, it might be something to take a look at. My init was exiting during execve, which kinda explains the "Attempted to kill init" message. On Dec 14, 1:02 am, Deva R wrote

Re: [android-porting] Re: Android kernel 2.6.32 on OMAP2430 kernel panic: Attempted to kill init Problem

2010-12-13 Thread Toan Pham
This usually happens when the init script exit with an error status. Try to echo status of each command in the init script and see where the error occur. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Re: Android kernel 2.6.32 on OMAP2430 kernel panic: Attempted to kill init Problem

2010-12-13 Thread Deva R
> The root file system is mounted via NFS. Not sure if android init starting executed at this point. if you have a lauterbach, put a while loop spin lock in android init.c and see if we hit that. >In the kernel I'm using there is no >configuration item for ASHMEM, WAKELOCK, etc. do they have to b

[android-porting] Re: Android kernel 2.6.32 on OMAP2430 kernel panic: Attempted to kill init Problem

2010-12-13 Thread Vivek
Hi, Thank you for your inputs. I've tried removing the number of applications from init.rc file. Still there's no progress. I keep getting the same kernel panic. I've booted Devkit8000 board with Android 2.1 successfully. Devkit8000 also has only 128MB of RAM. So I don't think this can be an

Re: [android-porting] Froyo running by 2.6.29?

2010-12-13 Thread Deva R
Possible. on couple of platfroms running donut/eclair, we did experimental froyo refresh with K29 (bootup,audio,stagefright were functional) On Mon, Dec 13, 2010 at 10:45 AM, bala krishnan wrote: > Hi, > Is it possible to run Android 2.2 (Froyo) GUI by using 2.6.29 android > kernel? > > Wit

Re: [android-porting] RunIfNotReady() method definition path

2010-12-13 Thread Deva R
its part of opencore runl scheduler (present in oscl folder only) two overloaded versions are http://git.omapzoom.org/?p=platform/external/opencore.git;a=blob;f=oscl/oscl/osclproc/src/oscl_scheduler_ao.cpp;hb=refs/heads/p-froyo#l295 http://git.omapzoom.org/?p=platform/external/opencore.git;a=blob;

Re: [android-porting] Re: Downloading a particular software component of a particular branch

2010-12-13 Thread Deva R
Hi, repo had a "-b" option to pick manifest from manifest git branch., git clone can be done to specific branch (i guess), but i havent tried yet., but even if u cloned and HEAD points to master branch, you can a switch to eclair branch later (using many ways like, git checkout or git reset or

[android-porting] issue when porting to i.MX51 board

2010-12-13 Thread Qingwei
I'm trying to porting android to i.MX51 board, and exactly follow the R9 user guide, but the board always hangs at particular point, the log is as below, please help. Starting kernel ... Linux version 2.6.31-00839-gb094e97 (l...@inspiron-1420) (gcc version 4.1.2) #7 P REEMPT Mon Dec 13 14:36:55 C

[android-porting] Re: Downloading a particular software component of a particular branch

2010-12-13 Thread Lay
Hi Deva, Thank you for your reply. The command "git clone" does not specify the branch(eclair, froyo ...) to download. It is using the command "repo" that one can specify the branch. Or did I miss out something? Is there a way to use git command to download a specific folder of a specific branch?

[android-porting] RunIfNotReady() method definition path

2010-12-13 Thread sheik
Hi , as i was working on the code-flow of the music player , i am bit stuck up in the method name RunIfNotReady() in Playerdriver.cpp (path : android/external/opencore/android/) . Can anyone please brief on the method RunIfNotReady() and where can i find its definition . I appreciate if any he

[android-porting] Re: Problems by compiling native code

2010-12-13 Thread Dudero
thanks for your hint, robin - now i got it to work: Android.mk #Build libhello shared libary LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := hello.c LOCAL_CFLAGS := -Wall LOCAL_MODULE := libhello include $(BUILD_SHARED_LIBRARY) #Build the test_hello exec

Re: [android-porting] How to build own application

2010-12-13 Thread Srinidhi K V
Hi Deva, >if not, place the .apk in /system/app folder. it will installed by default during bootup by package scanner. This method worked. Thanks Srinidhi KV On Mon, Dec 13, 2010 at 2:47 PM, Deva R wrote: > > if ADB is working over usb/ether, u can use adb install. > > if not, place the .apk

Re: [android-porting] Using Oprofile to profile Android Kernel

2010-12-13 Thread Deva R
Hi, We have this working in our setups, u can cross check the steps and outputs http://omappedia.org/wiki/Android_Debugging#OProfile_on_OMAP3 (cortex-A8 setup) http://omappedia.org/wiki/Android_Debugging#OProfile_on_OMAP4 (cortex-A9

Re: [android-porting] How to build own application

2010-12-13 Thread Deva R
if ADB is working over usb/ether, u can use adb install. if not, place the .apk in /system/app folder. it will installed by default during bootup by package scanner. On Mon, Dec 13, 2010 at 10:59 AM, Srinidhi K V wrote: > Hi Deva, > > Now I have Built .apk file for my application, how do I inst

Re: [android-porting] Downloading a particular software component of a particular branch

2010-12-13 Thread Deva R
Try git clone (and of course you will have entire git blob, not just eclair branch) git clone git://android.git.kernel.org/platform/hardware/ril.git infact http://android.git.kernel.org/?p=platform/hardware/ril.git;a=summary got ready instructions To clone one of these trees, install git, and

Re: [android-porting] any one have good document on Porting ANDROID in Friendly ARM from the scratch

2010-12-13 Thread Deva R
there are many articles on porting android to ARM hardware., you can start with like, www.slideshare.net/jollen/android-os-porting-introduction http://elinux.org/Android_on_OMAP http://wiki.kldp.org/wiki.php/AndroidPortingOnRealTarget On Mon, Dec 13, 2010 at