<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>the blog of Chris &#187; qt</title>
	<atom:link href="http://blog.christophersmart.com/tag/qt/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.christophersmart.com</link>
	<description>Fortiter Et Recte</description>
	<lastBuildDate>Wed, 28 Dec 2011 23:39:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The openmoko is sooo Qt</title>
		<link>http://blog.christophersmart.com/2008/10/12/the-openmoko-is-sooo-qt/</link>
		<comments>http://blog.christophersmart.com/2008/10/12/the-openmoko-is-sooo-qt/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 12:53:33 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://blog.christophersmart.com/?p=203</guid>
		<description><![CDATA[Ever since I heard about the Openmoko, a completely open mobile phone, I was really interested. Open hardware, open software, Linux, handy little device that might be useful? Awesome. The latest developer model, the Neo Freerunner GTA02, has been available for a few months now and Jason bought one (which means I get to play [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://christophersmart.com/images/neo-freerunner-sml.png" alt="" align="left" />Ever since I heard about the <a href="http://openmoko.org" target="_blank">Openmoko</a>, a completely open mobile phone, I was really interested. Open hardware, open software, Linux, handy little device that might be useful? Awesome.</p>
<p>The latest developer model, the Neo Freerunner GTA02, has been available for a few months now and Jason bought one (which means I get to play with it). Originally the moko was developed using GTK, but now there are lots of different images for it.</p>
<p>Recently, <a href="http://qtextended.org" target="_blank">Qt Extended</a> (formally Qt Embedded pre Nokia purchase of Trolltech) released an image for the moko based on their 4.4.1 codebase. I thought I&#8217;d check it out and I was pretty impressed!</p>
<p><strong>Note, that if you&#8217;re following this, make sure you get the correct version for your moko. The Freerunner is GTA02, while the original Neo1973 is GTA01.</strong></p>
<p>First I had to <a href="http://qtextended.org/modules/mydownloads/viewcat.php?cid=6" target="_blank">download</a> the <a href="http://qtextended.org/modules/mydownloads/visit.php?lid=91">kernel image</a> and the <a href="http://qtextended.org/modules/mydownloads/visit.php?lid=86">root image</a> (for the GTA02, of course).<br />
<span id="more-203"></span><br />
The wiki has a good article on how to <a href="http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner" target="_blank">flash the moko</a>. Essentially we use a program called <a href="http://wiki.openmoko.org/wiki/Dfu-util" target="_blank">dfu-util</a>, which I had to run under a 32bit chroot as it seems to do weird things in 64bit.</p>
<p>From here, it&#8217;s pretty simple!</p>
<p><strong>Step 1</strong><br />
Boot your moko to the uBoot menu, in preparation for flashing. To do this, make sure the moko is off, then hold down the option button on the top left while pressing the power button. You should see the uBoot menu.<br />
<a href="http://christophersmart.com/images/openmoko-uboot-lrg.jpg" target="_blank"><img src="http://christophersmart.com/images/openmoko-uboot-sml.jpg" alt="" /></a></p>
<p><strong>Step 2</strong><br />
Plug the moko into the computer via the provided USB cable, in preparation to flash the unit.</p>
<p>Run the flashing utility to make sure you can see the device<br />
<code><span style="color: green;">./dfu-util -l<br />
Found Runtime: [0x1d50:0x5119] devnum=10, cfg=0, intf=2, alt=0, name="USB Device Firmware Upgrade"</span></code></p>
<p>If you can see your device, then you&#8217;re ready to begin! Flash the kernel and then flash the root system<br />
<code><span style="color: green;">./dfu-util -a kernel -R -D Desktop/uImage-gta02-g291a9d50_mwester-stable.bin &amp;&amp; ./dfu-util -a rootfs -R -D qtextended-4.4.1-gta02-rootfs-release-10022309.jffs2<br />
</span></code></p>
<p>Wait 15 min while the USB 1.1 interface transfers the files (slowly) and the unit is flashed.</p>
<p><strong>Step 3</strong><br />
Boot the unit <img src='http://blog.christophersmart.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The default interface is a dark colour, but Jason wanted something lighter. We changed the theme to one called &#8216;Smart&#8217; &#8211; I assure you I had no influence over that decision!</p>
<p>Time for some screenshots..</p>
<table>
<tbody>
<tr>
<td><a href="http://christophersmart.com/images/openmoko-frontscreen-lrg.jpg" target="_blank"><img src="http://christophersmart.com/images/openmoko-frontscreen-sml.jpg" alt="" /></a></td>
<td><a href="http://christophersmart.com/images/openmoko-mainmenu-lrg.jpg" target="_blank"><img src="http://christophersmart.com/images/openmoko-mainmenu-sml.jpg" alt="" /></a></td>
</tr>
<tr>
<td>The front screen after boot</td>
<td>The main menu</td>
</tr>
<tr>
<td><a href="http://christophersmart.com/images/openmoko-settings-lrg.jpg" target="_blank"><img src="http://christophersmart.com/images/openmoko-settings-sml.jpg" alt="" /></a></td>
<td><a href="http://christophersmart.com/images/openmoko-call-lrg.jpg" target="_blank"><img src="http://christophersmart.com/images/openmoko-call-sml.jpg" alt="" /></a></td>
</tr>
<tr>
<td>The settings menu</td>
<td>Making a call</td>
</tr>
</tbody>
</table>
<p>There&#8217;s a handy little application called &#8216;screenshot&#8217;, which I used to take these</p>
<table>
<tbody>
<tr>
<td><a href="http://christophersmart.com/images/openmoko-frontscreen-lrg.png" target="_blank"><img src="http://christophersmart.com/images/openmoko-frontscreen-sml.png" alt="" /></a></td>
<td><a href="http://christophersmart.com/images/openmoko-mainmenu-lrg.png" target="_blank"><img src="http://christophersmart.com/images/openmoko-mainmenu-sml.png" alt="" /></a></td>
<td><a href="http://christophersmart.com/images/openmoko-apps-lrg.png" target="_blank"><img src="http://christophersmart.com/images/openmoko-apps-sml.png" alt="" /></a></td>
</tr>
<tr>
<td>The front screen again</td>
<td>The main menu</td>
<td>The applications menu, where I&#8217;m scrolling it with my finger like on an iPhone..</td>
</tr>
</tbody>
</table>
<p>The phone is a fantastic toy for the hacker but it&#8217;s definitely not ready for the consumer market, just yet. If you want a phone that&#8217;s fun to play with and are happy to hack around, then the moko is a great option. Apart from the stability of the software, the only main drawback is poor battery life (lasting about a day), but I&#8217;m sure this will improve with newer kernels.</p>
<p>Now, if only we could get Arjan&#8217;s <a href="http://lwn.net/Articles/299483/" target="blank">5 second boot</a> working on the moko..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christophersmart.com/2008/10/12/the-openmoko-is-sooo-qt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

