[android-kernel] Re: Kernel module development

2010-02-25 Thread Rafał Grzybowski
What then? Should I build android platform or maybe prebuild binaries will be enough? Must I build the kernel before building module driver? Setting cross compiler options like below: > > > export > > > CROSSTOOLS=/usr/src/android/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1 > > > export PATH=$CRO

[android-kernel] android console shell

2010-02-25 Thread pavan savoy
Hi, I tried searching this on few other lists - no hits How do I get an android shell (console which is run from /init.rc) to work on /dev/tty* devices ? I am not sure how it worked on few other hardware that I have been working with. But recently the device got changed from the generic /dev/ttyS

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Chris Stratton
If they are really out of ideas they could use the MAC from whatever wireless/bluetooth/ethernet they have on the device as part of the unit unique serial number. On Feb 25, 2010 10:41 PM, "Mike Lockwood" wrote: In the android devices I have worked on, the serial number is programmed into flash.

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Mike Lockwood
In the android devices I have worked on, the serial number is programmed into flash. The bootloader passes it to the kernel via the kernel command line and this is then passed to the USB driver. See arch/arm/mach-msm/devices-htc.c in the msm kernel for an example. Mike On Thu, Feb 25, 2010 at 9

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Yidong Han
Hi Mike, Thanks a lot for your quick reply. But I still get some confusions. Like HTC, they assigned device serial number like the followings: HT97KL900624 device HT94LLZ00229 device If they assigned it by this way, HT97KL should be the model name, the following digits may be the real serial n

[android-kernel] Re: Kernel module development

2010-02-25 Thread Chih-Wei
kernel/common.git, of course. On 2月26日, 上午6時41分, Rafał Grzybowski wrote: > Which kernel version: kernel/linux-2.6.git, kernel/msm.git or kernel/ > tegra.git? > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Re: Kernel module development

2010-02-25 Thread Rafał Grzybowski
Which kernel version: kernel/linux-2.6.git, kernel/msm.git or kernel/ tegra.git? On 25 Lut, 11:15, Giuseppe Calderaro wrote: > > I need a kernel from android platform or kernel sources? I've > > "downloaded" android sources on my Ubuntu. What is the next step. > > You can find the kernel here:htt

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread San Mehat
On Thu, Feb 25, 2010 at 11:02 AM, Mike Lockwood wrote: > Each device needs to have its own unique serial number even if they > are the same model. That is the whole point of the serial number. > Otherwise there is no way to tell them apart and you have this > problem. > > *SMH* > Mike > > On We

Re: [android-kernel] Reference Book

2010-02-25 Thread Prokash Sinha
You know that the kernel is Linux, so the first thing to look at is some good books and / or sites for Linux kernel. For applications, the books are for java developments ( mostly), so you can always look at delvik virtual machine docs to dig deep, but that would not help you for linux side of it.

[android-kernel] Reference Book

2010-02-25 Thread Gooeagle
Hi, Can anyone recommend please a good book/s on Android Kernel Development? I can only find books on Application development but none on Kernel development. I am particularly interested in how Android applications interface with the Linux Kernel. Thanks! -- unsubscribe: android-kernel+unsubscr

[android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Yidong Han
Now I am trying to plug in many devices with same model and hence same serial number to the host Ubuntu PC. When I execute the command: $ adb devices I got these results: List of devices attached 0123456789ABCDEFdevice 0123456789ABCDEFdevice 0123456789ABCDEFdevice 0123456

Re: [android-kernel] How could adb identify many devices with same serial number?

2010-02-25 Thread Mike Lockwood
Each device needs to have its own unique serial number even if they are the same model. That is the whole point of the serial number. Otherwise there is no way to tell them apart and you have this problem. Mike On Wed, Feb 24, 2010 at 9:43 PM, Yidong Han wrote: > Now I am trying to plug in many

Re: [android-kernel] Re: Kernel module development

2010-02-25 Thread Giuseppe Calderaro
> > I've cloned entire platform on my Ubuntu, typed make yesterday and > it's still compiling I can suppose you're building the platform, not the kernel then... > But probably the output will be for i386 since no arch was specified, > right? > When you type make a small box appears to tell you

[android-kernel] Re: Kernel module development

2010-02-25 Thread Rafał Grzybowski
I'm not planning to port android on the new platform. My customer has asked to support his android application on Eclair. The application is Bluetooth HID keyboard (no SPP) and works great on previous versions. But it's broken on 2.1. And the problem is (I don't know how this could be), he doesn't

Re: [android-kernel] Re: Kernel module development

2010-02-25 Thread Alberto Panizzo
Hi Rafał, On gio, 2010-02-25 at 00:06 -0800, Rafał Grzybowski wrote: > > I need a kernel from android platform or kernel sources? I've > "downloaded" android sources > on my Ubuntu. What is the next step. Simple "make" would make a deal? > Should I change the arch for this. > What's the result of

Re: [android-kernel] Re: Kernel module development

2010-02-25 Thread Giuseppe Calderaro
> > I need a kernel from android platform or kernel sources? I've > "downloaded" android sources on my Ubuntu. What is the next step. You can find the kernel here: http://android.git.kernel.org/ kernel source code is not downloaded (afaik) when you download platform source code. You will need a

[android-kernel] Re: Kernel module development

2010-02-25 Thread Rafał Grzybowski
> > The android kernel is linux kernel. You need a compiler/cross-compiler > depending on which arch you're running android and the kernel you're running > on the android platform. > Just building the module against the running kernel should be enough. > > --