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
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
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
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
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
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
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:
>>
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
>
>>
>> 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:
>>>
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
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
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
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
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.
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
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
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
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
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
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,
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
>
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
(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
(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
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
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
>
(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
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
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
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
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
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
onfig/conf --silentoldconfig arch/x86/Kconfig
>>>>> *
>>>>> * Restart config...
>>>>> *
>>>>> *
>>>>> * General setup
>>>>> *
>>>>> Prompt for development and/or incomplete code/drive
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
>>>
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-
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
"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
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
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
"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
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.
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:
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,
"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
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
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
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
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
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
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.
> > -
- 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
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
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
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
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
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..
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
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
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
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
"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
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
>
>
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
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()
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
65 matches
Mail list logo