Re: [android-kernel] cross-compile using prebuilt toolchain

2013-12-01 Thread raja pavan
Each distro of ubuntu has unique set of host packages required for building kernel. Ensure that u have installed all host pkgs On Dec 1, 2013 6:42 PM, "s.rawat" wrote: > DId you get past through this.I am also getting the same error.I am > building on 12.04 LTS x64 for msm(Qualcomm) > > "..pain

Re: [android-kernel] KitKat kernel sources for mako

2013-11-20 Thread raja pavan
https://android.googlesource.com/device/lge/mako-kernel/+/android-4.4_r1.2 On Nov 20, 2013 6:04 AM, "romain semanaz" wrote: > Hi ! When can we have the kernel sources fort the mako ? We only have JB > branches, no KK... > > -- > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > webs

Re: [android-kernel] KitKat kernel sources for mako

2013-11-20 Thread raja pavan
https://android.googlesource.com This is where all kernel sources can be found On Nov 20, 2013 5:37 PM, "raja pavan" wrote: > Source.android.com has all sources . > scroll down the web page. > They can be found. > On Nov 20, 2013 6:04 AM, "romain semanaz" wrote

Re: [android-kernel] KitKat kernel sources for mako

2013-11-20 Thread raja pavan
Source.android.com has all sources . scroll down the web page. They can be found. On Nov 20, 2013 6:04 AM, "romain semanaz" wrote: > Hi ! When can we have the kernel sources fort the mako ? We only have JB > branches, no KK... > > -- > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com

Re: [android-kernel] android booting process (components involved and interactions with the internal storage)

2013-11-17 Thread raja pavan
Hi So do you have any specific board in mind or can we discuss even in the context of emulator Pavan On Nov 13, 2013 1:53 AM, "Kanchan Joshi" wrote: > Hi All, > > I am trying to develop an understanding on the android boot process, in > general. From the point power button (on android phone/tab

Re: [android-kernel] Patching SoC Drivers from Android Kernel to Linux Kernel

2013-03-20 Thread raja pavan
Porting Device Specific code from Android Kernel to Linux Kernel is a simple task as per my experience. Take the Android Kernel and the Corresponding Opensource Linux Kernel. Use a diff and merge tool like meld and you get idea about where the board specific code (arch/arm/machine) for instance l

Re: [android-kernel]

2013-01-03 Thread raja pavan
will have permissions as root >> >> >> On Thu, Jan 3, 2013 at 3:08 PM, raja pavan wrote: >> >>> adb usb >>> error: insufficient permissions for device >>> >>> >>> >>> On 3 January 2013 15:00, yarra vivek wrote: >>

Re: [android-kernel]

2013-01-03 Thread raja pavan
adb shell this command blocks On 3 January 2013 15:29, yarra vivek wrote: > sudo -i > adb kill-server > adb usb > > you will have permissions as root > > > On Thu, Jan 3, 2013 at 3:08 PM, raja pavan wrote: > >> adb usb >> error: insufficient permissions f

Re: [android-kernel]

2013-01-03 Thread raja pavan
> >> >> On Thu, Jan 3, 2013 at 2:49 PM, raja pavan wrote: >> >>> I think you need to jail break the device, let me know if you can jail >>> break micromax a 110 >>> >>> >>> On 3 January 2013 14:45, yarra vivek wrote: >>>

Re: [android-kernel]

2013-01-03 Thread raja pavan
yes I am using a linux machine On 3 January 2013 14:50, yarra vivek wrote: > I dont think you need to jail break. are you using linux machine?? > > > On Thu, Jan 3, 2013 at 2:49 PM, raja pavan wrote: > >> I think you need to jail break the device, let me know if you can j

Re: [android-kernel]

2013-01-03 Thread raja pavan
I think you need to jail break the device, let me know if you can jail break micromax a 110 On 3 January 2013 14:45, yarra vivek wrote: > If using linux. Kill adb and run as root user. > On Jan 3, 2013 2:37 PM, "raja pavan" wrote: > >> I tried to enable develope

Re: [android-kernel]

2013-01-03 Thread raja pavan
I tried to enable developer option -> USB debugging... then adb list the device is listed with not allowing me logcat, so do you have some method to get logs? cheers raja pavan On 3 January 2013 14:35, yarra vivek wrote: > attach logs > On Jan 3, 2013 2:32 PM, "raja pavan&qu

[android-kernel]

2013-01-03 Thread raja pavan
Hi I am facing problems with my micromax a110 phone, internet browsing over WiFi. For any wifi related thing, it reboots, be it WiFi ON/OFF. When from System Settings -> Select Wifi NetWork -> Connect It consistently rebbots while acquiring the IP Address. Please suggest me a fix for this prob

Re: [android-kernel] android kernal vs linux kernal

2012-12-11 Thread raja pavan
the drivers are modular and can be incorporated in the board specific kernel. Some of the drivers need no changes to other modules of th kernel, they can be incorporated as is. I could create an android kernel for board as complex as a digital television from a leading manufacturer and it worked.

Re: [android-kernel] Android: ashmem and binder Tests

2012-11-16 Thread raja pavan
Hi Best way to start on test cases for ashmem and binder drivers is android source code. *android source code and ashmem driver* I reviewed the android source code and found that ashmem and binder are also opened like any other linux device. They are opened like any linux device. *Interfaces to

Re: [android-kernel] patches/ procedure to make Linux mainframe kernel working for Android

2012-05-13 Thread raja pavan
Hi I have the following set of suggestions. Android' set of drivers Ashmem, Binder, Power management, etc Take these drivers from android kernel git. And build them the way normal drivers are built. Android has designed the drivers to be very modular so ashmem and binder will get built withou

Re: [android-kernel] error in kernel compilation

2012-02-15 Thread raja pavan
I do not have an android emulator with me at this moment. Please install at your end and try. Raja On Wed, Feb 15, 2012 at 2:56 PM, jagan <402ja...@gmail.com> wrote: > Does your kernel have CONFIG_AEABI=y? > check it & try once. > > Regards, > Jagan > > > On Wed, Feb 15, 2012 at 2:51 PM, Amit k

Re: [android-kernel] Does Linux kernel[working with a ARM target] is capable to launch an Android root file-system (/init)

2012-02-15 Thread raja pavan
The root file system can be taken from emulator. system.img and other images constitute the root file system. Any kernel will have the feature to launch the init process, for instance the configuration of a kernel that can launch an init process can also be taken from emulator. pull /proc/config

Re: [android-kernel] Android GUI

2011-10-14 Thread raja pavan
What do you mean by monitor, are you running ANdroid on PC? On Fri, Oct 14, 2011 at 10:19 AM, parth shah wrote: > Hello Friends, > > I'm not able to see Android GUI on my monitor. As well as i 'm not able to > see PMEM freeing memory. > > Any idea where should i change the code? > > Regards, > Pa

Re: [android-kernel] Fwd: error in drivers/rtc/alarm.c

2011-08-22 Thread raja pavan
Hi There will be one more file associated with the alarm driver. Your need to add the header/source file to android drivers directory. Please check in source.android.com for the other drivers associated with android alarm driver. You can even look in netmite site for the same. Thanks On Fri,

Re: [android-kernel] Help regarding developing a loadable kernel module for Android

2011-08-20 Thread raja pavan
ulk is a tough one for beginners. First setup ur emulator. That can be used to test the loadable modules. On Fri, Aug 19, 2011 at 7:52 PM, peng S wrote: > maybe the book can help you! > > > 2011/8/19 J Freyensee > >> You should also look at this book...in my opinion its a little better than >

Re: [android-kernel] kernel build fails to build from custom .config file

2011-08-04 Thread raja pavan
Hi, (1) What are the build errors? (2) Compare custom .config with *emulator kernel .config*, using "meld" *emulator kernel .config : *can be obtained using adb pull /proc/config.gz extract config.gz, this will give .config (2b) Check the image specifier, I have built several times using Image i

Re: [android-kernel] Re: Android Kernel Internals & HAL

2011-06-23 Thread raja pavan
(1) Android kernel has an additional set of drivers that support android runtime. (ashmem , binder, logger are necessary) These drivers are modular, so they need minimal changes to vanila android kernel. But starting point can be the linux kernel that runs on your board. Then incorporate these d

Re: [android-kernel] Why we need library files like gpio_lib.c,hdmi_lib.c etc

2011-06-23 Thread raja pavan
(1) start on ubuntu sudo apt-get install kernel-source go to /usr/src.linux-source (this is the kernel source for ubuntu machine) (2) you can even work on virtual box for learning kernel programming. Once you cross this step, ping me I will be able to tell you the next step (3) We can even run

Re: [android-kernel] Re: How to add own App in Source Android

2011-05-31 Thread raja pavan
try android dot com site. I copied the link from that site. On Tue, May 31, 2011 at 11:59 PM, spurwa wrote: > sorry raja, i can't open the link:D > > On May 31, 7:19 pm, raja pavan wrote: > > Creating the Project without Eclipse > > *http://developer.android.com

Re: [android-kernel] How to add own App in Source Android

2011-05-31 Thread raja pavan
Creating the Project without Eclipse *http://developer.android.com/resources/tutorials/hello-world.html* ** On Tue, May 31, 2011 at 5:25 PM, spurwa wrote: > Can anyone tell me how to add the app on the Android Open Source Code. > I've tried the way given by www.source.android.com, how to add >

Re: [android-kernel] Re: Booting 2.6.39 kernel

2011-05-13 Thread raja pavan
(1) u can pull init.rc from emulator, compare it with your init.rc and check. you enable logcat and you will come to know. (2) #logcat service for logging kernel message service logcat /system/bin/logcat -f /dev/kmsg oneshot (3) dmesg can be used only when the root file system is up. On Fr

Re: [android-kernel] help me android

2011-03-30 Thread raja pavan
Please expain "drives driver " and what do you mean by android driver for "drives driver "? On Tue, Mar 15, 2011 at 2:43 PM, Johnny Lei wrote: > i have drives driver for android > i have H/W (Development board) > I have linux kernel 2.6.28.6 for this board > my drives use i2c bus the light senso

Re: [android-kernel] help me android

2011-03-30 Thread raja pavan
In your case since the drivers are for hardware, just add them as if you add to a vanila linux kernel. On Tue, Mar 15, 2011 at 2:43 PM, Johnny Lei wrote: > i have drives driver for android > i have H/W (Development board) > I have linux kernel 2.6.28.6 for this board > my drives use i2c bus the

Re: [android-kernel] help me android

2011-03-18 Thread raja pavan
Simple. Take kernel configuration of emulator kernel. adb pull config.gz Add drivers taken from android + kernel + git Make Changes to your kernel config accordingly, build the kernel and boot it. Thanks Pavan On Tue, Mar 15, 2011 at 2:43 PM, Johnny Lei wrote: > i have drives driver for and

Re: [android-kernel] Re: android Device Portability Test (Porting Verification)

2011-03-09 Thread raja pavan
Hi, ** *LTP Suite for Android Kernel* LTP tests many aspects of linux kernel , system calls for instance. Android kernel is a patch to the vanila kernel , it adds some drivers to vanila kernel. In drivers->staging->android. It is modular addition to vanila kernel. The LTP suite *as it is* can be

Re: [android-kernel] Help about android source code

2011-02-18 Thread raja pavan
from package 'zfs-fuse' (universe) > Command 'mdb' from package 'mono-debugger' (universe) > Command 'tdb' from package 'tads2-dev' (multiverse) > Command 'pdb' from package 'python' (main) > Command 'jdb' from pa

Re: [android-kernel] Help about android source code

2011-02-17 Thread raja pavan
onfig/conf --silentoldconfig arch/x86/Kconfig >>>>> * >>>>> * Restart config... >>>>> * >>>>> * >>>>> * General setup >>>>> * >>>>> Prompt for development and/or incomplete code/drive

Re: [android-kernel] Help about android source code

2011-02-17 Thread raja pavan
for development and/or incomplete code/drivers (EXPERIMENTAL) >>> [Y/n/?] y >>> Cross-compiler tool prefix (CROSS_COMPILE) [] >>> Local version - append to kernel release (LOCALVERSION) [] >>> Automatically append version information to the version string >>>

Re: [android-kernel] Help about android source code

2011-02-16 Thread raja pavan
nel release (LOCALVERSION) [] > Automatically append version information to the version string > (LOCALVERSION_AUTO) [N/y/?] n > Kernel compression mode > > 1. Gzip (KERNEL_GZIP) > 2. Bzip2 (KERNEL_BZIP2) (NEW) > 3. LZMA (KERNEL_LZMA) > 4. LZO (KERNEL_LZO) > choice[1-

Re: [android-kernel] Help about android source code

2011-02-16 Thread raja pavan
wrote: > should I do this by the command "make menuconfig" > > On Wed, Feb 16, 2011 at 5:46 PM, raja pavan wrote: > >> "stack protector enabled but no compiler support" >> >> Also try disabling stack protector in the android kernel configuration

Re: [android-kernel] Help about android source code

2011-02-16 Thread raja pavan
"stack protector enabled but no compiler support" Also try disabling stack protector in the android kernel configuration, search for the same in .config of your kernel, On Wed, Feb 16, 2011 at 5:43 PM, raja pavan wrote: > make alone will not suffice, pass full command line ... &g

Re: [android-kernel] Help about android source code

2011-02-16 Thread raja pavan
make alone will not suffice, pass full command line ... revert back if any error ... On Wed, Feb 16, 2011 at 5:18 PM, Soumen Debnath wrote: > raja pavan, > > now i get the error is : > root@soumen-laptop:/home/soumen/Desktop/android/common# make > > /home/soumen/Desktop/andro

Re: [android-kernel] Help about android source code

2011-02-16 Thread raja pavan
give CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- (no need to specify full name of the gcc binary) , make -j1 alone will not suffice. MYTC is the root directory of arm tool chain setup. Full command will be like make ARCH=arm CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- Image -j2 (custom

Re: [android-kernel] Prevent demon form being killed, when device goes to SLEEP

2011-02-15 Thread raja pavan
"Killed" , lowmemorykiller has the power to kill processes, so lmk cuold be behind this. write /proc/1/oom_adj -16 This will prevent the lowmemorykiller driver from killing your process (if lmk happens to be the reason) Please let me know the result. On Tue, Feb 15, 2011 at 2:57 PM, P@AR wrote

Re: [android-kernel] Help about android source code

2011-02-15 Thread raja pavan
If you want to modify the emulator kernel, download from http://android.git.kernel.org/ kernel branches (snapshot) goldfish is the name of branch, for emulator kernel. My earlier response to a similar query has lot of content with regard to this. search for android emulator kernel in the groups.

Re: [android-kernel] Help about android source code

2011-02-15 Thread raja pavan
Follow these steps. (1) Download jdk 1.6 from sun jdk archives. locate java inside jdk and export the java-binary loaction to PATH variable. (2) Download GingerBread which happens to be the latest mobile android stack from http://android.git.kernel.org/ mkdir mydroid cd mydroid repo init -u git:

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-02-15 Thread raja pavan
rnel. (7) Logically fix *each and every build error* encountered while building the kernel. Do not hesitate to move/replace some header files from phone kernel (mainly from arch/arm folder) to new kernel, as it is, in this process. This is the correct and proven approach Wishes Raja Pavan On Mon,

Re: [android-kernel] How to detect the task initiated by touching a button in the kernel?

2011-02-08 Thread raja pavan
"Interactive task in kernel", what do you mean? In application space of android, Input class will dispatch the clicks to launcher class on a binder i/f and launcher will inturn make an rpc of the function in the corresponding class. (for click on Music icon, will result in launcher calling handler

Re: [android-kernel] partner_setup command not found.

2011-02-08 Thread raja pavan
Hi As per my experience, for a build to succeed after running envsetup.sh , we should have done a total-build of android source code (mydroid). Just check whether you performed total build atleast once. Now move to mydroid (android root) and run . build/envsetup.sh. Now move to your folder and

Re: [android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread raja pavan
So please specify your requirement. What do you want in the android kernel about drivers. Android drivers is the common thing, so what else do you want? On Mon, Jan 31, 2011 at 9:02 PM, Chris Stratton wrote: > > grep "open_binder", "/dev/ashmem" in the android source code . This will > > provi

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
Most Welcome Is it possible to share the reason why you have built a new kernel for emulator? If possible share the .config Thanks Raja On Mon, Jan 31, 2011 at 9:45 PM, Peter Fortuin wrote: > I have a running kernel now. > Thanks for the help! > > > 2011/1/31 raja pavan &g

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
You can even pull the .config of the kernel running in the emulator adb pull /proc/config.gz Then make whatever changes you would like to the kernel configuration and use this kernel on emulator. This makes sense ? Raja On Mon, Jan 31, 2011 at 7:16 PM, raja pavan wrote: > that may not

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
est the same on emulator. On Mon, Jan 31, 2011 at 7:02 PM, Peerke wrote: > Somehow the link that you provided doesn't work. I get a '404 - No > such project ' message. > > > On Jan 31, 2:29 pm, raja pavan wrote: > > (1) > http://android.git.kernel.org/?p=k

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
ownload something else. > > * How to build a goldfish kernel? That works in the same way as any > other linux kernel? (Starting from the goldfish_defconfig?) > > > > On Jan 31, 1:24 pm, raja pavan wrote: > > - Download the goldfish kernel from android git. > > -

Re: [android-kernel] Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
- Download the goldfish kernel from android git. - Install android sdk on your machine - /home/raja/Downloads/android-sdk-linux_86/platforms will have a folder each for avd api versions - Create avd for api of your choice - Build goldfish kernel for you ur choice of kernel configuration and place i

Re: [android-kernel] How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread raja pavan
Hi Parth Drivers added by android to the vanila linux kernel can be downloaded, from android kernel.git. (snapshot mode) Download android linux kernel , cd drivers/staging/android and you will see all the android drivers in the folder. (binder, ashmem, alarm, power, apanic, etc) Also download a

Re: [android-kernel] Hello Module programming For andriod.

2011-01-24 Thread raja pavan
Better to use the compiler in android-x86 sdk whichi is available from android for x86 site. *android*-*x86*.org On Mon, Jan 24, 2011 at 2:41 PM, satya wrote: > Hi All, > > I was trying to write a Hello module for AndriondX86. > > I did the following steps: > > 1. wrote the Hello world modul

Re: [android-kernel] Failed to complete the kernel build

2011-01-10 Thread raja pavan
Hi Lakshmana Please use "meld" : this is a Diff and merge tool and compare the vanila kernel with the kernel you have. The differences are spread in 4-5 places as far as machine specific port is concerned. So port the 4-5 differences of machine code in a similar fashion, to the new vanila kernel

[android-kernel] alarm.c

2010-12-20 Thread Raja Pavan
Hi need inputs on android kernel driver alarm.c (1) Functional Description of alarm.c driver (2) Test application that can test alarm.c driver. Thanks Raja -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] timed_gpio Driver Functional Description

2010-12-20 Thread Raja Pavan
Hi I want to understand functionality of Android Driver timed_gpio.c. Is there any document that has functional description of the driver. Test Methodology -- Is there any method by which this driver can be tested? Thanks Raja -- unsubscribe: android-kernel+unsubscr..

Re: [android-kernel] How to contribute to Android kernel

2010-12-10 Thread raja pavan
which is the board you are working on? On Sat, Dec 11, 2010 at 12:25 AM, ppadala wrote: > Hi, > > I am wondering how one would contribute to the Android kernel. I > looked at some documentation but couldn't find clear information on > where a patch should be sent, who will review it and how it

[android-kernel] Android Power Driver Issue

2010-12-09 Thread Raja Pavan
Hi "android_power_suspend: exit suspend, ret = -19 " This is the error reported from android power driver, taken from git android kernel repo. Please provide some clues on how to overcome this error. Thanks Raja -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://grou

[android-kernel] Re: Android Low Memory Killer

2010-11-24 Thread Raja Pavan
t > not knowable. > > Is there a problem you are trying to address? > > > > > > On Wed, Nov 24, 2010 at 9:49 PM, Raja Pavan wrote: > > Hi Dianne > > > I did run the test application (shared with you) on emulator. > > > It was killed. > &g

Re: [android-kernel] where to get android kernel 2.6.33 and 2.6.34

2010-11-24 Thread raja pavan
You can try in android git/omap and TEGRA trees I could get them there. 2 weeks back On Wed, Nov 24, 2010 at 1:47 PM, wuhaigang wrote: > Hi all, > > So android code was dropped from Linux kernel 2.6.33 and 2.6.34, where > to get the android kernel tree including the dropped android code. > > th

[android-kernel] Re: Android Low Memory Killer

2010-11-24 Thread Raja Pavan
"free memory", etc.  I would suggest > validating your test first on a known working build before using it to draw > conclusions about the  behavior of your own build. > > > > > > On Tue, Nov 23, 2010 at 4:45 AM, Raja Pavan wrote: > > We are trying to test An

[android-kernel] Re: Android Low Memory Killer

2010-11-23 Thread Raja Pavan
else { printf("malloc error %d ",ptr[i]); } } } On Nov 23, 5:45 pm, Raja Pavan wrote: > We are trying to test Android LowMemoryKiller Driver using a sample > test application. > > /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15 > >

[android-kernel] Android Low Memory Killer

2010-11-23 Thread Raja Pavan
We are trying to test Android LowMemoryKiller Driver using a sample test application. /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15 MINFREE module parameter is set from the application. echo 1536,2048,4096,5120,5632,6144 >/sys/module/lowmemorykiller/ parameters/minfree The test appli

Re: [android-kernel] Android Low Memory Killer + kswapd

2010-11-18 Thread raja pavan
n Fri, Nov 19, 2010 at 1:51 AM, Dianne Hackborn wrote: > What oom_adj is your test app running under? > > On Wed, Nov 17, 2010 at 9:39 PM, Raja Pavan wrote: > >> We are testing the lowmemorykiller.c driver of android, using a sample >> test application that malloc()

[android-kernel] Android Low Memory Killer + kswapd

2010-11-18 Thread Raja Pavan
We are testing the lowmemorykiller.c driver of android, using a sample test application that malloc() and memset() memory. [code pasted below] void loopmalloc() { int size,i=0; float **ptr = NULL; printf("\n\nLoopMalloc starts\n\n"); ptr = (float **)malloc(200*sizeof(float