
Journal Journal: Embedded Linux Port - So Far P1
So Far P1
To be honest I did not have a clear idea of what this task would involve, but I was willing to see how far the rabbit hole went. So far I've learned that it goes deeeeepppppp
NOTE: If the following sections seems confusing and all over the place, it's cuz that's how this started for me.
I'm not a Linux guru or anything, but I do enjoy working with it and developing in it. I love working with a command prompt. Emacs is my editor of choice (I just couldn't stand VI
My initial goal was to put Android on Hal. So the first step was to get the source code from the Android site. After some playing around with Git and some wrong addresses
After spending some more time going through the site I managed to get the source compiled
After some more time on the Android site I found a lot more info on the general structure of Android and how it's based on Linux 2.6.24 and how they improved this and that, but nothing to help me get going. A lot more information on how to develop cool applications for it as well but that doesn't help me. Googling leads to sites of people who have ported android to commercial devices like the Nokia smartphones and HTC
I decided at this point to take a step back. I'd bitten of more than I can chew. Android was put off to the side. I needed to learn more about Linux itself and what tools I needed to build and load Linux onto an embedded device. After some time googling for tutorials and case studies, I found a bunch of embedded device packages and solutions, but it's not what I wanted. I need a guide from the bottom up on how/where to get the tools I need and how to go about creating the O/S for my board.
The best solution ended up being buying two books. I bought "Building Embedded Linux Systems" and "Understanding the LINUX Kernel" both by O'Reilly. I've made it through most of the first book, and made a small dent in the second
Overall I think Building Embedded Linux Systems is a great book. It answered my initial questions and it provides a good start on how to port Linux. There are some errors in the book and some of their recommendations turned out to be wrong or iffy on further inspection. The second book is a hard read. It's super informative and very interesting, but my god this is the driest read I have ever had!! It's a struggle to get through it, I'm only on Chapter 3. I will finish it however!
I will go through what I have done so far in more detail in the next entry. Suffice it to say I now have some direction! There is still a ton of work, but with the two books mentioned above I have made some headway.