<?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>Nexgen Technologies</title>
	<atom:link href="http://nexgentec.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://nexgentec.com/blog</link>
	<description>Providing Reliable On-site IT Solutions</description>
	<lastBuildDate>Sun, 22 Mar 2009 01:10:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Share audio between multiple applications in Ubuntu</title>
		<link>http://nexgentec.com/blog/2009/02/26/share-audio-between-multiple-applications-in-ubuntu/</link>
		<comments>http://nexgentec.com/blog/2009/02/26/share-audio-between-multiple-applications-in-ubuntu/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 03:46:18 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=116</guid>
		<description><![CDATA[One of the big complaints I hear about Ubuntu users is the fact that a single application can lock the sound card, not allowing other applications to play audio simultaneously. Well that is no longer an issue, as we will discuss here.
First you will need to run the following command to install asoundconf
sudo apt-get install [...]]]></description>
			<content:encoded><![CDATA[<p>One of the big complaints I hear about Ubuntu users is the fact that a single application can lock the sound card, not allowing other applications to play audio simultaneously. Well that is no longer an issue, as we will discuss here.</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 348px"><a href="http://nexgentec.com/blog/wp-content/uploads/2009/02/soundcard.png"><img src="http://nexgentec.com/blog/wp-content/uploads/2009/02/soundcard.png" alt="Select Default Sound Card" title="defaultCard" width="338" height="106" class="size-full wp-image-119" /></a><p class="wp-caption-text">Select Default Sound Card</p></div>
<p>First you will need to run the following command to install asoundconf<br />
<code>sudo apt-get install asoundconf-gtk</code></p>
<p>After this change your default sound card under System → Preferences → Default Sound Card to PulseAudio. After this you should be able to listen to multiple audio sources at once.</p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/02/26/share-audio-between-multiple-applications-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ditch AWN and dock with GNOME Do + Docky</title>
		<link>http://nexgentec.com/blog/2009/02/05/ditch-awn-and-dock-with-gnome-do-docky/</link>
		<comments>http://nexgentec.com/blog/2009/02/05/ditch-awn-and-dock-with-gnome-do-docky/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:33:18 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=71</guid>
		<description><![CDATA[Docky is a frontend for GNOME Do similar to Avant Window Navigator (AWN) that adjusts to your usage patterns. Your most frequently used programs will show up on Docky for easy mouse access. When you summon GNOME Do using &#60;super&#62;+space, Docky will change into the familiar GNOME Do interface. For more information on Docky, check [...]]]></description>
			<content:encoded><![CDATA[<p>Docky is a frontend for GNOME Do similar to Avant Window Navigator (AWN) that adjusts to your usage patterns. Your most frequently used programs will show up on Docky for easy mouse access. When you summon GNOME Do using &#60;super&#62;+space, Docky will change into the familiar GNOME Do interface. For more information on Docky, check out the <a href="http://do.davebsd.com/wiki/index.php?title=Docky">GNOME Do Wiki</a>. So let&#8217;s get on with it and install GNOME Do and start using Docky!</p>
<a href="http://www.flickr.com/photos/36599675@N02/3374369560/" title="Docky Clock" rel="flickr-mgr[72157615737316930]" class="flickr-image" >
	<img src="http://farm4.static.flickr.com/3637/3374369560_09a4303919_s.jpg" alt="Docky Clock" class="flickr-medium" />
</a>
<a href="http://www.flickr.com/photos/36599675@N02/3374361116/" title="Docky Bar" rel="flickr-mgr[72157615737316930]" class="flickr-image" >
	<img src="http://farm4.static.flickr.com/3247/3374361116_56098d3db9_s.jpg" alt="Docky Bar" class="flickr-medium" />
</a>
<a href="http://www.flickr.com/photos/36599675@N02/3374397572/" title="Docky Calendar" rel="flickr-mgr[72157615737316930]" class="flickr-image" >
	<img src="http://farm4.static.flickr.com/3422/3374397572_efbd163f98_s.jpg" alt="Docky Calendar" class="flickr-medium" />
</a>
<a href="http://www.flickr.com/photos/36599675@N02/3374391662/" title="Docky Trash" rel="flickr-mgr[72157615737316930]" class="flickr-image" >
	<img src="http://farm4.static.flickr.com/3464/3374391662_d474df079a_s.jpg" alt="Docky Trash" class="flickr-medium" />
</a>

<p><strong>Installation Procedures for Ubuntu Intrepid:</strong></p>
<ol>
<li>If you have Avant Window Navigator installed you may want to install it, or disable it from starting at boot, to uninstall it do the following: <code>sudo apt-get remove avant-window-navigator*</code></li>
<li>Optional: If you want to use GNOME Do without Compiz then you can install Xcompmgr, a simple composite window manager. This works well if you have an ATI video card and are experiencing Compiz related video playback issues.<code>sudo apt-get install xcompmgr</code></li>
<li>Add the software repositories for GNOME Do<code>sudo sh -c 'echo "deb http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main" >> /etc/apt/sources.list'</code><code>sudo sh -c 'echo "deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main" >> /etc/apt/sources.list'</code></li>
<li>Install the key for the repository (optional but recommended)<code>gpg --no-default-keyring --keyring /tmp/gnome-do.keyring --keyserver keyserver.ubuntu.com --recv A5D19FDCAA6ABB440CD3464628A8205077558DD0</code><code>gpg --no-default-keyring --keyring /tmp/gnome-do.keyring --export --armor  A5D19FDCAA6ABB440CD3464628A8205077558DD0 | sudo apt-key add -</code><code>rm /tmp/gnome-do.keyring</code> </li>
<li>Update and install GNOME Do<code>sudo aptitude update &#038;&#038; sudo aptitude install gnome-do gnome-do-plugins</code></li>
<li>Open up gnome do, by going to Applications &rarr; Accessories &rarr; GNOME Do. When GNOME Do launches, click the drop down arrow in the top right hand corner and select Preferences. Open up the appearance tab and change change the Theme to &#8216;Docky&#8217;</li>
</ol>
<p><strong>Additional instructions for Xcompmgr</strong></p>
<ul>
<li>If you are using Xcompmgr instead of Compiz you must enable Xcompmgr during statup, you can do this by adding it the Startup Programs in the Sessions window. If you are not sure on how to do this follow the instructions below substituting the gnome-do command with xcompmgr.</li>
</ul>
<p><strong>Add GNOME Do as a Startup Program</strong></p>
<ol>
<li>Go to System &rarr; Preferences  &rarr; Sessions</li>
<li>Select Add on the Statup Programs tab.</li>
<li>Search through the list and ensure that it is not already in there. If not continue, otherwise you are done!</li>
<li>Enter a Name such as GNOME Do, for the command enter gnome-do, and optionally enter a relevant comment.</li>
<li>Optionally reboot to ensure everything is working as expected.</li>
</ol>
<p><strong>Hints:</strong></p>
<ul>
<li>Adjust the size of Docky by holding your mouse over the center divider until the double headed arrow appears and click and drag to resize.</li>
<li>Right click the purple gear icon to enable some additional features for Docky, such as &#8216;Advanced Indicators&#8217; also known as Advanced Window Indicators. These are the little dots under the window icons on Docky, the Advanced Indicators will tell you how many windows of the same application you have open (one or two dots). Unfortunately when you open three or more windows of the same application Docky&#8217;s Advanced Indicator will remain at two dots.</li>
<li>Right-click any application icon with more then one window open and Docky will give you a context menu with a list of the windows along with the normal extra options </li>
<li>Right-click any icon to get a context menu with extra options.</li>
</ul>
<p><strong>Gripes:</strong></p>
<ul>
<li><del datetime="2009-03-22T00:12:42+00:00">Why is there not a context menu for the Trash Bin, allowing you to empty the Trash?</del> This has been added in Gnome-Do version 0.8.1.</li>
<li>When you left-click an application with multiple windows open all windows are Maximized or Minimized, why not show a context menu displaying the different windows that are available?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/02/05/ditch-awn-and-dock-with-gnome-do-docky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Intel-Hda Headphone Jack and Low Volume Fix</title>
		<link>http://nexgentec.com/blog/2009/02/03/ubuntu-intel-hda-headphone-jack-and-low-volume-fix/</link>
		<comments>http://nexgentec.com/blog/2009/02/03/ubuntu-intel-hda-headphone-jack-and-low-volume-fix/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 04:33:58 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=62</guid>
		<description><![CDATA[So I was having problems with the default version of ALSA (1.0.17) installed in Ubuntu Intrepid (8.04), so I decided to grab the latest snapshot of ALSA and compile it from scratch. Here is the process I followed:

Make sure you have build essentials installedsudo apt-get install build-essential
Change into a working directory, I used the following:cd [...]]]></description>
			<content:encoded><![CDATA[<p>So I was having problems with the default version of ALSA (1.0.17) installed in Ubuntu Intrepid (8.04), so I decided to grab the latest snapshot of ALSA and compile it from scratch. Here is the process I followed:</p>
<ol>
<li>Make sure you have build essentials installed<code>sudo apt-get install build-essential</code></li>
<li>Change into a working directory, I used the following:<code>cd /tmp</code></li>
<li>Download the latest snapshot <code>wget http://www.alsa-project.org/snapshot/?package=alsa-driver</code></li>
<li>Extract the drivers you just downloaded<code>tar -jxvf alsa-driver-*.tar.bz2</code></li>
<li>Change into the newly extracted directory<code>cd alsa-driver-*</code></li>
<li>Time to compile the source, do the following<code>./configure</code> if all goes well this command should end without any errors.</li>
<li>Run make (this may take a little while depending on your machines processing power)<code>make</code></li>
<li>Let&#8217;s install the drivers<code>sudo make install</code></li>
<li>Finally run the following script to create necessary devices<code>sudo ./snddevices</code></li>
<li>You may also want to run the alsaconf command and configure your default sound card.</li>
<li>All done, reboot!</li>
</ol>
<p>If you don&#8217;t hear any sound after you reboot, adjust your sound levels in gnome volume control (run the command gnome-volume-control or by double clicking on the speaker icon). Adjust your Master and PCM levels. Don&#8217;t forget about the Speaker level on the far right, adjust this also!</p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/02/03/ubuntu-intel-hda-headphone-jack-and-low-volume-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NGW100 Linux 2.6.27.6 with PHP, SQL, Python, and more.</title>
		<link>http://nexgentec.com/blog/2009/01/19/ngw100-uclinux-26276-with-php-sql-python-and-more/</link>
		<comments>http://nexgentec.com/blog/2009/01/19/ngw100-uclinux-26276-with-php-sql-python-and-more/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 00:44:19 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[NGW100]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=43</guid>
		<description><![CDATA[A custom compiled Kernel for the NGW100 using buildroot which includes: Lighttp, SQLite, PHP, Python, and OpenSSH (supports SCP).]]></description>
			<content:encoded><![CDATA[<p>I have compiled a Linux Kernel for the NGW100 or any AVR32 device, using buildroot. It includes: Lighttp, SQLite, PHP, Python, and OpenSSH (supports SCP).</p>
<p>This all stemmed from wanting to be able to develop and compile C and C++ programs for the NGW100. At first I tried to compile PHP and Lighttp using the instructions found on Wildan Maulana&#8217;s blog entitled <a href="http://wildanm.wordpress.com/2007/07/09/compiling-php-for-avr32/">Compiling PHP &#038; lighttpd for avr32</a>, but it was less then ideal. After some experimentation and Googling, I discovered that with Buildroot, I could build my own custom Kernel that included all the software that I required.</p>
<p>I first compiled with dropbear SSH which lacks SCP (Secure Copy) and not OpenSSH but soon realized that ProFTPD was a huge pain in the rear, transfers were unreliable (especially to the SD card), so I recompiled with OpenSSH support.</p>
<p>Useful Information:</p>
<ul>
<li>Root Password: roota</li>
<li>HTTP Directory: /www/pages</li>
<li>Both NICs have DHCP client enabled, and Iptables has been disabled.</li>
</ul>
<p>Additional Daemons Installed:</p>
<ul>
<li>lighttpd</li>
<li>SQLite</li>
<li>PHP</li>
<li>Python</li>
<li>OpenSSH w/ SCP support</li>
</ul>
<p>Version Information:<br />
<code>uname -a<br />
Linux ngw.example.net 2.6.27.6.atmel.1 #1 Fri Jan 16 15:21:34 EST 2009 avr32 unknown</code></p>
<p><strong>Installation Instructions:</strong></p>
<p><strong>UPDATE</strong>: I have uploaded the images to a new faster server. I have also compiled the root file system with support for Lighttpd (w/ OpenSSL), PHP (w/ OpenSSL), and SQLite per special request. It also includes OpenSSH and Nano.</p>
<p>With Python and no OpenSSL: <a href='http://s3.nexgentec.com/~mmanning/blogic/avr32-linux.tar.bz2' >avr32-linux.tar.bz2</a><br />
With OpenSSL Support: <a href='http://s3.nexgentec.com/~mmanning/blogic/avr32-openssl.tar.bz2' >avr32-openssl.tar.bz2</a></p>
<p>You will need to format an SD Card using the ext2 filesystem, which will need to be done from a Linux machine, First unmount the device, then use the following command to format it:</p>
<p><code>sudo mkfs.ext2 /dev/yourDeviceHere</code></p>
<p>After this you can just extract the <strong><em>avr32-linux.tar.bz2</em></strong> archive to the root of the SD Card using the following command (replace /media/sdcard with the mount point of your SD card):</p>
<p><code>cd /media/sdcard<br />
sudo tar -xvf /path/to/avr32-linux.tar.bz2</code></p>
<p>Insert the SD Card into your NGW100 and boot it up, using a serial console press the space key to abort the normal boot sequence, then enter the following:</p>
<p>Print your current environment variables:<br />
<code>Uboot> printenv</code></p>
<p>Make a note of the current settings, that way if you want to boot from the onboard flash memory at some point, you will be able to change your settings back. You can also find the default settings on this <a href="http://support.atmel.no/knowledgebase/avr32studiohelp/com.atmel.avr32.tool.ngw100/html/u_boot_command_reference.html">page</a>.</p>
<p>No lets change the uBoot environment variables to boot from the SD Card:</p>
<p><code>Uboot> askenv bootcmd<br />
Please enter 'bootcmd': mmcinit; ext2load mmc 0:1 0x10300000 /uImage; bootm 0x10300000<br />
Uboot> set bootargs 'console=ttyS0 root=/dev/mmcblk0p1 rootwait'<br />
Uboot> saveenv</code></p>
<p>Now you should be able to press the reset button and boot into Linux, congratulations!</p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/01/19/ngw100-uclinux-26276-with-php-sql-python-and-more/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Controlling the NGW100&#8217;s LEDs to give useful information</title>
		<link>http://nexgentec.com/blog/2009/01/19/controlling-the-ngw100s-leds-to-give-useful-information/</link>
		<comments>http://nexgentec.com/blog/2009/01/19/controlling-the-ngw100s-leds-to-give-useful-information/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 23:35:35 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[NGW100]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=39</guid>
		<description><![CDATA[Please Note: If you have not updated your kernel version using Buildroot, then the following may not work.
The NGW100 uses the sysfs interface to control the on-board LEDs. The interface is located in the following directory:
/sys/class/leds
If you run ls for the above directory you should get the list of the following files and folders:
/sys/class/leds/sys # [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Please Note:</strong> If you have not updated your kernel version using Buildroot, then the following may not work.</p>
<p>The NGW100 uses the sysfs interface to control the on-board LEDs. The interface is located in the following directory:</p>
<p><code>/sys/class/leds</code></p>
<p>If you run <strong><em>ls</em></strong> for the above directory you should get the list of the following files and folders:</p>
<p><code>/sys/class/leds/sys # ls<br />
brightness  device      power       subsystem   trigger     uevent</code></p>
<p>We are mostly interested in the <strong><em>brightness</em></strong> and <strong><em>trigger</em></strong> files. The brightness enables you to either switch on an LED or switch it off (We know that in a computer that a binary 1 means on and a binary 0 means off), which can be done in the following manner:</p>
<p><code>echo 1 > /sys/class/leds/a/brightness<br />
echo 0 > /sys/class/leds/a/brightness</code></p>
<p>Now onto more usefull applications for the LEDs. We can set the LEDs to be triggered upon system events. For this we are interested in the trigger file. Lets see what the trigger file contains:</p>
<p><code>/sys/class/leds/sys # cat trigger<br />
none mmc0 timer [heartbeat] default-on </code></p>
<p>In the above output we know that the trigger is currently set to heartbeat since it is enclosed in square brackets. We can easily change this to the SD card slot, that way we have an SD activity LED, using the following code:</p>
<p><code>echo "mmc0" > /sys/class/leds/a/trigger</code></p>
<p>In the above example we changed the LED labeled A on the NGW100 to be triggered by activity on the SD card.</p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/01/19/controlling-the-ngw100s-leds-to-give-useful-information/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading AVR32&#8217;s Linux using buildroot v2.3.0 without a JTAG</title>
		<link>http://nexgentec.com/blog/2009/01/18/upgrading-the-ngw100-using-buildroot-v230/</link>
		<comments>http://nexgentec.com/blog/2009/01/18/upgrading-the-ngw100-using-buildroot-v230/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 00:47:15 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[NGW100]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=16</guid>
		<description><![CDATA[In this article I will discuss how to update Linux on the NGW100 without updating uBoot, since that is a big headache unless you have the Atmel JTAG (AVR JTAGICE mkII) device.
So I will admit originally I did not want to totally re-flash the device but ran into some problems when I was trying to [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I will discuss how to update Linux on the NGW100 without updating uBoot, since that is a big headache unless you have the Atmel JTAG (<a href="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=3353">AVR JTAGICE mkII</a>) device.</p>
<p>So I will admit originally I did not want to totally re-flash the device but ran into some problems when I was trying to develop applications for the included version of Linux. This all started when I wanted to compile PHP to run on the device, after cross compiling on my desktop I was getting errors such as the following when trying to run PHP:</p>
<p><code>can't resolve symbol 'atextit'</code></p>
<p>Which I later realized that there were some differences between the library on the device and the library in my Buildroot environment. So I decided that I must upgrade the installed version of Linux to the same version I compiled PHP with. Well this was a confusing task, the documentation was sparse and hard to understand. So I am documenting my process here.</p>
<p><strong>Things you need:</strong></p>
<ul>
<li>Linux (Ubuntu is used here)</li>
<li>JTAGICE programmer (optional)</li>
<li>Tftp Server (preferred)</li>
<li>Compiled AVR32 Buildroot Environment</li>
<li>Serial Port and Cable</li>
<li>Serial Port Terminal Program (HyperTerminal or GtkTerm)</li>
</ul>
<p>First, you must compile Buildroot, you can find instructions on how to do that on Atmel&#8217;s Buildroot site: <a href="http://www.atmel.no/buildroot/">http://www.atmel.no/buildroot/</a>. If this is your first time using Buildroot or you are not too familiar with it, be sure to read that documentation throughly, as it tells you where to find the image files (buildroot-avr32-v2.*/binaries/atngw100/). We are interested in the <em><strong>rootfs.avr32.jffs2-root</strong></em> and <em><strong>rootfs.avr32.jffs2-usr</strong></em> files. If you have a JTAGICE programmer then you would also be interested in the <em><strong>u-boot.bin</strong></em> file, which you would use to upgrade your uBoot.</p>
<p>Secondly, setup your tftp server and host the <em><strong>rootfs.avr32.jffs2-root</strong></em> file on it. Here is a good tutorial on setting up <a href="http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html">atftp on Ubuntu Linux</a>.</p>
<p>You can now update your NGW100 using TFTP, here are the commands you will need to use.</p>
<p>Disable write protection and erase the flash memory:<br />
<code>Uboot&gt; protect off 0x20000 0x7EFFFF<br />
Uboot&gt; erase 0x20000 0x7EFFFF</code></p>
<p>Download the firmware from the TFTP server:<br />
<code>Uboot&gt; set ipaddr 10.0.0.100<br />
Uboot&gt; set tftpip 10.0.0.1<br />
Uboot&gt; tftp 0x90000000 rootfs.avr32.jffs2-root</code></p>
<p>Copy to flash (this will take about 30-60 seconds):<br />
<code>Uboot&gt; cp.b 0x90000000 0x20000 $(filesize)<br />
Copy to Flash... done</code></p>
<p>Turn write protection back on:<br />
<code>Uboot&gt; protect on all<br />
Uboot&gt; </code></p>
<p>Lastly reboot and cross your fingers, chances are it will fail with the following error:</p>
<p><code>find_inode failed for name=uImage<br />
load: Failed to find inode<br />
### JFFS2 LOAD ERROR&lt;0&gt; for uImage!<br />
## Booting image at 10200000 ...<br />
Bad Magic Number<br />
Uboot&gt; </code></p>
<p>This happens because in the most recent version of uBoot, the uImage moved from <em><strong>/boot/uImage</strong></em> to the root of the file system, you could recompile with it in the correct location, but there is an easier way. Enter the following at the uBoot command prompt:</p>
<p><code>setenv bootcmd 'fsload 0x90400000 /boot/uImage;bootm'</code></p>
<p>Everything should be working well now, except you will see some more strange errors during boot, this is because the <strong><em>/usr</em></strong> directory has not been updated and was compiled for the old OS version. So we must update the <strong><em>/usr</em></strong> directory with the new directory image. Use the following commands:</p>
<p>We must stop all running services that are running from within the <strong><em>/usr</em></strong> directory so we can unmount the directory. There is no quick and easy way of doing this other then just using ps to get a list of running daemons from within the <strong><em>/usr</em></strong> directory:</p>
<p><code>ps | grep /usr</code></p>
<p>Then we must kill those running daemons, you can do this the following way, replacing pid with the id you retrieved from the above command:</p>
<p><code>kill pid</code></p>
<p>Then try to unmount the directory:<br />
<code> umount /usr</code></p>
<p>If you are still unable to unmount the <strong><em>/usr</em></strong> directory then use the <strong><em>which</em></strong> command on the process name you retrieved from using the <strong><em>ps</em></strong> command. This will locate any other processes that are running out of the <strong><em>/usr</em></strong> directory. Then just kill them and try running <strong><em>umount</em></strong> again.</p>
<p>Once you have successfully unmounted the <strong><em>/usr</em></strong> directory, we can proceed with erasing the flash:</p>
<p><code>flash_eraseall /dev/mtd3</code></p>
<p>Now you will need to copy the <em><strong>rootfs.avr32.jffs2-usr</strong></em> file to a memory card or use <strong><em>wget</em></strong> to download it from a Http server. You can just put it into the <strong><em>/tmp</em></strong> directory:</p>
<p>Replace 10.0.0.100 with the IP of your server:<br />
<code>cd /tmp<br />
busybox wget http://10.0.0.100/rootfs.avr32.jffs2-usr</code></p>
<p>And finally write the image to the flash memory:<br />
<code>dd if=/mnt/rootfs.avr32.jffs2-usr of=/dev/mtd3 bs=1056</code></p>
<p>Reboot and everything should load fine. I did notice that the SYS led now flashes instead of remaining on, <del datetime="2009-01-19T22:48:11+00:00">not sure why</del>. The blinking sys LED turns out to be the heartbeat of the system, when the board is idle it flashes slowly and when running a CPU intensive task it flashes rapidly proportional to the CPU load.</p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/01/18/upgrading-the-ngw100-using-buildroot-v230/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mounting an NFS share on the NGW100</title>
		<link>http://nexgentec.com/blog/2009/01/18/mounting-an-nfs-share-on-the-ngw100/</link>
		<comments>http://nexgentec.com/blog/2009/01/18/mounting-an-nfs-share-on-the-ngw100/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 18:58:10 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[NGW100]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=8</guid>
		<description><![CDATA[ The NGW100 is a development board for the Atmel AVR32 AT32AP7000 32-bit MCU. It includes two Ethernet ports, a serial interface, USB client support, and an SD/MMC media slot. The board comes with a port of OpenWrt embedded Linux.
When trying to transfer files to the NGW100 I realized that the FTP server running on [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_13" class="wp-caption alignright" style="width: 210px"><a href="http://nexgentec.com/blog/wp-content/uploads/2009/01/ngw100.jpg"><img src="http://nexgentec.com/blog/wp-content/uploads/2009/01/ngw100.jpg" alt="The NGW100 Development Board" title="ngw100" width="200" height="131" class="size-full wp-image-13" /></a><p class="wp-caption-text">The NGW100 Development Board</p></div> The NGW100 is a development board for the Atmel AVR32 AT32AP7000 32-bit MCU. It includes two Ethernet ports, a serial interface, USB client support, and an SD/MMC media slot. The board comes with a port of OpenWrt embedded Linux.</p>
<p>When trying to transfer files to the NGW100 I realized that the FTP server running on the device is very finicky especially when transferring files onto a media card. For this reason, I decided it would be better to mount a NFS share onto the NGW100.</p>
<p>You may have noticed that mounting an NFS share on the NGW100, the following does not work, resulting in an error:</p>
<p><code>mount -t nfs server:/data/public /media/public<br />
mount: mounting server:/data/public on /media/public failed</code></p>
<p>You must specify the following options in order to mount a NFS share on the NGW100, and it should successfully mount the NFS share.</p>
<p><code>mount -t nfs -o nfsvers=2,nolock server:/data/public /media/public</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2009/01/18/mounting-an-nfs-share-on-the-ngw100/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python Script to burn MP3 CDs using a pls file</title>
		<link>http://nexgentec.com/blog/2008/12/19/hello-world/</link>
		<comments>http://nexgentec.com/blog/2008/12/19/hello-world/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 05:04:40 +0000</pubDate>
		<dc:creator>Marcel Manning</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nexgentec.com/blog/?p=1</guid>
		<description><![CDATA[Ever wanted to easily burn hundreds of songs from a playlist to a data CD? Well now you can!]]></description>
			<content:encoded><![CDATA[<p>Over the Christmas Holiday I spent some time at my in-laws, when the inevitable computer question was asked: &#8220;Can I burn my music from Songbird to a Data CD?&#8221; I immediately scoured the web for some sort of solution but was met with disappointment. I thought to myself, &#8220;I could easily write a script to do this.&#8221;, and so I did.</p>
<p>Thinking of different ways to attack this problem, I thought of possibly burning the CD directly from within the script, but then quickly ruled out that option thinking it would be to complicated and require additional software to be installed. I knew my target audience was Linux users, specifically Ubuntu, since this functionality is already available in iTunes and Windows Media Player, not to mention that I am a huge fan of Ubuntu.</p>
<p><strong>The Deliverables:</strong></p>
<p>This script takes a pls file and converts it to a Brasero Data CD project, for use in MP3 cd players, I have not tested it in Windows as it was developed for Linux.</p>
<p>Download the script: <a href='http://nexgentec.com/blog/wp-content/uploads/2008/12/plstobrasero1.py'>plsToBrasero.py</a></p>
<p>To use the script the user must supply two command line arguments the first the input file which is a playlist file generated by songbird using the export playlist plugin.</p>
<p>Sample:<br />
<code>python plsToBrasero.py input.pls output.burn</code></p>
]]></content:encoded>
			<wfw:commentRss>http://nexgentec.com/blog/2008/12/19/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
