[android-kernel] Re: [android-porting] Qestion about Kernel Version Runing at Android2.2

2011-01-20 Thread Deva R
is it a generic linux kernel? android requires mandatory set of features on top of linux kernel - refer http://android.git.kernel.org/?p=kernel/common.git;a=blob_plain;f=Documentation/android.txt;hb=HEAD http://elinux.org/Android_Kernel_Features => gives good overview of android kernel changes O

Re: [android-kernel] repo intialization

2011-01-11 Thread Deva R
> i wanted to initialize the repo in specific folder. whenever  i initialized > the  repo . it initialize in home folder only even i make the directory and > run the command. No such restrictions, and we can chose any directory we want. whole project tree location depends on where we do "repo init

[android-kernel] Re: [android-porting] Android Binder crash.. in eclair

2010-12-01 Thread Deva R
this binder crash is very very low level log., difficult to tell what processes involved and at what stage. - u can share logcat log collected from user side for this usecase (analyse urself first, there might be hint) - hint: going by "binder_delete_ref" crash, check code once in all the destru

Re: [android-kernel] Re: how to enable logging (logcat) by default, during android boot

2010-10-19 Thread Deva R
eva www.bittoggler.com 2010/5/28 dofm...@gmail.com > On 4월26일, 오후11시58분, Deva R wrote: > > (update on this thread) > > > > Thanks for Tony L for the suggestion.. > > it can be launched via init.rc as below.. > > > > service logcat /system/bin/logcat -f /de

[android-kernel] Re: [android-porting] android: system tick for profiling native library

2010-05-13 Thread Deva R
>Usually, this is done with gettimeofday Thanks Tim.. now able to spot sample profiling code at ./dalvik/vm/profile.c On Fri, May 14, 2010 at 3:39 AM, Tim Bird wrote: > On 05/13/2010 02:42 PM, Deva R wrote: > > Hi, > > > > i wish to profile time consumed in my service

[android-kernel] android: system tick for profiling native library

2010-05-13 Thread Deva R
Hi, i wish to profile time consumed in my service., (probably in order of few mS) we can use gettimeofday or a hw timer in kernel side., for user library, what call shall be used in user mode? how to query system tick count or millisecond count, from a native library? Thanks, Deva -- unsubscri

[android-kernel] Re: how to enable logging (logcat) by default, during android boot

2010-04-26 Thread Deva R
(update on this thread) Thanks for Tony L for the suggestion.. it can be launched via init.rc as below.. service logcat /system/bin/logcat -f /dev/kmsg oneshot -Deva On Fri, Mar 12, 2010 at 2:15 PM, Deva R wrote: > Is it possible to enable logging (logcat) by default, during andr

Re: [android-kernel] How to use the lib(.jar) which android sdk didn't contain

2010-04-16 Thread Deva R
android uses dalvik VM, and your java binaries shouldnt be of generic bytecode format, but dalvik executables (.dex) try something like http://www.winksaville.com/blog/uncategorized/android-use-dx-to-convert-a-jar-file-to-a-dex-file/ On Fri, Apr 16, 2010 at 11:26 AM, xlshe wrote: > Hi, > > I wa

Re: [android-kernel] enabling bluez logs

2010-04-15 Thread Deva R
just running logcat will bring out existing logs.. run "logcat &" from shell or adb. PS. http://pdk.android.com/online-pdk/guide/bluetooth.html#androidBluetoothTroubleshooting On Thu, Apr 15, 2010 at 11:28 AM, guru wrote: > Hi All, > > I want to enable bluez logs. Can any one let me know the

[android-kernel] Re: [android-porting] [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-14 Thread Deva R
>> when the PowerManagerService( >>PowerManagerSerivce.java) write "on" to /sys/power/state (using SetScreenState(true) ), Note that in android (for that matter, universally in java) java applications cant access system resources (sys/power/state file in this case) directly, as they have to bypass

Re: [android-kernel] Oprofile not working

2010-04-09 Thread Deva R
Hi, did u have OPROFILE enabled in your kernel .config file?? CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y steps for oprofile build, using in android., sample o/p, analysis, etc are documented at http://omappedia.org/wiki/Android_Debugging#OProfile -Deva On Thu, Apr 8, 2010 at 11:54

Re: [android-kernel] Android Kernel

2010-04-05 Thread Deva R
, Deva R wrote: > there is nothing special like android kernel.. > android uses linux kernel from open source community (kernel.org tree) > > i guess u should've heard this popular quote - "in open source, code > is the documentation.." > > check source tree bel

Re: [android-kernel] Android Kernel

2010-04-05 Thread Deva R
there is nothing special like android kernel.. android uses linux kernel from open source community (kernel.org tree) i guess u should've heard this popular quote - "in open source, code is the documentation.." check source tree below.. http://android.git.kernel.org/ http://git.kernel.org/ On Tu

[android-kernel] how to enable logging (logcat) by default, during android boot

2010-03-12 Thread Deva R
Is it possible to enable logging (logcat) by default, during android boot?? Tried to launch as service in init.rc, modifying loglevel - not seem to work for me.. have you tried this? -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] Android bootup process from linux-omap-pm branch

2010-03-09 Thread Deva R
Hi Mai, You can keep android FS in ext3 partition, and invoke its init as usual via kernel arguments.. for eg, in rowboat env, uImage -> will be the linux-omap-pm kernel image init =/init -> in bootargs will load android init from mmc partition 2. Beagleboard# setenv bootcmd 'mmc init; fatload mm

Re: [android-kernel] android console shell

2010-03-05 Thread Deva R
android init scans for few parameters from kernel boot args.. like androidboot.console, androidboot.hardware havent used though.. complete list here. http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=init/init.c;h=f76eb36b5480931b85f253df655abed870f670f3;hb=HEAD#l553 -Deva On

[android-kernel] Re: [android-porting] launching a daemon in init

2010-02-24 Thread Deva R
btw, - the files are present with all permissions enabled. - manual invocation from android shell or busybox shell, throws same error.. btw, i use codesourcery tool chain, to generate .out. will this be a problem, and should i use mydroid/prebuilt/toolchain/linux-x86/ ?? Thanks, Deva On Th

Re: [android-kernel] Building kernel for I/O device

2010-02-16 Thread Deva R
you should be able to do with HTC/droid/nexus phones.. you can get a fair idea on steps involved from below wiki's - getting android up on ARM development platforms http://labs.embinux.org/index.php/Android-Eclair_porting_guide_to_BeagleBoard http://omappedia.org/wiki/Android_Getting_Started Rega

Re: [android-kernel] Flashing Kernel Image

2010-02-16 Thread Deva R
it should work, but any interface break will require rebuilding filesystem components and some changes. also, make sure you build for your phone config.. $ cd $MYDROID/kernel/android-2.6.29 $ make CROSS_COMPILE=arm-none-linux-gnueabi- distclean $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-