[android-kernel] Re: the bootloader used for the linux kernel

2011-01-28 Thread Chris Stratton
On Jan 28, 5:08 pm, parth shah wrote: > Most of the time they use u-boot as a reference and then customize the > u-boot to make their proprietary BL. That wouldn't exactly be legal, given that u-boot is GPL. They could probably make a work-a-like (for example, Android's "Toolbox" is similar in

[android-kernel] Re: the bootloader used for the linux kernel

2011-01-28 Thread Chris Stratton
On Jan 28, 4:43 pm, Tim Bird wrote: > >>> 5. Keeping the above point in mind, is it possible to use an open > >>> source bootloader like LK or UBoot on an unlocked device? > > I don't know.  It depends on how the device is unlocked. > If the phone manufacturer put the initial bootloader in ROM, >

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

2011-01-28 Thread Chris Stratton
android.git.kernel.org both for the kernel side and the android userland halves of the interface. You'll have better luck if you pick a specific existing feature and research how that works. If you have some familiarity with linux in general, just browsing around on an android device's filesystem

Re: [android-kernel] Re: the bootloader used for the linux kernel

2011-01-28 Thread parth shah
Most of the time they use u-boot as a reference and then customize the u-boot to make their proprietary BL. Thanks, Parth On Fri, Jan 28, 2011 at 1:43 PM, Tim Bird wrote: > On 01/28/2011 01:20 PM, Earlence wrote: > > so what exactly is used and how do i get its code? > > Arun is wrong. See my

Re: [android-kernel] Re: the bootloader used for the linux kernel

2011-01-28 Thread Tim Bird
On 01/28/2011 01:20 PM, Earlence wrote: > so what exactly is used and how do i get its code? Arun is wrong. See my answers below. > On Jan 28, 8:24�am, "Arun K. Singh" wrote: >> It has to be u-boot or a proprietary enhancement of same at best... >> implementing a proprietary boot loader for Lin

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

2011-01-28 Thread Pavan Savoy
Make that "genl_register"... On 29-Jan-2011 2:44 AM, "Pavan Savoy" wrote: > Send your binary data via interface, may be netlink sockets, you can search > for terms nl_register inside drivers or net folder for examples in your > kernel sources > Or in case you find it hard ther are numerous li

[android-kernel] Re: the bootloader used for the linux kernel

2011-01-28 Thread Earlence
so what exactly is used and how do i get its code? On Jan 28, 8:24 am, "Arun K. Singh" wrote: > It has to be u-boot or a proprietary enhancement of same at best... > implementing a proprietary boot loader for Linux doesn't make much > sense ... > > Best Regards, > Arun K. Singhwww.crazydaks.com >

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

2011-01-28 Thread Pavan Savoy
Send your binary data via interface, may be netlink sockets, you can search for terms nl_register inside drivers or net folder for examples in your kernel sources Or in case you find it hard ther are numerous linux cross references source code.. try googling lxr On 29-Jan-2011 2:36 AM, "jon.sc

Re: [android-kernel] Motorola Charm

2011-01-28 Thread Patrick Jacques
cat /proc/mtd On Tue, Jan 25, 2011 at 4:45 PM, Фьодор wrote: > > > 2011/1/25 Tiago Maluta > > On Mon, Jan 24, 2011 at 4:06 PM, Alexander wrote: >> > >> > alls fine but i dont uderstand where i can get >> > BOARD_FLASH_BLOCK_SIZE := ?? >> > >> >> you can log at android terminal (i.e: adb sh

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

2011-01-28 Thread jon.schell
There is no hardware device, so yes it is an arbitrary use. The data is going into kernelspace and being sent to the RPC module and what happens after that isn't relevant to anything. It can get into kernelspace in any way that works. The documentation is not clear, nor straightforward for me.

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

2011-01-28 Thread parth shah
Hi Chris, Thanks for your reply. I'm not worry about google CTS now. Can you point me some reference material or website where i can find this detail? Thanks, Parth On Thu, Jan 27, 2011 at 9:53 PM, Chris Stratton wrote: > There are tons of different ways you could potentially do this and > ma

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

2011-01-28 Thread Greg KH
On Thu, Jan 27, 2011 at 9:42 PM, Chris Stratton wrote: > And there are no acceptable generic methods for arbitrary purposes? Nothing is "arbitrary", it always is some type of device, correct? And yes, there are usual ways to do this, which are described in detail in the documentation that has be

Re: [android-kernel] Re: OTG on Nexus S

2011-01-28 Thread Steve Modica
Hi Julian, Thanks for the response! I've seen Sven's page and a couple of the guys I'll be working with next week have this hack working. The first problem I see with his method is that he's pulling in ehci-hcd. The Nexus S doesn't have any host drivers. I would need something for the S5Pv2

[android-kernel] Re: OTG on Nexus S

2011-01-28 Thread Julian Pas
Try to use an externally powered usb hub. On the nexus one the usb circuits of the chip were only powered through the usb itself. So in order to use OTG or pure host mode you had to supple power from outside. I can imagine this haven't changed in the Nexus S either. Have a look at this page for mor