Re: [android-kernel] Mapping android code

2010-03-31 Thread Tirtha Kanti Ghosh
may be this will help you...its a nice walk-through for Android porting.. http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/ regards, Tirtha On Wed, Mar 31

Re: [android-kernel] Re: Load Kernel Module

2010-03-25 Thread Tirtha Kanti Ghosh
load it when android boots up. > > Regards, > Perumal > > On Mar 26, 12:46 pm, Tirtha Kanti Ghosh wrote: > > To load a module you need to do "# insmod path/file.ko" > > > > Now, you can load it when android boots up...placing this call in init.rc > >

Re: [android-kernel] Load Kernel Module

2010-03-25 Thread Tirtha Kanti Ghosh
To load a module you need to do "# insmod path/file.ko" Now, you can load it when android boots up...placing this call in init.rc or else you can make piece of code to do them same whenever you require it... regards, On Fri, Mar 26, 2010 at 10:06 AM, perumal316 wrote: > Hi All, > > I am having

Re: [android-kernel] Re: Display Kernel Messages

2010-03-24 Thread Tirtha Kanti Ghosh
Though I am not sure about your needbut a simple solution which I can think of is dmesg > file.log (or >> for appending) read the file.log from your app. Now, how frequent you need to do dmesg>file.log, that's totally depends on your need. I mean this way you can at least read printk() mess

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-23 Thread Tirtha Kanti Ghosh
oot.img flashed. > > Regards, > Ricardo Silva > > > On Mon, Mar 22, 2010 at 5:59 PM, Tirtha Kanti Ghosh wrote: > >> I think you should take the the log while booting and post it. That will >> help to find the cause. >> While flashing is your write complete

Re: [android-kernel] Problem when flashing boot.img on ADP1

2010-03-22 Thread Tirtha Kanti Ghosh
I think you should take the the log while booting and post it. That will help to find the cause. While flashing is your write completed with success??? Logs will really help. On Mon, Mar 22, 2010 at 7:29 PM, Ricardo Silva wrote: > Dear All, > > I'm having a problem with a custom kernel and ima

Re: [android-kernel] android console shell

2010-02-26 Thread Tirtha Kanti Ghosh
in shell or use the askfirst action to get a shell on serial > device. > > what is it's android equivalent ? > > regards, > Pavan > > On Fri, Feb 26, 2010 at 4:51 PM, Tirtha Kanti Ghosh wrote: > >> Hi Pavan, >> >> First of all the kernel boot argume

Re: [android-kernel] android console shell

2010-02-26 Thread Tirtha Kanti Ghosh
Hi Pavan, First of all the kernel boot argument (like console=ttySx) is diffrent from what you see the ttyX# in Android sysfs. When Kernel comes up there is no concept of sysfs and driver model of linux. >But recently the device got changed from the generic /dev/ttyS to >/dev/ttyO because of cha

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

2010-02-24 Thread Tirtha Kanti Ghosh
I had faced such problem earlierand that because of toochain only. Is this a device build or emulator??? if for emulator then I would suggest you to built with mydroid/prebuilt/toolchain/linux-x86/xxx toolchain. if device then use the same toolchain u used for android build regards, Tirtha On T

Re: [android-kernel] Start a native C application at startup....

2010-02-23 Thread Tirtha Kanti Ghosh
>Is there any way by which i can modify the init.rc to achieve the >same ?? any alternative suggestions will be largely helpful. so, here is the alternative approach where u need to write a JAVA app which will invoke ur native daemon. http://androidenea.blogspot.com/2009/09/starting-android-servic

Re: [android-kernel] Re: Flashing Kernel Image

2010-02-22 Thread Tirtha Kanti Ghosh
you can try installing busybox on your Android FS and run all those commands(insmod, rmmod and many more) that are not provided in Android shell. to install busybox follow these steps mentioned in http://omappedia.org/wiki/Android_Getting_Started#Installing_Busybox_Command_Line_Tools_.28Optional.2