Re: [android-kernel] Writing Device Drivers for Andriod ..using External modules.

2011-01-24 Thread Jaya chandra
hi 1. Does module written in ubantux86 system works on the andriodx86 with out any changes ? ans . it is not possible for driver written in ubantux86 system to work on andrioidx86 with out any changes u have to neccesary changes then only possible to use that change that changes may be some minor c

[android-kernel] Writing Device Drivers for Andriod ..using External modules.

2011-01-24 Thread satya
Hi All, I want to write a External module for one of the device driver. so that I can load and unload when ever I want. Environment I am using AndriodX86. I have some basic questions here.. if some one can address them, it would be of great help. 1. Does module written

[android-kernel] Re: kernel support differences between Android versions?

2011-01-24 Thread Srikant
You can refer the android.git.kernel.org kernel/common.git Documentation/android.txt for details. Also compare this code with your 2.6.29 android kernel to see the changes. On Jan 24, 11:51 pm, A Curtis wrote: > Hello, > > Is there a document which describes the kernel support requirements > for

Re: [android-kernel] GPL Kernel module vs prprietary driver - export information

2011-01-24 Thread Josenivaldo Benito Junior
Hi Michael, Now there is no need for this anymore. Actually the /dev/device, between other functions, were capable of provide a unique ID used by a specialized application to uniquely identify the device. However, applications need to have read permission in order to query /dev/device. Someone her

Re: [android-kernel] creating a Linux device driver

2011-01-24 Thread Greg KH
On Jan 25, 2011 8:50 AM, "jon.schell" wrote: > > I just want to preface this by saying that I'm not a Linux nor an > Android developer, but I do develop embedded systems and so I do > understand the basic principles involved, I just don't know the > specific details in this case. > Try reading th

[android-kernel] Motorola Charm

2011-01-24 Thread Alexander
Hi, guys. Im trying to backport motorola charm to 2.2. And now im write BoardConfig.mk alls fine but i dont uderstand where i can get BOARD_FLASH_BLOCK_SIZE := ?? With others partitions ok. BOARD_BOOTIMAGE_PARTITION_SIZE := 0x0038 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0048 BOARD_SYSTE

[android-kernel] creating a Linux device driver

2011-01-24 Thread jon.schell
I just want to preface this by saying that I'm not a Linux nor an Android developer, but I do develop embedded systems and so I do understand the basic principles involved, I just don't know the specific details in this case. Having said that, I need to create a simple device driver so that I can

[android-kernel] Fwd: compile galaxy s rom problem and question

2011-01-24 Thread hamed zarei
hi ! I want to compile a new froyo rom for my samsung galaxy s absolutely from source. i have some problem and question 1- I have downloded Froyo2.2.1 XXJPX source from samsung opensource and extract it.but i have no idea how to continue !! 2- if i want to compile this source,do i need google sour

Re: [android-kernel] GPL Kernel module vs prprietary driver - export information

2011-01-24 Thread Michael Bonfils
Why not using /proc ? -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] GPL Kernel module vs prprietary driver - export information

2011-01-24 Thread Josenivaldo Benito Junior
Hi Bob, Thanks for your answer. Actually we found another way to go. Without touching any driver for this feature. Anyway good to know, certainly will be useful in a near future. Regards, --* Josenivaldo Benito Jr.* *PU2LBD* Contact me: http://www.google.com/profiles/jrbenito *Por Aurélio Buar

[android-kernel] kernel support differences between Android versions?

2011-01-24 Thread A Curtis
Hello, Is there a document which describes the kernel support requirements for the various Android versions? For instance, I have an Android capable kernel based on Linux 2.6.29. I want to migrate to Gingerbread which requires 2.6.35. What are the kernel support requirement differences between th

Re: [android-kernel] GPL Kernel module vs prprietary driver - export information

2011-01-24 Thread Robert Beckett
Hi, I assume that you are referring to a proprietary licensed module that is not built in to the kernel. If this is the case, you wont be able to use any of the EXPORT_SYMBOL_GPL functions, so that rules out /sys. I would use /proc to export the data to userland. Regards Bob On 21/01/11 11

Re: [android-kernel] Re: Compile of Android Kernel and Android OS

2011-01-24 Thread Steve Modica
This page has a better elf solution. I'm using it. We build the kernel on Mac OS. Steve http://plattanimattan.blogspot.com/2010/04/cross-compiling-linux-on-mac-osx.html On Jan 24, 2011, at 12:50 AM, A Curtis wrote: >>> Is there any place where one can find an up-to-date how-to kernel >>> co

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

2011-01-24 Thread satya
Do you mean andriod NDK ? On Jan 24, 2:20 pm, raja pavan wrote: > 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

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

2011-01-24 Thread Dwi Sasongko Supriyadi
>   5. I got the error, unrecognized format. > Could be caused by the compiler _or_ kernel header version mismatch -- "A mathematician is a device for turning coffee into theorems." - Paul Erdos -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group

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

[android-kernel] Hello Module programming For andriod.

2011-01-24 Thread satya
Hi All, I was trying to write a Hello module for AndriondX86. I did the following steps: 1. wrote the Hello world module in my ubantu system. 2. Wrote a Makefile in my Ubantu system to generate .ko file of the Hello module.(No cross compiler used as X86 system I targeted) 3. copied t