<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sagar+Behere</id>
		<title>Gumstix User Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sagar+Behere"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Sagar_Behere"/>
		<updated>2026-05-06T19:25:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5759</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5759"/>
				<updated>2012-02-03T13:15:44Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: /* The debian rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well. Note that this isn't a newbie tutorial. You still need to know what you are doing.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this.&lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5758</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5758"/>
				<updated>2012-02-03T13:13:58Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: /* The debian rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well. Note that this isn't a newbie tutorial. You still need to know what you are doing.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this.&lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5757</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5757"/>
				<updated>2012-02-03T13:13:16Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: /* The debian rootfs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well. Note that this isn't a newbie tutorial. You still need to know what you are doing.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this.&lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in overorootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5756</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5756"/>
				<updated>2012-02-03T13:08:45Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well. Note that this isn't a newbie tutorial. You still need to know what you are doing.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this.&lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5755</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5755"/>
				<updated>2012-02-03T13:07:44Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well. Note that this isn't a newbie tutorial. You still need to know what you are doing.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5754</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5754"/>
				<updated>2012-02-03T11:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overorootfs; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5753</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5753"/>
				<updated>2012-02-03T11:25:38Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: changed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get multistrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overoroot; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5752</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5752"/>
				<updated>2012-02-02T19:53:14Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh --arch=arm --linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get mulitstrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg --configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overoroot; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then wrap up the installation with&lt;br /&gt;
 sudo dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5751</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5751"/>
				<updated>2012-02-02T19:48:05Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: Finished editing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh –arch=arm –linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;br /&gt;
&lt;br /&gt;
==The debian rootfs==&lt;br /&gt;
&lt;br /&gt;
These instructions are based on http://gobysoft.com/wiki/InstallOnGumstixOvero and http://paul-strefling.blogspot.com/2011/06/installing-debian-on-gumstix-overo.html&lt;br /&gt;
&lt;br /&gt;
* Get the qemu-arm-static binary. &lt;br /&gt;
 sudo apt-get install qemu-user-static&lt;br /&gt;
for ubuntu use &lt;br /&gt;
 apt-get install qemu-kvm-extras-static&lt;br /&gt;
* Get mulitstrap&lt;br /&gt;
 sudo apt-get install multistrap&lt;br /&gt;
* Make a directory to create the debian rootfs with&lt;br /&gt;
 mkdir overorootfs&lt;br /&gt;
* Create a file called emdebian.conf in debian-rootfs and put in the following (add whatever packages you wish)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[General]&lt;br /&gt;
arch=armel&lt;br /&gt;
noauth=true&lt;br /&gt;
unpack=true&lt;br /&gt;
debootstrap=Grip Networking Debian Misc&lt;br /&gt;
aptsources=Grip Debian&lt;br /&gt;
&lt;br /&gt;
[Grip]&lt;br /&gt;
packages=locales udev adduser sudo nano build-essential less module-init-tools &lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Misc]&lt;br /&gt;
packages=wget&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
components=main dev&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Networking]&lt;br /&gt;
packages=netbase ifupdown iproute net-tools iputils-ping ntp wireless-tools isc-dhcp-client wpasupplicant&lt;br /&gt;
source=http://www.emdebian.org/grip&lt;br /&gt;
keyring=emdebian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&lt;br /&gt;
[Debian]&lt;br /&gt;
packages=zile tsocks&lt;br /&gt;
source=http://ftp.se.debian.org/debian/&lt;br /&gt;
keyring=debian-archive-keyring&lt;br /&gt;
suite=stable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create the root filesystem with&lt;br /&gt;
 sudo multistrap -a armel -d overorootfs/ -f emdebian.conf&lt;br /&gt;
* Copy the qemu binary so we can chroot&lt;br /&gt;
 sudo cp /usr/bin/qemu-arm-static overorootfs/usr/bin&lt;br /&gt;
* Chroot into the system&lt;br /&gt;
 sudo chroot overorootfs /bin/bash&lt;br /&gt;
* Finish setting up the packages with&lt;br /&gt;
 dpkg –configure -a&lt;br /&gt;
Answer &amp;quot;no&amp;quot; when asked if you want to use &amp;quot;dash&amp;quot; as &amp;quot;/bin/sh&amp;quot;. If ifupdown fails, just run again&lt;br /&gt;
 dpkg –configure -a&lt;br /&gt;
* Add a user and give him sudo permissions&lt;br /&gt;
 adduser sagar;printf &amp;quot;sagar ALL=(ALL) ALL&amp;quot; &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
* Configure locales. 136 is en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
* Set the DNS with&lt;br /&gt;
 printf &amp;quot;nameserver 8.8.8.8&amp;quot; &amp;gt; /etc/resolv.conf&lt;br /&gt;
* Get out of the chroot by pressing Ctrl+D and get in again with&lt;br /&gt;
 sudo chroot overorootfs&lt;br /&gt;
At this point, you should be able to&lt;br /&gt;
 ping www.google.com&lt;br /&gt;
if your host has internet access&lt;br /&gt;
* create /etc/fstab and add the following&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# /etc/fstab: static file system information.&lt;br /&gt;
#&lt;br /&gt;
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;&lt;br /&gt;
proc            /proc           proc    defaults        0       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure hostname&lt;br /&gt;
 printf &amp;quot;gumstix&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 printf &amp;quot;127.0.0.1 gumstix\n&amp;quot; &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;
* The final task inside the chroot environment is to enable the serial console. Edit /etc/inittab and add the following line in the end&lt;br /&gt;
 T0:2345:respawn:/sbin/getty -L 115200 ttyO2 vt102&lt;br /&gt;
* Update apt sources&lt;br /&gt;
 apt-get update&lt;br /&gt;
* Exit the chroot and copy the modules over to the overorootfs&lt;br /&gt;
 cp -a {modulesdirectory}/lib/modules/2.6.38.8-ipipe overorootfs/lib/modules&lt;br /&gt;
&lt;br /&gt;
==Xenomai user space==&lt;br /&gt;
&lt;br /&gt;
This section is based on instructions at http://www.xenomai.org/index.php/Building_Debian_packages&lt;br /&gt;
&lt;br /&gt;
The userspace part of Xenomai needs to be compiled now. The traditional way is to cross-compile it, as described in the xenomai documentation. However, we can take advantage of our arm chroot environment to avoid cross-compilation. Also, we will create debian packages i.e. .deb files for the userspace part of the xenomai installation. We proceed as follows&lt;br /&gt;
* copy {xenomaisourcedir} to overorootfs and&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chroot overorootfs&lt;br /&gt;
apt-get install devscripts debhelper dh-kpatches findutils&lt;br /&gt;
cd {xenomaisourcedir};DEBEMAIL=&amp;quot;your@email&amp;quot; DEBFULLNAME=&amp;quot;Your Name&amp;quot; debchange -v 2.6.0 Release 2.6.0&lt;br /&gt;
debuild -uc -us&lt;br /&gt;
cd ../; dpkg -i libxenomai1_2.6.0_armel.deb libxenomai-dev_2.6.0_armel.deb xenomai-runtime_2.6.0_armel.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Preparing the SD card==&lt;br /&gt;
&lt;br /&gt;
There are a lot of guides describing how to partition and format a SD card for using on the overo. I used the one at http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html. The official guide is at http://gumstix.org/create-a-bootable-microsd-card.html. Read those guides and come to a point where you have created the two partitions and formatted them. Then continue reading here. &lt;br /&gt;
&lt;br /&gt;
[NOTE: I am assuming that the first partition of your card is mounted under /media/FAT and the 2nd partition is under /media/rootfs]&lt;br /&gt;
&lt;br /&gt;
Get pre-built MLO and u-boot.bin from http://gumstix.org/download-prebuilt-images.html . I got mine from http://cumulus.gumstix.org/images/angstrom/factory/2011-08-30-1058/&lt;br /&gt;
 cp MLO /media/FAT; cp u-boot.bin /media/FAT&lt;br /&gt;
 cp {kernelsourcedir}/arch/arm/boot/uImage /media/FAT&lt;br /&gt;
 cd overoroot; sudo rsync -aP . /media/rootfs/&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==Testing the install==&lt;br /&gt;
Boot the gumstix from the SD card and log in as the user you created. Then sudo dpkg –configure -a to wrap up the installation.&lt;br /&gt;
&lt;br /&gt;
In order to get wireless working, I had to add the files sd8686.bin and sd8686_helper.bin to /lib/firmware/ on the rootfs. Sorry, I don't remember where I got them from.&lt;br /&gt;
&lt;br /&gt;
To test xenomai&lt;br /&gt;
 cd /usr/lib/xenomai;./latency -p0 -t1&lt;br /&gt;
You can also run the other programs in that directory&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5750</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5750"/>
				<updated>2012-02-02T19:32:29Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: Finished writing how to compile the kernel&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how I (Sagar Behere) installed Debian squeeze and vanilla linux kernel 2.6.38.8 patched with Xenomai 2.6.0 on the gumstix Overo. The contents of this document are probably applicable to other software versions as well.&lt;br /&gt;
&lt;br /&gt;
DISCLAIMER: There may be better ways to do this. I am not an expert. This worked for me. Your mileage may vary. &lt;br /&gt;
&lt;br /&gt;
The standard method to compile a kernel and rootfs is to use the Open Embedded build system that is described [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here]. However, I did not use that method because I couldn't figure out how to build any of the kernel versions for which xenomai patches could be found (at the time of writing, the virtual/kernel pointed to version 3.0). Also, I prefer to use the debian userland, rather than Ångstrom. Therefore, the method described here does NOT use Open Embedded.&lt;br /&gt;
&lt;br /&gt;
==Preparing the host==&lt;br /&gt;
&lt;br /&gt;
The ''host'' is the computer you will use to build the kernel and rootfs. The ''target'' is the gumstix Overo COM on which the kernel and rootfs will be deployed. My host is an x86 computer running Debian squeeze. The method described here will probably work on a host running Ubuntu, with some modifications&lt;br /&gt;
&lt;br /&gt;
Add emdebian to your apt sources and get needed packages&lt;br /&gt;
 sudo apt-get install emdebian-archive-keyring&lt;br /&gt;
 sudo apt-get install gcc-4.3-arm-linux-gnueabi binutils-arm-linux-gnueabi&lt;br /&gt;
&lt;br /&gt;
This should pull in all the dependencies and you'll now have an arm cross-toolchain installed on your system. For Ubuntu users also, cross tool chains are available. See the http://www.linaro.org/.&lt;br /&gt;
&lt;br /&gt;
==Compiling the kernel==&lt;br /&gt;
&lt;br /&gt;
* Download and extract xenomai. Let's call the resulting xenomai-2.6.0 dir as {xenomaisourcedir}&lt;br /&gt;
 wget -c http://download.gna.org/xenomai/stable/xenomai-2.6.0.tar.bz2; tar jxvf xenomai-2.6.0.tar.bz2; &lt;br /&gt;
* Supported kernels can be found in {xenomaisourcedir}/ksrc/arch/arm/patches/. I saw the file adeos-ipipe-2.6.38.8-arm-1.18-04.patch and so decided to use that kernel&lt;br /&gt;
* Download the kernel and extract it. Let's call the resulting linux-2.6.8.8 directory {kernelsourcedir}&lt;br /&gt;
 wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2; tar jxvf linux-2.6.38.8.tar.bz2&lt;br /&gt;
* Patch the kernel sources with Xenomai. Go to {xenomaisourcedir} and &lt;br /&gt;
 scripts/prepare-kernel.sh –arch=arm –linux=/path/where/you/untarred/linux-2.6.38.8.tar.bz2&lt;br /&gt;
It'll suggest the right patch to be applied.&lt;br /&gt;
* Set the default kernel configuration&lt;br /&gt;
 cd {kernelsourcedir}; cp arch/arm/configs/omap2plus_defconfig .config&lt;br /&gt;
* Configure the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig&lt;br /&gt;
I removed support for almost all the boards except the Overo and also removed support for everything execpt OMAP3. Configure the xenomai related stuff too.&lt;br /&gt;
* Build the kernel with&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules&lt;br /&gt;
* To deploy the kernel, you'll need the uImage which can be found at {kernelsourcedir}/arch/arm/boot/uImage You'll also need to put the resulting modules into the debian rootfs that we'll create later. For now, I merely put all the modules in some directory {modulesdirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_MOD_PATH=/path/to/{modulesdirectory} modules_install; &lt;br /&gt;
You can optionally also put the firmware in some directory {firmwaredirectory} with&lt;br /&gt;
 make ARCH=arm INSTALL_FW_PATH=/path/to/{firmwaredirectory} firmware_install&lt;br /&gt;
The {modulesdirectory} will contain a directory lib/modules/kernel-version that we'll copy over to our rootfs later.&lt;br /&gt;
&lt;br /&gt;
We still need to compile the xenomai userspace stuff, but we'll do that after setting up the rootfs&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5749</id>
		<title>Installing Debian and Xenomai on gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Debian_and_Xenomai_on_gumstix_Overo&amp;diff=5749"/>
				<updated>2012-02-02T19:16:37Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: First edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First edit&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_Debian&amp;diff=5748</id>
		<title>Category:How to - Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_Debian&amp;diff=5748"/>
				<updated>2012-02-02T19:16:11Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: Created page linke for installing Debian and xenomai on overo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Installing Debian and Xenomai on gumstix Overo]]&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_Debian&amp;diff=5747</id>
		<title>Category:How to - Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_Debian&amp;diff=5747"/>
				<updated>2012-02-02T19:08:05Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: First edit.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First edit.&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5746</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5746"/>
				<updated>2012-02-02T19:06:55Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: Added category for Debian&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;''Welcome to the Gumstix User Wiki''&amp;lt;/big&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
This site is provided so that users of the Gumstix OpenEmbedded build system can share their knowledge, showcase their Gumstix-based projects, and pass on links to other sources of information and materials.  This information is entirely user generated and supported.  Please contribute your know-how to help your fellow developers.&lt;br /&gt;
&lt;br /&gt;
  '''Customer additions and edits are encouraged, but please read the help page before you make any major edits.'''&lt;br /&gt;
  ''Note:  you will need to create a new user account if you would like to contribute or edit content on this site.''&lt;br /&gt;
&lt;br /&gt;
Go to the [http://gumstix.org Gumstix Developer's website] for official Gumstix supported documentation on OpenEmbedded and other information of interest to developers:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's - Focus]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - Android|Android]]&lt;br /&gt;
* [[:Category:how to - eclipse|Eclipse]]&lt;br /&gt;
* [[:Category:How_to_-_Migrate_to_Gumstix|Migrate to Gumstix]]&lt;br /&gt;
* [[Linaro]]&lt;br /&gt;
* [[:Category:how to - Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:how to - Debian|Debian]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[1-wire|1-wire]]&lt;br /&gt;
* [[:Category:how to - audio|Audio]]&lt;br /&gt;
* [[:Category:how to - adc|ADC]]&lt;br /&gt;
* [[AutoLogin|Automatic Logins]]&lt;br /&gt;
* [[:Category:how to - batteries|Batteries]]&lt;br /&gt;
* [[:Category:how to - bluetooth|Bluetooth]]&lt;br /&gt;
* [[:Category:how to - Buildroot overo|Buildroot (overo)]]&lt;br /&gt;
* [[:Category:Connect_hardware|Connect Hardware]]&lt;br /&gt;
* [[Caspa_camera_boards|Caspa camera boards]]&lt;br /&gt;
* [[:Category:how to - displays|Displays]]&lt;br /&gt;
* [[:Category:how to - DSP|DSP]]&lt;br /&gt;
* [[:Category:how_to_-_ethernet|Ethernet]]&lt;br /&gt;
* [[:Category:how_to_-_expansion_boards|Expansion Boards]]&lt;br /&gt;
* [[:Category:how to - fedora|Fedora]]&lt;br /&gt;
* [[:Category:how to - Fast Boot|Fast Boot]]&lt;br /&gt;
* [[:Category:how to - Fortran|Fortran]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Gaining Console Connection via Terminal]]&lt;br /&gt;
* [[:Category:how to - git|Git]]&lt;br /&gt;
* [[GPIO|GPIO]]&lt;br /&gt;
* [[GPS|GPS]]&lt;br /&gt;
* [[:Category:how to - gui|GUI]]&lt;br /&gt;
* [[:Category:how to - general|General]]&lt;br /&gt;
* [[:Category:how to - Build helloworld|HelloWorld]]&lt;br /&gt;
* [[HelloWorld|HelloWorld in Python, C, C++]]&lt;br /&gt;
* [[HelloWorld in Java|HelloWorld in Java]]&lt;br /&gt;
* [[:Category:how to - i2c|I2C]]&lt;br /&gt;
* [[:Category:how to - IMU|IMU]]&lt;br /&gt;
* [[:Category:how to - JAVA|JAVA]]&lt;br /&gt;
* [[Kernel Reconfiguration|Kernel Reconfiguration]]&lt;br /&gt;
* [[:Category:how to - Known Issues|Known Issues]]&lt;br /&gt;
* [[:Category:how to - LCD|LCD]]&lt;br /&gt;
* [[:Category:how to - Low Power|Low Power]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - linux|Linux]]&lt;br /&gt;
* [[AudioIn | Use a microphone]]&lt;br /&gt;
* [[MicroSd |MicroSD Duplication]]&lt;br /&gt;
* [[:Category:how to - Network_Boot|Network Boot]]&lt;br /&gt;
* [[:Category:how to - OpenEmbedded|OpenEmbedded]]&lt;br /&gt;
* [[:Category:how to - player|Player]]&lt;br /&gt;
* [[:Category:How to - PWM|PWM]]&lt;br /&gt;
* [[:Category:How_to_-_qemu|Qemu]]&lt;br /&gt;
* [[:Category:How_to_-_Qt|Qt]]&lt;br /&gt;
* [[:Category:how to - robotics|Robotics]]&lt;br /&gt;
* [[ROS|ROS]]&lt;br /&gt;
* [[RoboVero|RoboVero]]&lt;br /&gt;
* [[:Category:how to - security|Security]]&lt;br /&gt;
* [[:Category:SPI|SPI]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:SUSE|SUSE]]&lt;br /&gt;
* [[Remote Debugging with GDB|Remote Debugging with GDB]]&lt;br /&gt;
* [[U-Boot|UBoot]]&lt;br /&gt;
* [[:Category:how to - usb|USB]]&lt;br /&gt;
* [[Verdex Git Repository]]&lt;br /&gt;
* [[Verdex JTAG]]&lt;br /&gt;
* [[VerdexPro U-Boot Flashing Fix]]&lt;br /&gt;
* [[:Category:how to - virtual machine|Virtual Machine]]&lt;br /&gt;
* [[:Category:how to - webcams|Webcams]]&lt;br /&gt;
* [[:Category:how to - wifi|Wifi]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:projects|User projects]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:User_pics_videos|User Pics &amp;amp; Videos]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:resources|Resources]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:faqs|Questions and Answers]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:projects - audio|Audio]]&lt;br /&gt;
* [[:Category:projects - competitions|Competitions]]&lt;br /&gt;
* [[:Category:projects - displays|Displays]]&lt;br /&gt;
* [[:Category:projects - pdas|PDA's]]&lt;br /&gt;
* [[:Category:Projects_-Research_and_Education|Research &amp;amp; Education]]&lt;br /&gt;
* [[:Category:projects - monitoring and control|Monitoring and Control]]&lt;br /&gt;
* [[:Category:projects - robotics|Robotics &amp;amp; UAV's]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [http://www.youtube.com/results?uploaded=m&amp;amp;search_query=gumstix&amp;amp;search_type=videos&amp;amp;suggested_categories=28&amp;amp;uni=3&amp;amp;search_sort=video_date_uploaded Gumstix on Youtube]&lt;br /&gt;
* [http://www.flickr.com/search/?q=gumstix&amp;amp;s=rec Gumstix in Flickr]&lt;br /&gt;
* [http://www.cs.umd.edu/alandaluz/nchen/ebook/dualdisp-chi.mov Dual Display device at UMD]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Windows CE solution|Solutions for Windows CE]]&lt;br /&gt;
* [[Qt solution|Solutions for Qt]]&lt;br /&gt;
* [[Manufacturer's specifications|Specifications for Processors &amp;amp; Components]]&lt;br /&gt;
* [[Software information]]&lt;br /&gt;
* [[Supported hardware]]&lt;br /&gt;
* [[Third Party Boards]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
Gumstix Community Mailing List (no cost)&lt;br /&gt;
* [https://lists.sourceforge.net/lists/listinfo/gumstix-users Sign-up]&lt;br /&gt;
* [http://old.nabble.com/Gumstix-f22543.html Archives]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For information and support for the legacy gumstix buildroot build system:&lt;br /&gt;
[http://docwiki.gumstix.com/Main_Page docwiki.gumstix.com]&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:Debian&amp;diff=5745</id>
		<title>Category:Debian</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:Debian&amp;diff=5745"/>
				<updated>2012-02-02T19:03:28Z</updated>
		
		<summary type="html">&lt;p&gt;Sagar Behere: First edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First edit&lt;/div&gt;</summary>
		<author><name>Sagar Behere</name></author>	</entry>

	</feed>