From: Joe2 <joe...@ho...> - 2009-08-14 05:14:07
|
I'm fairly novice at Linux stuff, I know enough to get a working computer into trouble. My question is If I want to port an operating system like Android over to the Overo where do I start? Any How to, or Forums that some one could provide would be great. So far my understanding is to BitBake it, and that is fine, my concern is more with things like how to tell it that WiFi is here or output sound there? One of my real things is I plan to use a USB 3G HSDPA unit, I think this means I have to embed the drivers into it and maybe the OS just knows to use that for calls and data?? Thank you, Joe -- View this message in context: http://www.nabble.com/How-to-Port-OS-to-Overo-tp24965805p24965805.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: richard d. <rdo...@gm...> - 2009-08-14 17:58:04
|
Like all such things, you start at the begining. ;) Seriously though, the REAL starting place is to understand the operating system you are trying to port. such as... 1) How is it loaded. 2) How does it start up. 3) How does it abstract the devices that it knows about. 4) what is the kernel/user space API. And even before that is .... 1) What processor do I wish to run it on. 2) Does the processor I wish to run it on have all the necessary features that the operating system requires? (like, do you need virutal memory management? etc.) The answer to the questions you pose are really found in asking the above questions. The biggest thing is the device applications programming interface. In other words.. how the operating system abstracts out the ability to talk with devices. In linux, it does so with a few basic calls that have to be implemented by teh device driver writer. 1) open 2) close 3) read 4) write 5) ioctl and I think I'm missing one.. but nevertheless, you get the idea. You need to understand how the OS does that, or *IF* it does that. And you really need to be fairly adept at programming, and fairly adept at understanding how to touch physical devices to do the entire job yourself. As for resources, there are many out there on the web, and somehow I get the feeling that your best bet for porting android would be the android web site and the android forums since that will be the majority of what you need to know. RIck On Fri, Aug 14, 2009 at 1:13 AM, Joe2 <joe...@ho...> wrote: > > I'm fairly novice at Linux stuff, I know enough to get a working computer > into trouble. My question is If I want to port an operating system like > Android over to the Overo where do I start? Any How to, or Forums that some > one could provide would be great. So far my understanding is to BitBake it, > and that is fine, my concern is more with things like how to tell it that > WiFi is here or output sound there? One of my real things is I plan to use > a USB 3G HSDPA unit, I think this means I have to embed the drivers into it > and maybe the OS just knows to use that for calls and data?? > Thank you, > Joe > -- > View this message in context: > http://www.nabble.com/How-to-Port-OS-to-Overo-tp24965805p24965805.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Say you can or say you can't, either way you will be right. Computers are like old testament gods: Lots of rules and no mercy. |
From: Don A. <do...@gu...> - 2009-08-14 18:15:06
|
A summary of some resources for Android programming can be found here in the Gumstix user wiki: http://www.gumstix.net/wiki/index.php?title=Category:How_to_-_Android Don @ Gumstix =================== As for resources, there are many out there on the web, and somehow I get the > feeling that your best bet for porting android would be the android web site > and the android forums since that will be the majority of what you need to > know. > > RIck > > > |