<?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>Executing Gummiworms</title>
	<atom:link href="http://russelldavis.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://russelldavis.org</link>
	<description>The trials and tribulations of a grumpy curmudgeonly old git</description>
	<lastBuildDate>Sat, 04 Feb 2012 21:48:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Building an Algol68 interpreter for the Raspberry Pi or How to be a world champion procrastinator</title>
		<link>http://russelldavis.org/2012/02/04/building-an-algol68-interpreter-for-the-raspberry-pi-or-how-to-be-a-world-champion-procrastinator/</link>
		<comments>http://russelldavis.org/2012/02/04/building-an-algol68-interpreter-for-the-raspberry-pi-or-how-to-be-a-world-champion-procrastinator/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 21:48:18 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[algol68]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[interpreter]]></category>
		<category><![CDATA[raspberry pi]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=1463</guid>
		<description><![CDATA[I'm got disgusted with Virtualbox when trying to get a USB webcam working with it so rather than building a new linux system to use for developing some object indentification from a webcam software i decided to see if there were any nice open source compilers or interpreters for things like Algol, Snobol4 etc. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/14/the-raspberry-pi-part-one/rp-o_qrcode/" rel="attachment wp-att-702"><img class="alignleft size-medium wp-image-702" title="rp.o_qrcode" src="http://russelldavis.org/wp-content/uploads/2012/01/rp.o_qrcode-300x300.png" alt="" width="300" height="300" /></a><br />
I'm got disgusted with Virtualbox when trying to get a USB webcam working with it so rather than building a new linux system to use for developing some object indentification from a webcam software i decided to see if there were any nice open source compilers or interpreters for things like Algol, Snobol4 etc.</p>
<p>I found an Algol68 interpreter on sourceforge that seems to be still maintained (last update in 2011 and a related piece of software updated this year) <a href="http://algol68.sourceforge.net/" target="_blank">http://algol68.sourceforge.net/</a> so i thought i'd give it a go using an ARM fedora rootfs. I ran the configure script and saw that it would like gsl &amp; ncurses so I added the runtimes and headers using yum inside scratchbox2 and then reran the configure script  and then make and after adding the usual "-fsigned-char" it built with non of the usual X86 C to ARM C warnings.</p>
<p><span id="more-1463"></span></p>
<p>I ran a couple of test programs from<a href="http://rosettacode.org" target="_blank"> http://rosettacode.org</a> and they all worked and although it did fail on one test when I ran the test suite for the interpreter I think that was just because it was so slow when running inside nested emulators and there was an error right where the test suite finishes but I don't think that is too serious when just running to see if there are any showstopping problems, which there don't seem to be. I make no guarantees that the binary will actually work for you on real Raspberry Pi hardware or using an other distro other than ARM Fedora14 but it seems to be ok using qemu, a fedora arm rootfs and a bit of finger crossing.</p>
<pre><code> [raspberry@localhost algol68g-2.3.5]$ sb2 make check make check-TESTS make[1]: Entering directory `/home/raspberry/build/algol68g-2.3.5' [1] Peano curve using Van Wijngaarden's algorithm</code></pre>
<pre>. ........ ........ ......... ......... .........
 . . . . . . . . . . .
 ..... .... ..... ..... ..... ..... .... .....
 . . . . .
 ..... .... ..... ..... . .... . .... .....
 . . . . . . . . . . . . .
 . ........ ........ . ..... ..... . .........
 . . .
 ..... ............ ..... ..... ..... . .........
 . . . . . . . . . . .
 ..... .... ..... ..... . .... . .... .....
 . . . . . . .
 . ..... . . .... . ..... ..... .... .....
 . . . . . . . . . . . . .
 ..... .... ..... ..... ..... ......... .........
 .
 .
 ..... .... ..... ..... ..... ......... .........
 . . . . . . . . . . . . .
 . ..... . . .... . ..... ..... .... .....
 . . . . . . .
 ..... .... ..... ..... . .... . .... .....
 . . . . . . . . . . .
 ..... ............ ..... ..... ..... . .........
 . . .
 . ........ ........ . ..... ..... . .........
 . . . . . . . . . . . . .
 ..... .... ..... ..... . .... . .... .....
 . . . . .
 ..... .... ..... ..... ..... ..... .... .....
 . . . . . . . . . . .
 . ........ ........ ......... ......... .........</pre>
<pre>PASS: check-01.a68
 [2] Mersenne primes by the Lucas-Lehmer test</pre>
<pre>M_3 has 1 digits
 M_5 has 2 digits
 M_7 has 3 digits
 M_13 has 4 digits
 M_17 has 6 digits
 M_19 has 6 digits
 M_31 has 10 digits
 M_61 has 19 digits
 M_89 has 27 digits
 M_107 has 33 digits
 M_127 has 39 digits
 28 DO s := (s * s - 2) MOD cand
 1
 a68g: runtime error: 1: time limit exceeded (detected in VOID loop-clause
 starting at "FROM" in line 27).
 FAIL: check-02.a68
 [3] Miniature LISP interpreter
 &gt;(1 2 3 4)
 (1 2 3 4)
 &gt;(append (1 2) (3 4))
 (1 2 3 4)
 &gt;(+ 1 (* 2 3))
 7
 &gt;(quit)
 PASS: check-03.a68
 [4] Recursive back-tracking algorithm
 There are 98411 ways to split 1000 cents in 5 10 20 50 100 200 cent coins
 PASS: check-04.a68
 [5] Building a decision-tree
 Please name an object
 'rectangle'
 I will guess the object you are thinking of
 rectangle?
 'no'
 What was the object?
 'square'
 Give a question to distinguish 'square'
 'does it have four sides of equal length'
 Does 'does it have four sides of equal length' apply to 'square'?
 'yes'
 Another round?
 'yes'
 I will guess the object you are thinking of
 does it have four sides of equal length?
 'no'
 rectangle?
 'no'
 What was the object?
 'cube'
 Give a question to distinguish 'cube'
 'does it have three dimensions'
 Does 'does it have three dimensions' apply to 'cube'?
 'yes'
 Another round?
 'no'
 PASS: check-05.a68
 (6) Exact determinant of Hilbert matrices using fractions
 Rank 1, determinant 1 / 1, ok
 Rank 2, determinant 1 / 12, ok
 Rank 3, determinant 1 / 2160, ok
 Rank 4, determinant 1 / 6048000, ok
 Rank 5, determinant 1 / 266716800000, ok
 Rank 6, determinant 1 / 186313420339200000, ok
 Rank 7, determinant 1 / 2067909047925770649600000, ok
 Rank 8, determinant 1 / 365356847125734485878112256000000, ok
 Rank 9, determinant 1 / 1028781784378569697887052962909388800000000, ok
 Rank 10, determinant 1 / 46206893947914691316295628839036278726983680000000000, ok
 PASS: check-06.a68
 [7] Hamming numbers
 1
 2
 3
 4
 5
 6
 8
 9
 10
 12
 15
 16
 18
 20
 24
 25
 27
 30
 32
 36
 2125764000
 PASS: check-07.a68
 [8] Ackermann function
 A(1, 1) = 3
 A(2, 1) = 5
 A(2, 2) = 7
 A(3, 1) = 13
 A(3, 2) = 29
 A(3, 3) = 61
 PASS: check-08.a68
 [9] Synthetic benchmark after Curnow &amp; Wichmann
 1.0 MWhets
 PASS: check-09.a68
 =========================================================
 1 of 9 tests failed
 Please report to Marcel van der Veer &lt;algol68g@xs4all.nl&gt;
 =========================================================
 make[1]: *** [check-TESTS] Error 1
 make[1]: Leaving directory `/home/raspberry/build/algol68g-2.3.5'
 make: *** [check-am] Error 2
 [raspberry@localhost algol68g-2.3.5]$</pre>
<p>You can find the ARM binary <a href="http://russelldavis.org/RaspberryPi/a68g">here</a> and the command used to build it was</p>
<pre>sb2 CFLAGS="-fsigned-char" ./configure &amp;&amp; make</pre>
<p>I think you'll agree this has to be worth at least a Bronze medal in the Olympic procrastination event.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F02%2F04%2Fbuilding-an-algol68-interpreter-for-the-raspberry-pi-or-how-to-be-a-world-champion-procrastinator%2F&amp;title=Building%20an%20Algol68%20interpreter%20for%20the%20Raspberry%20Pi%20or%20How%20to%20be%20a%20world%20champion%20procrastinator" id="wpa2a_4"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/02/04/building-an-algol68-interpreter-for-the-raspberry-pi-or-how-to-be-a-world-champion-procrastinator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Additional Raspberry Pi VM Information</title>
		<link>http://russelldavis.org/2012/01/31/additional-raspberry-pi-vm-information/</link>
		<comments>http://russelldavis.org/2012/01/31/additional-raspberry-pi-vm-information/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:00:00 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=1441</guid>
		<description><![CDATA[I was informed yesterday that there seems to be a problem following my VM setup  instructions when using Ubuntu 11.10. I spent about 5 hours and 3 Ubuntu 11.10 installs checking this and it certainly seems to be the case that without an awful lot of fiddiling and complications that are just not worth the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/rpivb/" rel="attachment wp-att-942"><img class="alignleft size-medium wp-image-942" title="rpi+vb" src="http://russelldavis.org/wp-content/uploads/2012/01/rpi+vb-300x187.jpg" alt="" width="300" height="187" /></a>I was informed yesterday that there seems to be a problem following my VM setup  instructions when using Ubuntu 11.10. I spent about 5 hours and 3 Ubuntu 11.10 installs checking this and it certainly seems to be the case that without an awful lot of fiddiling and complications that are just not worth the bother. So for the time being the recommended guest os's for building your own VM are Ubuntu 10.04LTS, Fedora16 or Debian (I haven't built the VM on Debian for a long time so i'm not sure exactly which version to recommend but I can't imagine that Debian will be much of a problem with any <em>recent</em> versions. If anyone has a problem with Debian please let me know.)</p>
<p>Once again if you are using my instructions to build the Raspberry Pi development VM (or a VM for any development using Scratchbox2 and/or qemu) i'd recommend (in no particular order) currently using</p>
<ul>
<li>Ubuntu 10.04LTS</li>
<li>Fedora</li>
<li>Debian</li>
</ul>
<p>&nbsp;</p>
<p>Now a tip when porting x86 code to ARM using gcc. If you get a lot of warnings when trying to build software originally written in C for x86 for ARM especially things like <em>"comparison is always true/false due to limited range of data type"</em>  the chances are that you aree being bitten by the fact that x86 compilers usually default to signed chars if not specified by the variable declaration while ARM compilers usually default to unsigned chars. If you are using gcc (which you are if you are using my VM or your own installation of Scratchbox2 then the <em>fix</em> is to use the</p>
<pre>-fsigned-char</pre>
<p>gcc option. e.g.</p>
<pre>gcc hello.c -o hello -fsigned-char</pre>
<p>Another thing that might prove useful when you have access to the real Raspberry Pi hardware and the standardized distro is that by default the codesourcery toolchain included in the VM by default builds for generic ARMv5. On the whole this really shouldn't matter as ARMv6 can run ARMv5 instructions but there maybe times when you are doing something that needs to use an ARMv6 specific instruction or you are including assembler in the C code or something else where a generic ARM version binary just won't cut it. In that case using the gcc option</p>
<pre>-mcpu=arm1176jzf-s</pre>
<p>which specifies that gcc emits the correct instructions for the specific ARM core that the Raspberry Pi uses might be helpful.</p>
<p>e.g.</p>
<pre>gcc -mcpu=arm1176jzf-s hello.c -o hello</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F31%2Fadditional-raspberry-pi-vm-information%2F&amp;title=Additional%20Raspberry%20Pi%20VM%20Information" id="wpa2a_8"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/31/additional-raspberry-pi-vm-information/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hunter Davis has open sourced QuickGrapher</title>
		<link>http://russelldavis.org/2012/01/29/hunter-davis-has-open-sourced-quickgrapher/</link>
		<comments>http://russelldavis.org/2012/01/29/hunter-davis-has-open-sourced-quickgrapher/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 15:53:22 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[quickgrapher]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=1438</guid>
		<description><![CDATA[Hunter Davis, no relation (AFAWK) has made QuickGrapher, an HTML5 Equation Solver &#38; Grapher Open Source. He's placed the source on github and in less than a week someone has ported it to Android. I messed around with the beta about a year ago and was really impressed. Hunter has also Open Sourced another of [...]]]></description>
			<content:encoded><![CDATA[<p>Hunter Davis, no relation (AFAWK) has made QuickGrapher, an HTML5 Equation Solver &amp; Grapher Open Source. He's placed the source on github and in less than a week someone has ported it to Android. I messed around with the beta about a year ago and was really impressed.</p>
<p>Hunter has also Open Sourced another of his projects as well. Source Tree Visualizer which basically turns your source code tree into a real tree  in a pretty landscape <img src='http://russelldavis.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can find Hunter's post about QuickGrapher <a href="http://www.hunterdavis.com/2012/01/23/quickgrapher/" target="_blank">here</a></p>
<p>and his post on SOurce Tree Visualizer <a href="http://www.hunterdavis.com/2012/01/23/source-tree-visualizer-now-open-source/" target="_blank">here</a></p>
<p>Even if these two things don't appeal to you <a href="http://hunterdavis.com" target="_blank">Hunter's blog</a> is always a pretty good read.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F29%2Fhunter-davis-has-open-sourced-quickgrapher%2F&amp;title=Hunter%20Davis%20has%20open%20sourced%20QuickGrapher" id="wpa2a_12"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/29/hunter-davis-has-open-sourced-quickgrapher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a VM for Raspberry Pi development using Virtualbox, Scratchbox2 &amp; qemu (Part 3)</title>
		<link>http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/</link>
		<comments>http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:28:23 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=1209</guid>
		<description><![CDATA[I don't claim that the following is the best way to install scratchbox2, qemu and a seed rootfs and configure them to produce binaries that will run on the real Raspberry Pi hardware. I don't even claim it is the correct way but it works for me and I can almost do it in my [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/rpivb/" rel="attachment wp-att-942"><img class="alignleft size-medium wp-image-942" title="rpi+vb" src="http://russelldavis.org/wp-content/uploads/2012/01/rpi+vb-300x187.jpg" alt="" width="300" height="187" /></a>I don't claim that the following is the best way to install scratchbox2, qemu and a seed rootfs and configure them to produce binaries that will run on the real Raspberry Pi hardware. I don't even claim it is the correct way but it works for me and I can almost do it in my sleep by now. The way I do things will probably seem a bit inefficient and in some cases just plain wrong but it's how I work and hopefully they are easy to follow and adapt to your style of working. I also make no guarantees that it will actually work for you at all. Hopefully it will but if it doesn't sorry but oh well. I made the decision when I first started building the development vm that I would place all the required software under the users home directory rather than installing it globally as</p>
<ol>
<li>Installing in subdirectories in the user's home directory makes it easy  to keep things organised.</li>
<li>It makes things almost idiotproof when you want to upgrade the ARM toolchain, scratchbox2, qemu or change the seed rootfs etc. as it's pretty much just rename the old directory, create a new directory and if neccessary rerun sb2-init.</li>
</ol>
<div><span id="more-1209"></span></div>
<ol>
<li>Open a terminal</li>
<li>If you haven't already got git &amp; wget installed. Install them now. On Ubuntu or Debian the command to install them is<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a1-2/" rel="attachment wp-att-1368"><img class="aligncenter size-full wp-image-1368" title="a1" src="http://russelldavis.org/wp-content/uploads/2012/01/a15.jpg" alt="" width="276" height="21" /></a></li>
<li>Create a directory for temporary use. I personally call it hold and change to it.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a2-2/" rel="attachment wp-att-1310"><img class="aligncenter size-full wp-image-1310" title="a2" src="http://russelldavis.org/wp-content/uploads/2012/01/a21.jpg" alt="" width="100" height="24" /></a><a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a3/" rel="attachment wp-att-1309"><img class="aligncenter size-full wp-image-1309" title="a3" src="http://russelldavis.org/wp-content/uploads/2012/01/a3.jpg" alt="" width="75" height="23" /></a></li>
<li>Download scratchbox2 and qemu from their respective git repositories<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a4/" rel="attachment wp-att-1311"><img class="aligncenter size-full wp-image-1311" title="a4" src="http://russelldavis.org/wp-content/uploads/2012/01/a4.jpg" alt="" width="460" height="22" /></a> <a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a5/" rel="attachment wp-att-1312"><img class="aligncenter size-full wp-image-1312" title="a5" src="http://russelldavis.org/wp-content/uploads/2012/01/a5.jpg" alt="" width="309" height="23" /></a></li>
<li>Download the codesourcery ARM toolchain. I have been using the 2011.03 version successfully and I believe it was the last released version before codesourcery was bought by Mentor Graphics who seem to have closed sourced the more recent releases of the toolchain.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a7-2/" rel="attachment wp-att-1318"><img class="aligncenter size-full wp-image-1318" title="a7" src="http://russelldavis.org/wp-content/uploads/2012/01/a71.jpg" alt="" width="798" height="50" /></a></li>
<li>Then download an ARM rootfs. Eventually we will be able to use the official Raspberry Pi standard rootfs but until that time any ARM based one will do. As I believe that the official Raspberry Pi distribution is going to be Fedora we'll download a Fedora one. In this case we use one I found on the fedora-arm mailing list. <a href="http://lists.fedoraproject.org/pipermail/arm/2011-December/002386.html" target="_blank">http://lists.fedoraproject.org/pipermail/arm/2011-December/002386.html</a> <a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a8/" rel="attachment wp-att-1319"><img class="aligncenter size-full wp-image-1319" title="a8" src="http://russelldavis.org/wp-content/uploads/2012/01/a8.jpg" alt="" width="524" height="23" /></a></li>
<li>If you now do a directory listing you will have a terminal window that looks this<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/vb40/" rel="attachment wp-att-1262"><img class="aligncenter size-medium wp-image-1262" title="vb40" src="http://russelldavis.org/wp-content/uploads/2012/01/vb40-300x243.jpg" alt="" width="300" height="243" /></a></li>
<li>Now create some more directories.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a9/" rel="attachment wp-att-1320"><img class="aligncenter size-full wp-image-1320" title="a9" src="http://russelldavis.org/wp-content/uploads/2012/01/a9.jpg" alt="" width="387" height="71" /></a></li>
<li>Untar the rootfs<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a10/" rel="attachment wp-att-1321"><img class="aligncenter size-full wp-image-1321" title="a10" src="http://russelldavis.org/wp-content/uploads/2012/01/a10.jpg" alt="" width="581" height="26" /></a> The reason we extract the seed rootfs using sudo is that there are some special files that a normal user cannot create when untarring a tarred rootfs. Lots of filenames will scroll before your eyes as the seed rootfs is untarred into the rootfs subdirectory. This will take quite a while so it might be a good time to go and get a drink or take a bathroom break.</li>
<li>Extract the codesourcery ARM toolchain into the raspberry_pi_development directory.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a11/" rel="attachment wp-att-1332"><img class="aligncenter size-full wp-image-1332" title="a11" src="http://russelldavis.org/wp-content/uploads/2012/01/a11.jpg" alt="" width="491" height="22" /></a></li>
<li>Do a directory listing of the raspberry_pi_development directory and it will look like the image below.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/vb41/" rel="attachment wp-att-1291"><img class="aligncenter size-medium wp-image-1291" title="vb41" src="http://russelldavis.org/wp-content/uploads/2012/01/vb41-300x243.jpg" alt="" width="300" height="243" /></a></li>
<li>If you haven't already got the SDL and ncurses libaries and  headers installed. Install them now. In Ubuntu and Debian<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a12/" rel="attachment wp-att-1333"><img class="aligncenter size-full wp-image-1333" title="a12" src="http://russelldavis.org/wp-content/uploads/2012/01/a12.jpg" alt="" width="503" height="25" /></a></li>
<li>You should also install autoconf, fakeroot and realpath. Fedora users will need to find their own copy of the realpath source as it is not included in the distribution. I found a copy that works on <a href="http://stackoverflow.com/questions/284662/how-do-you-normalize-a-file-path-in-bash" target="_blank">stackoverflow</a>. In Ubuntu and Debian<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a13/" rel="attachment wp-att-1334"><img class="aligncenter size-full wp-image-1334" title="a13" src="http://russelldavis.org/wp-content/uploads/2012/01/a13.jpg" alt="" width="393" height="23" /></a> change to scratchbox2 directory and run the autogen.sh script.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a14/" rel="attachment wp-att-1335"><img class="aligncenter size-full wp-image-1335" title="a14" src="http://russelldavis.org/wp-content/uploads/2012/01/a14.jpg" alt="" width="123" height="21" /></a><a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a16/" rel="attachment wp-att-1336"><img class="aligncenter size-full wp-image-1336" title="a16" src="http://russelldavis.org/wp-content/uploads/2012/01/a16.jpg" alt="" width="112" height="25" /></a></li>
<li>then run make<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a17/" rel="attachment wp-att-1337"><img class="aligncenter size-full wp-image-1337" title="a17" src="http://russelldavis.org/wp-content/uploads/2012/01/a17.jpg" alt="" width="508" height="27" /></a>You can ignore all the warnings that will scroll passed and when it finishes the screen will look something like the one below. The interesting lines are the final 4 or 5 which should basically say the same thing that the screenshot does.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/vb44/" rel="attachment wp-att-1298"><img class="aligncenter size-medium wp-image-1298" title="vb44" src="http://russelldavis.org/wp-content/uploads/2012/01/vb44-300x234.jpg" alt="" width="300" height="234" /></a></li>
<li>Scratchbox2 is now installed and we now need to build qemu so cd to the qemu directory<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a18/" rel="attachment wp-att-1338"><img class="aligncenter size-full wp-image-1338" title="a18" src="http://russelldavis.org/wp-content/uploads/2012/01/a18.jpg" alt="" width="98" height="23" /></a></li>
<li>To use scratchbox2 you only need to build qemu usermode for ARM, however, I find it useful to also build the ARM system emulation as well (I use the qemu full system emulation for some little hacks and tricks that are beyond the scope of this howto but I will write them up at a later date along with how to use scratchbox2 with real hardware once I have the process down pat &amp; actually have a real Raspberry Pi to test on).<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a19/" rel="attachment wp-att-1339"><img class="aligncenter  wp-image-1339" title="a19" src="http://russelldavis.org/wp-content/uploads/2012/01/a19.jpg" alt="" width="629" height="18" /></a><a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/a20/" rel="attachment wp-att-1340"><img class="aligncenter size-full wp-image-1340" title="a20" src="http://russelldavis.org/wp-content/uploads/2012/01/a20.jpg" alt="" width="175" height="20" /></a></li>
<li>Now that scratchbox2, the toolchain, qemu and the seed rootfs are installed we just have a few more steps before we can actually use the VM for compiling software. First of all we need add the scratchbox2 and qemu bin directories to our PATH environment variable. You can do this as a single export statement but so it's clear i'll do it as two.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v1/" rel="attachment wp-att-1373"><img class="aligncenter size-full wp-image-1373" title="v1" src="http://russelldavis.org/wp-content/uploads/2012/01/v1.jpg" alt="" width="523" height="21" /></a> <a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v2/" rel="attachment wp-att-1374"><img class="aligncenter size-full wp-image-1374" title="v2" src="http://russelldavis.org/wp-content/uploads/2012/01/v2.jpg" alt="" width="470" height="18" /></a> You will also want to add the previous two lines to your .bashrc file. Start your favourite editor and open the .bashrc file and add them to the bottom and in the case of nano save the file using ^x y &lt;enter&gt;. If you are using vi the it would be &lt;esc&gt; :wq<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v3/" rel="attachment wp-att-1375"><img class="aligncenter size-medium wp-image-1375" title="v3" src="http://russelldavis.org/wp-content/uploads/2012/01/v3-300x231.jpg" alt="" width="300" height="231" /></a></li>
<li>Now that you have added scratchbox2 and qemu to your PATH (and in .bashrc as well) check that it works.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v4/" rel="attachment wp-att-1384"><img class="aligncenter size-medium wp-image-1384" title="v4" src="http://russelldavis.org/wp-content/uploads/2012/01/v4-300x231.jpg" alt="" width="300" height="231" /></a>The version numbers returned might be different but that doesn't matter it's the fact that you actually got the version numbers that confirms that the PATH environment variable is set correctly.</li>
<li>change to the rootfs directory<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v5/" rel="attachment wp-att-1385"><img class="aligncenter size-full wp-image-1385" title="v5" src="http://russelldavis.org/wp-content/uploads/2012/01/v5.jpg" alt="" width="329" height="19" /></a></li>
<li>before we can use the seed rootfs inside scratchbox2 we need to change the owner, group and permissions so that it is read/writable by our non-root account. When I installed Ubuntu into the VM I was asked to make a default user. In my case I called it raspberry and gave it a password of password. You might have called your default user something different replace raspberry in the following lines with your user name.<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v6/" rel="attachment wp-att-1386"><img class="aligncenter size-full wp-image-1386" title="v6" src="http://russelldavis.org/wp-content/uploads/2012/01/v6.jpg" alt="" width="217" height="58" /></a></li>
<li>There is just one more thing to do before we can start using scratchbox2. We need to initialize it. While inside the the seed rootfs directory. In this case rootfs_f14<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v7/" rel="attachment wp-att-1391"><img class="aligncenter  wp-image-1391" title="v7" src="http://russelldavis.org/wp-content/uploads/2012/01/v7.jpg" alt="" width="599" height="20" /></a>sb2-init actually has a lot of options you can use but in most cases they just complicate matters and for our needs the above command line is good enough. What it actually means is configure scratchbox2 to create a target called raspberry and use the toolchain binaries that we have installed in
<pre>$HOME/raspberry_pi_development/arm-2011.03/bin</pre>
<p>As you get more familar with scratchbox2 you might want to experiment with things such as having multiple targets with a single scratchbox2 installation etc.</li>
<li>After a short wait your screen will look something like this<a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/v8/" rel="attachment wp-att-1398"><img class="aligncenter size-medium wp-image-1398" title="v8" src="http://russelldavis.org/wp-content/uploads/2012/01/v8-300x242.jpg" alt="" width="300" height="242" /></a></li>
<li>You are now ready to start using scratchbox2 to compile software. However, I do a few more things just to make life easier that you might also want to do. I create a directory called $HOME/build, install an ssh server and apache2 and put a symlink of the build directory in the apache2 directory tree. This allows me to keep all my ARM binaries an source seperate from anything else and lets me get them out of the VM easily although I could also use shared folders but I prefer using a webserver as then any machine on my network can access them. I got a bit bored doing the screenshots and cutting out the relevant parts so here is a video of me doing this final bit of setup<p><a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/"><em>Click here to view the embedded video.</em></a></p></li>
</ol>
<p>If you have got this far you are now ready to start building software for the Raspberry Pi. As a test I create a C hello world program and check that it compiles and runs both in the host os and also inside scratchbox2 and if that works then I check that the seed rootfs's package manager works. If both do then i'll start using the vm. Again because I am bored with doing screenshots here is a short video of that process.<p><a href="http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/"><em>Click here to view the embedded video.</em></a></p></p>
<p>When and if I get time I might do some more blog posts about some advanced scratchbox2 and qemu usage, tips and tricks but for this post i say</p>
<h1 style="text-align: center;"><strong>THE END</strong></h1>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F28%2Fsetting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3%2F&amp;title=Setting%20up%20a%20VM%20for%20Raspberry%20Pi%20development%20using%20Virtualbox%2C%20Scratchbox2%20%26%23038%3B%20qemu%20%28Part%203%29" id="wpa2a_16"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/28/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-3/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Setting up a VM for Raspberry Pi development using Virtualbox, Scratchbox2 &amp; qemu (Part 2)</title>
		<link>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/</link>
		<comments>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 02:25:41 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=1094</guid>
		<description><![CDATA[If you decided to use a Debian or Ubuntu based distro then when you booted the Raspberry Pi Development VM that you just created you will have probably noticed an error message flash on the screen saying  piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr &#160; and you'll want to fix [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/rpivb/" rel="attachment wp-att-942"><img class="alignleft size-medium wp-image-942" title="rpi+vb" src="http://russelldavis.org/wp-content/uploads/2012/01/rpi+vb-300x187.jpg" alt="" width="300" height="187" /></a>If you decided to use a Debian or Ubuntu based distro then when you booted the Raspberry Pi Development VM that you just created you will have probably noticed an error message flash on the screen saying</p>
<pre> piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr</pre>
<p>&nbsp;</p>
<p>and you'll want to fix that before doing anything else. The Fedora16 VM doesn't produce this error so Fedora users can skip straight to the guest addition installation instructions. I wrote a <a href="http://russelldavis.org/2011/09/11/virtualbox-and-upgrade-bios-or-force_addr-error/" target="_blank">short post about this error last year</a> but to save you having to go there to read that post the fix [Credit for that fix goes to http://finster.co.uk &amp; Karl Foley] is:</p>
<ul>
<li>Start a terminal</li>
<li><strong>sudo vi /etc/modprobe.d/blacklist.conf</strong></li>
<li>Add the line <strong>blacklist i2c_piix4</strong> to the end of the file and save</li>
<li><strong><strong>sudo update-initramfs -u -k all</strong></strong></li>
<li><strong><strong>sudo reboot</strong></strong></li>
</ul>
<p><span id="more-1094"></span>There are just a couple of things you need to do before installing guest additions. No matter which distro you have chosen as your guest os for your Virtual Machine.</p>
<ol>
<li>Use your distributions update manager to install any updates released since the installation iso was created.</li>
<li>install (if they haven't already been installed) gcc, kernel headers and other essential tools and utilities that compiling C programs require for your distribution. In Debian or Ubuntu  you would open a terminal and type
<pre>sudo apt-get install build-essential</pre>
<p>Fedora uses a program called yum instead of apt so for Fedora the command would be</p>
<pre>sudo yum install gcc kernel-headers</pre>
<p>[sudo allows you to run a command as root without actually knowing the root password if you have been authorized to do so. In Debian and Ubuntu the user you created at installation has already been authorized. in Fedora and other distributions this might not be the case so you'll have to lookup how to do this in the distributions documentation or on google or bing or your favourite search engine.]</li>
</ol>
<p>When that has completed you should have a screen looking vaguely similar to the one below.<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb20/" rel="attachment wp-att-1169"><img class="aligncenter size-medium wp-image-1169" title="vb20" src="http://russelldavis.org/wp-content/uploads/2012/01/vb20-300x248.jpg" alt="" width="300" height="248" /></a><br />
Click in the menu item labeled Devices<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb22/" rel="attachment wp-att-1174"><img class="aligncenter size-medium wp-image-1174" title="vb22" src="http://russelldavis.org/wp-content/uploads/2012/01/vb22-300x248.jpg" alt="" width="300" height="248" /></a><br />
Select the Install Guest Additions menu entry<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb23/" rel="attachment wp-att-1175"><img class="aligncenter size-medium wp-image-1175" title="vb23" src="http://russelldavis.org/wp-content/uploads/2012/01/vb23-270x300.jpg" alt="" width="270" height="300" /></a><br />
After a few seconds a CD icon will appear on your desktop and a dialog asking if you want to autorun the CD will popup<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb25/" rel="attachment wp-att-1180"><img class="aligncenter size-medium wp-image-1180" title="vb25" src="http://russelldavis.org/wp-content/uploads/2012/01/vb25-300x248.jpg" alt="" width="300" height="248" /></a><br />
Click the OK button and a new dialog will open<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb26/" rel="attachment wp-att-1181"><img class="aligncenter size-medium wp-image-1181" title="vb26" src="http://russelldavis.org/wp-content/uploads/2012/01/vb26-300x248.jpg" alt="" width="300" height="248" /></a>A final dialog will popup asking you to enter your password<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb28/" rel="attachment wp-att-1186"><img class="aligncenter size-medium wp-image-1186" title="vb28" src="http://russelldavis.org/wp-content/uploads/2012/01/vb28-300x248.jpg" alt="" width="300" height="248" /></a><br />
Enter your password and click the Authenticate button and after a few minutes you have a screen that looks similar (exact on Ubuntu, vaguely the same on Debian and Fedora and other distributions) to the following screenshot<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb30/" rel="attachment wp-att-1193"><img class="aligncenter size-medium wp-image-1193" title="vb30" src="http://russelldavis.org/wp-content/uploads/2012/01/vb30-300x248.jpg" alt="" width="300" height="248" /></a><br />
Press enter to close the terminal. Right click the CD icon on the desktop and click eject<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/vb31jpg/" rel="attachment wp-att-1194"><img class="aligncenter size-medium wp-image-1194" title="vb31,jpg" src="http://russelldavis.org/wp-content/uploads/2012/01/vb31jpg-300x248.jpg" alt="" width="300" height="248" /></a>then reboot your Virtual Machine.</p>
<p>If everything went to plan then you'll now have a working VM with the ability to cut &amp; paste between it and your host operating system, USB support, better graphics support (larger screen resolutions and 3d/2d acceleration...), shared folders between the VM and the host os and a few other bits and bobs. It is also now I do things like disabling the screen saver in the VM and changing the desktop and gdm wallpaper/splash screens but as they don't affect the purpose of the VM I won't document how to do that but will leave that for the user to discover how to do it.</p>
<p>&nbsp;</p>
<p>This post was going to continue to the completion of the VM with Scratchbox2, qemu and a seed rootfs installed and configured but this post has gotten rather long so actually stop this post here and complete everything in a following post.</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F27%2Fsetting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2%2F&amp;title=Setting%20up%20a%20VM%20for%20Raspberry%20Pi%20development%20using%20Virtualbox%2C%20Scratchbox2%20%26%23038%3B%20qemu%20%28Part%202%29" id="wpa2a_20"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a VM for Raspberry Pi development using Virtualbox, Scratchbox2 &amp; qemu (Part 1)</title>
		<link>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/</link>
		<comments>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 23:02:36 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=940</guid>
		<description><![CDATA[Last week I released version 0.2 of the Raspberry Pi development VM and I thought that I could safely call it a day because in a few weeks the Raspberry Pi hardware will be available and therefore we will no longer need the VM for software development. So yesterday I announced on this blog and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/rpivb/" rel="attachment wp-att-942"><img class="alignleft size-medium wp-image-942" title="rpi+vb" src="http://russelldavis.org/wp-content/uploads/2012/01/rpi+vb-300x187.jpg" alt="" width="300" height="187" /></a><a href="http://russelldavis.org/2012/01/20/new-raspberry-pi-development-vm-v0-2/" target="_blank">Last week I released version 0.2 of the Raspberry Pi development VM</a> and <a href="http://russelldavis.org/2012/01/26/fate-of-the-raspberry-pi-development-vm/" target="_blank">I thought that I could safely call it a day</a> because in a few weeks the Raspberry Pi hardware will be available and therefore we will no longer need the VM for software development. So yesterday I announced on this blog and the Raspberry Pi forums  that I had decided to EOL the VM and would no longer be updating it as I didn't see the need and i'm not going to have the time to maintain it for the next few months as it takes about 12 to 14 hours to create, configure and upload, 8 to 10 hours of that is uploading using all my upstream bandwidth which is no longer feasible for me to do again until after June.</p>
<p>However, almost immediately after posting that I started to receive tweets and PM's asking me not to stop working on the VM or to at least write detailed instructions on how to create your own VM for Raspberry Pi (or other ARM based devices) from scratch. Yesterday I also finally managed to get SDL programs working correctly, not that I had actually tried that hard previously as the majority of software I was personally interested in building and porting  to the Raspberry Pi are text based and at most use ncurses. So although I really won't have time to work on upgrading, tweaking and maintaining the VM personally I have decided that it should continue to live in the form of detailed instructions on how to create your own Raspberry Pi development VM, which is almost mostly transferable to other ARM based devices as well, it's actually pretty much transferable to any device that qemu will <em>emulate</em> but that is beyond the scope of this <em>how-to</em>.</p>
<p><span id="more-940"></span></p>
<ol>
<li>If you don't already have Virtualbox and the Extension pack installed then you'll need to download it from <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank">https://www.virtualbox.org/wiki/Downloads</a>, choosing the correct one for your platform and also download the Extension Pack from the same page if you haven't already installed it. Once you have downloaded and installed Virtualbox+Extension pack  for your platform move on to step 2.</li>
<li>Now you'll need to decide which Linux distro you want to use for your VM. I suggest Debian, Ubuntu or Fedora. You can use any that you want but those are the only 3 that I have any personal experience with for installing and using Scratchbox2. When you have decided download the installation iso for that distro. I'm going to use ubuntu in this guide as although Fedora and Debian work and works well they do require a bit more setup for Scratchbox2 than Ubuntu. You can download the Ubuntu iso from <a href="http://www.ubuntu.com/download/ubuntu/download" target="_blank">http://www.ubuntu.com/download/ubuntu/download</a></li>
<li>Once you have the Ubuntu iso downloaded, start Virtualbox and create a new Virtual machine by clicking the New button. <a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb1/" rel="attachment wp-att-1023"><img class="aligncenter size-medium wp-image-1023" title="vb1" src="http://russelldavis.org/wp-content/uploads/2012/01/vb1-300x221.jpg" alt="" width="300" height="221" /></a>Virtualbox will then start the Virtual Machine Wizard.</li>
<li>Give your VM a name. I suggest something like RaspberryPi Development. Choose Linux &amp; Ubuntu from the dropdowns (or if you are not going to use Ubuntu as the guest os then select whichever distro you are going to use). It should look something like this <a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb2/" rel="attachment wp-att-1028"><img class="aligncenter size-medium wp-image-1028" title="vb2" src="http://russelldavis.org/wp-content/uploads/2012/01/vb2-300x187.jpg" alt="" width="300" height="187" /></a></li>
<li>Choose the amount of memory to allocate to the VM. I normally just accept the default. Ubuntu normally asks for 512MB, Fedora 738MB and Debian is normally 384MB <a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb3/" rel="attachment wp-att-1039"><img class="aligncenter size-medium wp-image-1039" title="vb3" src="http://russelldavis.org/wp-content/uploads/2012/01/vb3-300x187.jpg" alt="" width="300" height="187" /></a></li>
<li>Create a virtual harddisk.<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb4/" rel="attachment wp-att-1044"><img class="aligncenter size-medium wp-image-1044" title="vb4" src="http://russelldavis.org/wp-content/uploads/2012/01/vb4-300x187.jpg" alt="" width="300" height="187" /></a><br />
choose VDI<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb5-2/" rel="attachment wp-att-1046"><img class="aligncenter size-medium wp-image-1046" title="vb5" src="http://russelldavis.org/wp-content/uploads/2012/01/vb51-300x191.jpg" alt="" width="300" height="191" /></a><br />
Dynamically allocated<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb6/" rel="attachment wp-att-1053"><img class="aligncenter size-medium wp-image-1053" title="vb6" src="http://russelldavis.org/wp-content/uploads/2012/01/vb6-300x191.jpg" alt="" width="300" height="191" /></a><br />
Make it at least 16GB big<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb8/" rel="attachment wp-att-1054"><img class="aligncenter size-medium wp-image-1054" title="vb8" src="http://russelldavis.org/wp-content/uploads/2012/01/vb8-300x191.jpg" alt="" width="300" height="191" /></a><br />
Click the Create button<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb10/" rel="attachment wp-att-1055"><img class="aligncenter size-medium wp-image-1055" title="vb10" src="http://russelldavis.org/wp-content/uploads/2012/01/vb10-300x202.jpg" alt="" width="300" height="202" /></a><br />
After clicking the Create button another dialog may popup and give a summary of the settings you asked for. if it does click the Create button on that dialog. You will then be returned to the main Virtualbox screen<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb11/" rel="attachment wp-att-1056"><img class="aligncenter size-medium wp-image-1056" title="vb11" src="http://russelldavis.org/wp-content/uploads/2012/01/vb11-300x222.jpg" alt="" width="300" height="222" /></a></li>
<li>With the VM you have just created highlighted click the Settings button.<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb12/" rel="attachment wp-att-1059"><img class="aligncenter size-medium wp-image-1059" title="vb12" src="http://russelldavis.org/wp-content/uploads/2012/01/vb12-300x222.jpg" alt="" width="300" height="222" /></a></li>
<li>You can leave most of the settings as their default settings. <a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb13/" rel="attachment wp-att-1060"><img class="aligncenter size-medium wp-image-1060" title="vb13" src="http://russelldavis.org/wp-content/uploads/2012/01/vb13-300x222.jpg" alt="" width="300" height="222" /></a>The only setting you MUST change is storage.<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb14/" rel="attachment wp-att-1061"><img class="aligncenter size-medium wp-image-1061" title="vb14" src="http://russelldavis.org/wp-content/uploads/2012/01/vb14-300x222.jpg" alt="" width="300" height="222" /></a>The storage settings screen may look slightly different to the above as your Virtual harddisk may be on the emulated IDE controller. Personally I prefer it to be on the emulated SATA controller as it seems to be faster and less resource hungry but it's entirely up to you and YMMV but for the basis of this guide it doesn't matter which it is on.<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb15/" rel="attachment wp-att-1068"><img class="aligncenter size-medium wp-image-1068" title="vb15" src="http://russelldavis.org/wp-content/uploads/2012/01/vb15-300x222.jpg" alt="" width="300" height="222" /></a>Click the little CD icon and add the iso you downloaded earlier<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb16/" rel="attachment wp-att-1069"><img class="aligncenter size-medium wp-image-1069" title="vb16" src="http://russelldavis.org/wp-content/uploads/2012/01/vb16-300x222.jpg" alt="" width="300" height="222" /></a>Click OK<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb15-5/" rel="attachment wp-att-1074"><img class="aligncenter size-medium wp-image-1074" title="vb15-5" src="http://russelldavis.org/wp-content/uploads/2012/01/vb15-5-300x228.jpg" alt="" width="300" height="228" /></a>then click Start<a href="http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/vb18/" rel="attachment wp-att-1075"><img class="aligncenter size-medium wp-image-1075" title="vb18" src="http://russelldavis.org/wp-content/uploads/2012/01/vb18-300x222.jpg" alt="" width="300" height="222" /></a></li>
<li>You may now install your choosen Linux distribution as you normally would.</li>
</ol>
<p>This ends part one. When my copy of Ubuntu has installed i'll post part two which will cover installing guest additions and installing and configuring scratchbox2, qemu and a seed rootfs.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F27%2Fsetting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1%2F&amp;title=Setting%20up%20a%20VM%20for%20Raspberry%20Pi%20development%20using%20Virtualbox%2C%20Scratchbox2%20%26%23038%3B%20qemu%20%28Part%201%29" id="wpa2a_24"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/27/setting-up-a-vm-for-raspberry-pi-development-using-virtualbox-scratchbox2-qemu-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fate of the Raspberry Pi Development VM</title>
		<link>http://russelldavis.org/2012/01/26/fate-of-the-raspberry-pi-development-vm/</link>
		<comments>http://russelldavis.org/2012/01/26/fate-of-the-raspberry-pi-development-vm/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:17:30 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[sbrsh]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=916</guid>
		<description><![CDATA[[update: looks like i EOL'ed the VM a day or so too soon seeing as I now have SDL working correctly (mostly) in it now. I'll either do one more release or roll a script and detailed instructions on how to install and configure scratchbox2, qemu and a rootfs (and sbrsh/sbrshd for using the real [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/2012/01/14/the-raspberry-pi-part-one/rp-o_qrcode/" rel="attachment wp-att-702"><img class="alignleft size-medium wp-image-702" title="rp.o_qrcode" src="http://russelldavis.org/wp-content/uploads/2012/01/rp.o_qrcode-300x300.png" alt="" width="300" height="300" /></a><br />
[<strong>update:</strong> looks like i EOL'ed the VM a day or so too soon seeing as I now have SDL working correctly (mostly) in it now. I'll either do one more release or roll a script and detailed instructions on how to install and configure scratchbox2, qemu and a rootfs (and sbrsh/sbrshd for using the real raspberry pi hardware with scratchbox2) before I do actually EOL it. It might take me a day or so to get to it though.]</p>
<p>In a few weeks we'll have our sticky paws on the real Raspberry Pi hardware which on the whole will obsolete the current VM. I could build sbrsh/sbrshd (mount nfs on the real hardware and use that for cpu transparancy, currently using qemu) which might be useful and there are a couple of tiny buglets and uglyness that I could fix but as it takes about 4 hours to create and clone the vm and configure everything and about 8 to 10 hours to upload somewhere using  ALL my upstream bandwidth is it worth it?</p>
<p>I don't mind continuing with the VM if anyone else really wants/needs it but if it's only me that is using it then i'll probably not bother as the VM is good enough for a few more weeks until i/we have the real hardware and i'm kind of running short of <em>tuits</em> for anything that isn't related to a couple of projects i'm currently working on at the moment  that will enable me to afford the odd raspi, one, three, fifteen...., but I don't want to leave anyone in the lurch if they really use the VM and would prefer not to have to set it up themselves or don't know how to do it.</p>
<p>So can i have a show of hands in the comments of who would like me to do another release of the VM and/or add sbrsh/sbrshd.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F26%2Ffate-of-the-raspberry-pi-development-vm%2F&amp;title=Fate%20of%20the%20Raspberry%20Pi%20Development%20VM" id="wpa2a_28"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/26/fate-of-the-raspberry-pi-development-vm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Raspberry Pi (part three)</title>
		<link>http://russelldavis.org/2012/01/25/the-raspberry-pi-part-three/</link>
		<comments>http://russelldavis.org/2012/01/25/the-raspberry-pi-part-three/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 15:32:20 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[alphaboard]]></category>
		<category><![CDATA[makerfaire 2011 ny]]></category>
		<category><![CDATA[raspberrypi]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=860</guid>
		<description><![CDATA[[Disclaimer: All opinions in this post are mine and mine alone. Although I am a moderator on the forums on http://raspberrypi.org I don't speak for the foundation and any factual errors,  upset I may cause  or spelling mistakes are completely my responsibility] &#160; I took a bit of a break from writing this series of posts while [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://russelldavis.org/wp-content/uploads/2012/01/rp.o_qrcode.png" rel="lightbox[860]" title="rp.o_qrcode"><img class="alignleft size-medium wp-image-702" title="rp.o_qrcode" src="http://russelldavis.org/wp-content/uploads/2012/01/rp.o_qrcode-300x300.png" alt="" width="300" height="300" /></a><strong>[Disclaimer: All opinions in this post are mine and mine alone. Although I am a moderator on the forums on <a href="http://raspberrypi.org" target="_blank">http://raspberrypi.org</a> I don't speak for the foundation and any factual errors,  upset I may cause  or spelling mistakes are completely my responsibility]</strong></p>
<p>&nbsp;</p>
<p>I took a bit of a break from writing this series of posts while I did some <a href="http://russelldavis.org/2012/01/20/new-raspberry-pi-development-vm-v0-2/" target="_blank">work on the development vm</a> which I could do lying down using my eCafe Slim ARM based netbook (ta muchly Obarthelemy) as i'm still in a bit of pain from various aches and pains that being an old fogie seem to bring so sitting down typing for long periods is a right PITB. Now get off my lawn you darn kids. I also wanted to spend some time doing some research for a non-Raspberry Pi related project (although I might try to bring the Raspberry Pi into it if I can at some stage if I can).</p>
<p>&nbsp;</p>
<p>So where were we upto at the end of part two? Ah yes The logo competition and MakerFaire NY 2011. i did mention MakerFaire and post a video of Eben's presentation a MakerFaire but I'll expand on that a bit for this post.</p>
<p><span id="more-860"></span></p>
<p><a href="http://makerfaire.com/newyork/2011/" target="_blank">MakerFaire NY 2011</a> was on the 17th &amp; 18th of September and thanks to <a href="https://twitter.com/digikey" target="_blank">DigiKey's twitter account </a> I was able to wangle two free tickets, I actually ended up with three free tickets because  there was one in the Open Hardware Summit goodie bag but I gave the that one to one of my wife's work collegue's who is a bit of a caffine addict and geek.</p>
<p>Eben, Liz and the Raspberry Pi Alpha board (not neccessarily listed in order of importance) were only going to attend on the Saturday because they were on their way to the west coast and were just killing two birds with one stone and splitting a 12 hour flight into two six hour ones and using the layover as an excuse/opportunity  to attend MakerFaire and show off the Alpha board.</p>
<p>So as travelling from Brooklyn to Queens and back again on the subway especially on the weekend is a real PITA and I didn't fancy doing it two days in a row I decided to go on the Saturday.  I didn't want to waste the extra ticket so I  bullied and nagged my son into coming with me and after a lot of muttering under his breath about how getting up at 8am on a Saturday was cruel and unusual punishment and was banned by the constitution and that he'd sue me for civil rights offenses, whose bright idea was it to let him do the constitution law class at university????, he agreed, after I told him there would fire and explosions and stuff,  that it might be fun after all and that he'd come. He's a bit of a luddite, I really don't know where I went wrong bringing him up but he has no real interest in computers other than a tool to do his college work; go facebook &amp; youtube and to watch his anime and read his manga.</p>
<p>[edit for boring bits and skip forward to September 17th at 10am at the main entry gate to a lawn outside the <a href="http://www.nysci.org/" target="_blank">NY Hall of Science</a>.]</p>
<p>Some how or other I, and my son, were first in line to get in <img src='http://russelldavis.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  although they were about 15 minutes late in letting us in as they had to find the waiver forms that you had to sign if you actually wanted to do some soldering, climbing on stuff or anything that might lead to be you cooked, squashed or  blown up etc. Once they let us in we did a quick run through all the stands and tents to see what &amp; who were there and made notes on where we'd like to spend a bit more time looking and talking to people and went off to the <em>help desk</em> to find out where Eben, Liz and the Alpha board were to be found as on our first pass through I hadn't spotted them. The <em>help desk</em> said they should be in a big tent towards the rear of the area so I dragged my son away from the lock picking demonstration and went back to where the Raspberry Pi was suppose to be. Still no Liz, Eben or Alpha board <img src='http://russelldavis.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  So I went to one of the other help desks and they confirmed that the Raspberry Pi table was supposed to be where I had been told previously so I told my son to go have a wander and i'd either be at the tent where we were told that Raspberry Pi would be, at the coffee truck or in another tent where there was something I wanted to look at, The <a href="http://www.fabuloussilicon.com/index.php" target="_blank">CortCyberex AV</a>, as I was due to receive one for my <a href="http://www.kickstarter.com/projects/794668827/aliencortex-av" target="_blank">Kickstarter pledge for the CyberCortex AV</a>. It was now approximately 11am and no sign at the Raspberry Pi table, although there was now a table in the space they were supposed to be <img src='http://russelldavis.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  which was an improvement on the previous walk around. Some of you might be wondering why I was so antsy about the Raspberry Pi as there were lots of other interesting things to look at and do. The main reason was of course to see the Raspberry pi Alpha board in action and to finally meet Eben &amp; Liz but there was also another reason as well. Liz had promised to bring me a 6 pack bag of <a href="http://en.wikipedia.org/wiki/Twiglets" target="_blank">Twiglets</a> :) I also had a small present for them too.</p>
<p>It was now about 11:15am and as there was no sign of the Raspberry Pi i wandered over to talk to Bryan Pape about the CyberCortex AV and look at some of his demo's for a while and keep an eye open for Liz &amp; Eben as I could just see the table where they were supposed to be from Bryan's table. After talking to Bryan for about 25minutes I looked over and there was someone sitting at the Raspberry Pi table. Female check, looked a bit like Liz's forum avatar check, sitting at the raspberry Pi table with a ruddy great handbag that looked like it could hold a large bag of twiglets check. it could only be Liz! So I finished my currrent conversation with Bryan and ambled over and asked "Liz?" and the currently unidentified female said yes. YAY! a fifth of who and what I had come to see had actually arrived.  I was doing well, I had completed three fifths of my goals for the day, actually a little under as I hadn't yet gone to pick up the freebies that I had coupons for from the Open hardware summit goodie bag.</p>
<p>Liz said Eben had gone off to look for the HDMI monitor or TV they had requested and for electricity as there currently (pun sort of intended) wasn't any available and that he'd be back soon. We swapped presents <img src='http://russelldavis.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Liz gave me twiglets and I gave Eben &amp; Liz a Zipit Z2 (a tiny clam shell ARM, pxa270, based IM device that has been hacked to run debian, openwrt...) that I thought they might like to have to mess around with in there spare time (right they have <em>spare</em> time) and let me have a look at the Alpha board by which time Eben had returned.</p>
<p>One of the reasons other than the obvious to see the Alpha board and obtain twiglets, that I wanted to meet Eben &amp; Liz is that it turns out he went to school with someone I knew in the late 80s so after he'd said electricity was coming and the organisers were looking for a monitor or TV that had an HDMI input we had a discussion about how he knew our mutual acquaintance and how I did.</p>
<p>It was now about noon and still no monitor but there was electricity and the Raspberry Pi table was surrounded with people asking Eben &amp; Liz questions about the foundation, the raspberry pi, the alpha board, expected selling date etc.</p>
<p>I might be off recalling the exact time the monitor with HDMI arrived, i'd asked Bryan if any of his monitors had an HDMI input and if he'd got one spare that I could borrow until the one the organisers of MakerFaire were trying to obtain arrived but unfortunately all his monitors were VGA input and if i'd got to the stage where I was going on a scrounging mission it had to be at least 12:30pm probably nearer 1pm when a suitable monitor arrived at the Raspberry Pi table.</p>
<p>Eben quickly plugged everything in and booted the Alpha board they had brought with them and started a movie trailer playing, I think it was the star trek trailer, i was blown away by how good the trailer played. The table now started to get swamped with geeks three deep all asking questions and admiring the alpha board. this went on almost until it was time for Eben to give his 5 minute presentation at 5pm.  The area where he was to give his presentation  had been used throughout the day for other projects to give short presentations and while it hadn't been empty for those presentations it became almost standing room only when Eben was due to speak. As Liz was going to be filming Eben's presentation she left acfaizer and myself in charge of her handbag and the Alpha boards. acfraizer and I did discuss maybe <em>accidently walking off </em>with the alpha boards but decided it'd be too obvious that we had half-inched them.</p>
<p>[i've already posted the video of Eben's presentation but i'll do it again]</p>
<p><a href="http://russelldavis.org/2012/01/25/the-raspberry-pi-part-three/"><em>Click here to view the embedded video.</em></a></p>
<p>As it was now around 5:30pm I once again dragged my son away from the lock picking demonstration and tutorial area, said good bye to Eben, Liz and the Alpha board and we made our way home, with a quick stop when we got out of the subway station near home to pick up chinese for dinner.</p>
<p>I think this is enough writing for now. I promise we'll get to the beta boards eventually I am just too knackered to write anymore today and it's time for my mid morning nap <img src='http://russelldavis.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>[Disclaimer: All opinions in this post are mine and mine alone. Although I am a moderator on the forums on <a href="http://raspberrypi.org" target="_blank">http://raspberrypi.org</a> I don't speak for the foundation and any factual errors,  upset I may cause  or spelling mistakes are completely my responsibility]</strong></p>
<h3><em><br />
</em></h3>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F25%2Fthe-raspberry-pi-part-three%2F&amp;title=The%20Raspberry%20Pi%20%28part%20three%29" id="wpa2a_32"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/25/the-raspberry-pi-part-three/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building newLISP for the Raspberry Pi using the development VM</title>
		<link>http://russelldavis.org/2012/01/23/building-newlisp-for-the-raspberry-pi-using-the-development-vm/</link>
		<comments>http://russelldavis.org/2012/01/23/building-newlisp-for-the-raspberry-pi-using-the-development-vm/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 16:37:54 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[newlisp]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[scratchbox2]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=855</guid>
		<description><![CDATA[I just put together another quick screencast of the development vm in action. A tiny bit more complicated than tiny basic for curses this time as i had to install a library and edit the makefile a tad and i also ran the test suite inside sb2 as well. ok enough messing around with the [...]]]></description>
			<content:encoded><![CDATA[<p>I just put together another quick screencast of the development vm in action. A tiny bit more complicated than tiny basic for curses this time as i had to install a library and edit the makefile a tad and i also ran the test suite inside sb2 as well.</p>
<p><a href="http://russelldavis.org/2012/01/23/building-newlisp-for-the-raspberry-pi-using-the-development-vm/"><em>Click here to view the embedded video.</em></a></p>
<p>ok enough messing around with the vm for the time being. it's time to start writing the raspberry pi (part three) blog post.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F23%2Fbuilding-newlisp-for-the-raspberry-pi-using-the-development-vm%2F&amp;title=Building%20newLISP%20for%20the%20Raspberry%20Pi%20using%20the%20development%20VM" id="wpa2a_36"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/23/building-newlisp-for-the-raspberry-pi-using-the-development-vm/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Video of the Development VM in action</title>
		<link>http://russelldavis.org/2012/01/22/video-of-the-development-vm-in-action-2/</link>
		<comments>http://russelldavis.org/2012/01/22/video-of-the-development-vm-in-action-2/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 22:55:15 +0000</pubDate>
		<dc:creator>Russell</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[scratchbox2. video]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://russelldavis.org/?p=853</guid>
		<description><![CDATA[I just did a quick screen capture video of the Raspberry Pi development VM in action and have uploaded it to youtube. I'm not very good with making screencasts so please forgive how rubbish it looks.]]></description>
			<content:encoded><![CDATA[<p>I just did a quick screen capture video of the Raspberry Pi development VM in action and have uploaded it to youtube. I'm not very good with making screencasts so please forgive how rubbish it looks.</p>
<p><a href="http://russelldavis.org/2012/01/22/video-of-the-development-vm-in-action-2/"><em>Click here to view the embedded video.</em></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frusselldavis.org%2F2012%2F01%2F22%2Fvideo-of-the-development-vm-in-action-2%2F&amp;title=Video%20of%20the%20Development%20VM%20in%20action" id="wpa2a_40"><img src="http://russelldavis.org/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://russelldavis.org/2012/01/22/video-of-the-development-vm-in-action-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

