<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2757224534434174151</id><updated>2012-02-16T10:45:18.120Z</updated><category term='qemu'/><category term='feisty'/><category term='mokomakefile'/><category term='kubuntu'/><category term='openmoko'/><title type='text'>OpenMoko</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://markb-openmoko.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2757224534434174151/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://markb-openmoko.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mark</name><uri>http://www.blogger.com/profile/11823767360187853235</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2757224534434174151.post-259234958471811938</id><published>2007-07-21T20:16:00.000+01:00</published><updated>2008-12-09T00:42:10.074Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='feisty'/><category scheme='http://www.blogger.com/atom/ns#' term='qemu'/><category scheme='http://www.blogger.com/atom/ns#' term='openmoko'/><category scheme='http://www.blogger.com/atom/ns#' term='kubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='mokomakefile'/><title type='text'>Getting Started with OpenMoko</title><content type='html'>My OpenMoko phone has been on order for a couple of weeks now, and while I'm waiting I thought I'd have a play with the development environment.&lt;br /&gt;&lt;br /&gt;I'll add notes here as a record of what I've done to get things working.&lt;br /&gt;&lt;br /&gt;There's a lot of good documentation on the openmoko wiki site already.&lt;br /&gt;But that didn't stop me from hitting a few problems along the way. All my own fault really.&lt;br /&gt;All the information is there on the wiki but it is spread over a number of pages. It's worth reading through as much of it as possible before you get started.&lt;br /&gt;&lt;br /&gt;The first thing I did was update my Linux environment. I was using Kubuntu Dapper, and thought I'd better upgrade to Feisty Fawn to make life a bit easier.&lt;br /&gt;(The upgrade was very easy and I had no problems at all!)&lt;br /&gt;&lt;br /&gt;Then I started to follow the instructions here:&lt;br /&gt;http://wiki.openmoko.org/wiki/MokoMakefile&lt;br /&gt;&lt;br /&gt;As I said before. Don't be too eager to start following the instructions straight away. It's easy to miss something, and the builds can take a LONG time.&lt;br /&gt;&lt;br /&gt;I followed the MokoMakefile instructions:&lt;br /&gt;Set up OpenEmbedded according to this page: http://www.openembedded.org/wiki/OEandYourDistro&lt;br /&gt;&lt;br /&gt;I used the Adept Package Manager to install&lt;br /&gt;&lt;br /&gt;"openembedded-essential"&lt;br /&gt;"automake" 1:1.10&lt;br /&gt;&lt;br /&gt;I had to fix the link for /bin/sh as it was pointing to dash instead of bash.&lt;br /&gt;(As mentioned on the MokoMakefile wiki page)&lt;br /&gt;&lt;br /&gt;After doing the "make setup" you'll have a build/conf/local.conf file&lt;br /&gt;I had to edit mine to fix a build problem&lt;br /&gt;&lt;br /&gt;TARGET_FPU = ""&lt;br /&gt;&lt;br /&gt;And I added&lt;br /&gt;INHERIT += " rm_work"&lt;br /&gt;to reduce the amount of disk space used.&lt;br /&gt;&lt;br /&gt;I was quite shocked to find that I ran out of disk space the first time I tried to build the development image. I had at least 4GB free, and it used it all up.&lt;br /&gt;&lt;br /&gt;So make sure you have plenty of spare space, and add the "rm_work" bit to your local.conf file.&lt;br /&gt;&lt;br /&gt;My local.conf file now looks like this:&lt;br /&gt;&lt;br /&gt;MACHINE = "x86"&lt;br /&gt;DISTRO = "openmoko"&lt;br /&gt;BUILD_ARCH = "i686"&lt;br /&gt;INHERIT += " devshell"&lt;br /&gt;INHERIT += " rm_work"&lt;br /&gt;SRCDATE_eds-dbus = "now"&lt;br /&gt;TARGET_FPU = ""&lt;br /&gt;&lt;br /&gt;You should now be ready to build the development environment:&lt;br /&gt;&lt;br /&gt;make openmoko-devel-image&lt;br /&gt;&lt;br /&gt;This can take a lot of time. Allow a few hours!&lt;br /&gt;&lt;br /&gt;I then followed the instructions and tried to build qemu next&lt;br /&gt;&lt;br /&gt;make qemu&lt;br /&gt;&lt;br /&gt;I got compilation errors because zlib.h couldn't be found.&lt;br /&gt;&lt;br /&gt;I used Adept Package Manager to install zlib1g-dev which gave me zlib.h in /usr/include&lt;br /&gt;&lt;br /&gt;The compilation got a bit further this time, but then it failed with this error:&lt;br /&gt;&lt;br /&gt;Splash needs 'pngtopnm' and 'ppmtorgb3' - make sure that they're in $PATH.&lt;br /&gt;&lt;br /&gt;I installed the netpbm package to fix that. Then I had problems with lynx. So I installed that too.&lt;br /&gt;&lt;br /&gt;This time when I did "make qemu" it finished, and the emulator window popped up!&lt;br /&gt;Hurrah!&lt;br /&gt;&lt;br /&gt;You can run the emulator by typing "make run-qemu"&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_vtGQoz7cybM/RqKR6bQn-NI/AAAAAAAAAAM/phEoEFTIkQk/s1600-h/qemu0.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_vtGQoz7cybM/RqKR6bQn-NI/AAAAAAAAAAM/phEoEFTIkQk/s320/qemu0.png" alt="" id="BLOGGER_PHOTO_ID_5089790961818007762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pressing Enter moves you through the menu, and pressing space selects something.&lt;br /&gt;&lt;br /&gt;I chose the first option and watched the boot sequence in the emulator window.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_vtGQoz7cybM/RqKUhrQn-PI/AAAAAAAAAAY/mL3TdgTx8wY/s1600-h/qemu1.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_vtGQoz7cybM/RqKUhrQn-PI/AAAAAAAAAAY/mL3TdgTx8wY/s320/qemu1.png" alt="" id="BLOGGER_PHOTO_ID_5089793835151128818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And then I got the OpenMoko GUI...   :-)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_vtGQoz7cybM/RqKVDrQn-QI/AAAAAAAAAAg/QhFCpKJqFsQ/s1600-h/qemu3.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_vtGQoz7cybM/RqKVDrQn-QI/AAAAAAAAAAg/QhFCpKJqFsQ/s320/qemu3.png" alt="" id="BLOGGER_PHOTO_ID_5089794419266681090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's enough for one blog post. I think I'll quit while I'm ahead.&lt;br /&gt;(Apologies for the large images, I'll sort them out later)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2757224534434174151-259234958471811938?l=markb-openmoko.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://markb-openmoko.blogspot.com/feeds/259234958471811938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2757224534434174151&amp;postID=259234958471811938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2757224534434174151/posts/default/259234958471811938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2757224534434174151/posts/default/259234958471811938'/><link rel='alternate' type='text/html' href='http://markb-openmoko.blogspot.com/2007/07/getting-started-with-openmoko.html' title='Getting Started with OpenMoko'/><author><name>Mark</name><uri>http://www.blogger.com/profile/11823767360187853235</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_vtGQoz7cybM/RqKR6bQn-NI/AAAAAAAAAAM/phEoEFTIkQk/s72-c/qemu0.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
