<?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>Ironwood Labs</title>
	<atom:link href="http://ironwoodlabs.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ironwoodlabs.com/blog</link>
	<description>embedded systems</description>
	<lastBuildDate>Tue, 02 Nov 2010 21:35:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>OpenOCD on Ubuntu</title>
		<link>http://ironwoodlabs.com/blog/openocd-on-ubuntu/</link>
		<comments>http://ironwoodlabs.com/blog/openocd-on-ubuntu/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 01:19:44 +0000</pubDate>
		<dc:creator>Ron Sheely</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenOCD]]></category>
		<category><![CDATA[Tool Chain]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ironwoodlabs.com/blog/?p=68</guid>
		<description><![CDATA[I recently built and installed the on-chip debugger OpenOCD. Ubuntu already ships with an OpenOCD package, so you can skip the build process if you prefer.  See the Ubuntu Community OpenOCD document for instructions. I downloaded the OpenOCD source via &#8220;git&#8221;. git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd Run the bootstrap to generate the configure scripts. ./bootstrap Install the <a href='http://ironwoodlabs.com/blog/openocd-on-ubuntu/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I recently built and installed the on-chip debugger <a href="http://openocd.berlios.de/web/">OpenOCD</a>. Ubuntu already ships with an OpenOCD package, so you can skip the build process if you prefer.  See the <a href="https://help.ubuntu.com/community/OpenOCD">Ubuntu Community OpenOCD</a> document for instructions.</p>
<p>I downloaded the OpenOCD source via &#8220;git&#8221;.</p>
<pre>git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd
</pre>
<p><span id="more-68"></span>Run the bootstrap to generate the configure scripts.</p>
<pre>./bootstrap
</pre>
<p>Install the libftdi libraries.</p>
<pre>sudo apt-get install libftdi1 libftdi-dev
</pre>
<p>Be sure to install the <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a> libraries if you want to build the Doxygen generated documents.</p>
<p>Run the configure script. I chose to install in the default directory. Use the prefix directive to specify an alternative directory if you prefer. I found that I had to specify the &#8211;enable-maintainer-mode switch to get OpenOCD to compile correctly.</p>
<pre>./configure --enable-maintainer-mode --enable-ft2232_libftdi
</pre>
<p>Build the code using make.</p>
<pre>make
</pre>
<p>Build the PDF and HTML documentation if desired.</p>
<pre>make pdf
make html
</pre>
<p>Install and verify the installation.</p>
<pre>sudo make install
which openocd
</pre>
<p>Finally, install the documentation.</p>
<pre>sudo make install-pdf
sudo make install-html
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ironwoodlabs.com/blog/openocd-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeSourcery for ARM on Ubuntu</title>
		<link>http://ironwoodlabs.com/blog/codesourcery-for-arm-on-ubuntu/</link>
		<comments>http://ironwoodlabs.com/blog/codesourcery-for-arm-on-ubuntu/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 00:16:42 +0000</pubDate>
		<dc:creator>Ron Sheely</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tool Chain]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ironwoodlabs.com/blog/?p=48</guid>
		<description><![CDATA[I used to tinker endlessly to keep my GNU ARM tool chains built, installed, and updated. Now I prefer to use the open source cross compilers from CodeSourcery. Here is a simple example of a recent install. I downloaded the Sourcery G++ Lite 2010q1-188 for ARM EABI binary installer for Linux. This link may be <a href='http://ironwoodlabs.com/blog/codesourcery-for-arm-on-ubuntu/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I used to tinker endlessly to keep my GNU ARM tool chains built, installed, and updated. Now I prefer to use the open source cross compilers from <a href="http://www.codesourcery.com/">CodeSourcery</a>.</p>
<p>Here is a simple example of a recent install.<span id="more-48"></span></p>
<p>I downloaded the <a href="http://www.codesourcery.com/sgpp/lite/arm/portal/package6495/public/arm-none-eabi/arm-2010q1-188-arm-none-eabi.bin">Sourcery G++ Lite 2010q1-188 for ARM EABI</a> binary installer for Linux. This link may be dated when you read this, so be sure to check for the latest version for your system. I am programming bare ARM systems without an operating system, e.g., I am building my own custom OS, so I installed the ARM EABI variant.</p>
<p>The binary installer and the tools were built for 32-bit systems, so I had to make sure the ia32 bit library was installed on my 64-bit Ubuntu system. You will not need this if your system is 32-bit. I once tried to install the CodeSourcery tools on a fresh installation of Ubuntu, and the GUI Java based installer failed to run. I wrongly assumed there was something wrong with my Java configuration, so I switched to the non-GUI version of the CodeSourcery installer, which if I remember correctly is disabled via a command line switch on the installer. The non-GUI installer failed too, and it turned out that I was missing the IA32 libraries on my Ubuntu system, which I installed by something like this.</p>
<pre>sudo apt-get install ia32-libs</pre>
<p>I chose to install the the tool chain in the default directory &#8220;/usr/local/share/CodeSourcery&#8221; instead of in my home directory. Simply follow the GUI instructions and watch it happen.</p>
<pre>sudo ./arm-2010q1-188-arm-none-eabi.bin</pre>
<p>If you need or prefer the non-GUI installer, then invoke with the console switch.</p>
<pre>sudo ./arm-2010q1-188-arm-none-eabi.bin -i console</pre>
<p>I updated my path in &#8220;/etc/environment&#8221; by appending &#8220;/usr/local/share/CodeSourcery/bin&#8221;, the location of the new CodeSourcery executables, to the existing path.</p>
<pre>sudo gedit /etc/environment</pre>
<p>I verified my new environment settings by testing the existence an arbitrary CodeSourcery executable in the new path.</p>
<pre>which arm-none-eabi-ar</pre>
<p>If you chose to install the documentation as prompted by the GUI installer as I did, you can find PDF, HTML, info, and man documents here.</p>
<pre>/usr/local/share/CodeSourcery/share/doc/arm-arm-none-eabi</pre>
<p>That&#8217;s pretty much it.</p>
]]></content:encoded>
			<wfw:commentRss>http://ironwoodlabs.com/blog/codesourcery-for-arm-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu VNC Server</title>
		<link>http://ironwoodlabs.com/blog/ubuntu-vnc-server/</link>
		<comments>http://ironwoodlabs.com/blog/ubuntu-vnc-server/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 22:34:18 +0000</pubDate>
		<dc:creator>Ron Sheely</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VNC]]></category>

		<guid isPermaLink="false">http://ironwoodlabs.com/blog/?p=5</guid>
		<description><![CDATA[This is modified copy of an original article at ehow.com. Installing and configuring VNC on Ubuntu. Install vnc4server and xinetd. sudo apt-get install vnc4server xinetd Start the vnc4server. You will be prompted for a new password. vnc4server The VNC server responds with something like this. New 'your-computer-name:3 (your-computer-name)' desktop is your-computer-name:your-session-number Remember your new password. <a href='http://ironwoodlabs.com/blog/ubuntu-vnc-server/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This is modified copy of an original article at <a href="http://www.ehow.com/how_5089245_install-vnc-server-ubuntu.html">ehow.com</a>.</p>
<p>Installing and configuring VNC on Ubuntu.</p>
<p><span id="more-5"></span></p>
<p>Install vnc4server and xinetd.</p>
<pre>sudo apt-get install vnc4server xinetd
</pre>
<p>Start the vnc4server. You will be prompted for a new password.</p>
<pre>vnc4server
</pre>
<p>The VNC server responds with something like this.</p>
<pre>New '<em>your-computer-name</em>:3 (your-computer-name)' desktop is <em>your-computer-name</em>:<em>your-session-number</em>
Remember your new password. Remember the session number following the colon (:).
A .vnc directory will be create in your home directory.
</pre>
<p>Stop the vnc4server.</p>
<pre>vnc4server -kill :<em>your-session-number</em>
</pre>
<p>Edit your .vnc/xstartup file to look like this:</p>
<pre>#!/bin/sh
# Uncomment the following two lines for normal desktop:unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] &amp;amp;&amp;amp; exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] &amp;amp;&amp;amp; xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &amp;amp;
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &amp;amp;
#twm &amp;amp;
</pre>
<p>Change the permissions on the /etc/X11/xinit/xinitrc file to make it executable:</p>
<pre>sudo chmod 755 /etc/X11/xinit/xinitrc
</pre>
<p>Start the vnc4server again. Remember your session number.</p>
<pre>vnc4server
</pre>
<p>Install the vncviewer.</p>
<pre>sudo apt-get install xvnc4viewer
</pre>
<p>Test your new virtual desktop. Log in using your new password and session number.</p>
<pre>vncviewer <em>your-computer-name</em>:<em>your-session-number</em>
</pre>
<p>If you want to share a computer with multiple users, it can be useful for each user to have permanent session number. Simply agree on a set of unique session numbers, and start a separate VNC server session for each user with their unique session number on the command line.</p>
<pre>vnc4server :<em>unique-session-number</em>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ironwoodlabs.com/blog/ubuntu-vnc-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

