<?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=Hik</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=Hik"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Hik"/>
		<updated>2026-04-08T10:58:44Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2610</id>
		<title>Xenomai - Mini Howto</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2610"/>
				<updated>2009-02-21T12:55:28Z</updated>
		
		<summary type="html">&lt;p&gt;Hik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Xenomai ===&lt;br /&gt;
&lt;br /&gt;
The following quick guide gives a rough overview how I got Adeos &amp;amp; Xenomai (real-time extension for Linux) running on the verdex.&lt;br /&gt;
&lt;br /&gt;
=== Quick Install Guide ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Gumstix OE setup ====&lt;br /&gt;
&lt;br /&gt;
At first, [http://www.gumstix.net/Software/view/Getting-started/Quick-start/111.html setup the build environment].&lt;br /&gt;
&lt;br /&gt;
Note, that the step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat gumstix-oe/extras/profile &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
defines environment variables - amongst others, it sets the directory for USERBRANCH which is used to provide our custom bitbake package.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Custom Configuration ====&lt;br /&gt;
&lt;br /&gt;
Download the [http://omnibus.uni-freiburg.de/~zitteret/files/gumstix/xeno-user-collection.tar.bz2 user.collection to build Xenomai for Gumstix OE]. Unpacking the file in the Gumstix OE root directory will give the following structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user.collection&lt;br /&gt;
user.collection/conf&lt;br /&gt;
user.collection/conf/machine&lt;br /&gt;
user.collection/conf/machine/include&lt;br /&gt;
user.collection/packages&lt;br /&gt;
user.collection/packages/xenomai&lt;br /&gt;
user.collection/packages/xenomai/xenomai-2.4.6&lt;br /&gt;
user.collection/packages/linux&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24/gumstix-custom-verdex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3: (Re-)build the kernel and system ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ bitbake gumstix-xenomai-kernel&lt;br /&gt;
$ bitbake -c rebuild task-base-gumstix&lt;br /&gt;
$ bitbake -c rebuild gumstix-basic-image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Images ====&lt;br /&gt;
&lt;br /&gt;
The kernel and root filesystem image can be found in &amp;lt;i&amp;gt;tmp/deploy/glibc/images&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Xenomai for verdex with Qemu ===&lt;br /&gt;
&lt;br /&gt;
It is also possible to run the real-time kernel within Qemu. However, it might be necessary to slow down the clock of the emulated system (Probably, as your host computer is too slow).&lt;br /&gt;
&lt;br /&gt;
The following steps can help:&lt;br /&gt;
&lt;br /&gt;
Alter the file &amp;lt;tt&amp;gt;hw/pxa2xx_timer.c&amp;lt;/tt&amp;gt; in the Qemu sources:&lt;br /&gt;
&lt;br /&gt;
1. Change all occurences of &amp;lt;tt&amp;gt;qemu_get_clock(vm_clock)&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;PXA2XX_QEMU_GET_CLOCK()&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Define the macro &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define PXA2XX_QEMU_GET_CLOCK()     (qemu_get_clock(vm_clock) &amp;gt;&amp;gt; 4) /* also try 2,3 or use a divider */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hik</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2609</id>
		<title>Xenomai - Mini Howto</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2609"/>
				<updated>2009-02-21T12:52:35Z</updated>
		
		<summary type="html">&lt;p&gt;Hik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Xenomai ===&lt;br /&gt;
&lt;br /&gt;
The following quick guide gives a rough overview how I got Adeos &amp;amp; Xenomai (real-time extension for Linux) running on the verdex.&lt;br /&gt;
&lt;br /&gt;
=== Quick Install Guide ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Gumstix OE setup ====&lt;br /&gt;
&lt;br /&gt;
At first, [http://www.gumstix.net/Software/view/Getting-started/Quick-start/111.html setup the build environment].&lt;br /&gt;
&lt;br /&gt;
Note, that the step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat gumstix-oe/extras/profile &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
defines environment variables - amongst others, it sets the directory for USERBRANCH which is used to provide our custom bitbake package.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Custom Configuration ====&lt;br /&gt;
&lt;br /&gt;
Download the [http://omnibus.uni-freiburg.de/~zitteret/files/gumstix/xeno-user-collection.tar.bz2 user.collection to build Xenomai for Gumstix OE]. Unpacking the file in the Gumstix OE root directory will give the following structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user.collection&lt;br /&gt;
user.collection/conf&lt;br /&gt;
user.collection/conf/machine&lt;br /&gt;
user.collection/conf/machine/include&lt;br /&gt;
user.collection/packages&lt;br /&gt;
user.collection/packages/xenomai&lt;br /&gt;
user.collection/packages/xenomai/xenomai-2.4.6&lt;br /&gt;
user.collection/packages/linux&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24/gumstix-custom-verdex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3: (Re-)build the kernel and system ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ bitbake gumstix-xenomai-kernel&lt;br /&gt;
$ bitbake -c rebuild task-base-gumstix&lt;br /&gt;
$ bitbake -c rebuild gumstix-basic-image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Images ====&lt;br /&gt;
&lt;br /&gt;
The kernel and root filesystem image can be found in &amp;lt;i&amp;gt;tmp/deploy/glibc/images&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Clock issues (Xenomai on verdex with Qemu) ===&lt;br /&gt;
&lt;br /&gt;
It is also possible to run the real-time kernel within Qemu. However, it might be necessary to slow down the clock of the emulated system (Probably, as your host computer is too slow).&lt;br /&gt;
&lt;br /&gt;
The following steps can help:&lt;br /&gt;
&lt;br /&gt;
Alter the file &amp;lt;tt&amp;gt;hw/pxa2xx_timer.c&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
1. Change all occurences of &amp;lt;tt&amp;gt;qemu_get_clock(vm_clock)&amp;lt;/tt&amp;gt; by &amp;lt;tt&amp;gt;PXA2XX_QEMU_GET_CLOCK()&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Define the macro &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define PXA2XX_QEMU_GET_CLOCK()     (qemu_get_clock(vm_clock) &amp;gt;&amp;gt; 4) /* also try 2,3 or use a divider */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hik</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2608</id>
		<title>Xenomai - Mini Howto</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2608"/>
				<updated>2009-02-21T12:52:20Z</updated>
		
		<summary type="html">&lt;p&gt;Hik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Xenomai ===&lt;br /&gt;
&lt;br /&gt;
The following quick guide gives a rough overview how I got Adeos &amp;amp; Xenomai (real-time extension for Linux) running on the verdex.&lt;br /&gt;
&lt;br /&gt;
=== Quick Install Guide ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Gumstix OE setup ====&lt;br /&gt;
&lt;br /&gt;
At first, [http://www.gumstix.net/Software/view/Getting-started/Quick-start/111.html setup the build environment].&lt;br /&gt;
&lt;br /&gt;
Note, that the step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat gumstix-oe/extras/profile &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
defines environment variables - amongst others, it sets the directory for USERBRANCH which is used to provide our custom bitbake package.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Custom Configuration ====&lt;br /&gt;
&lt;br /&gt;
Download the [http://omnibus.uni-freiburg.de/~zitteret/files/gumstix/xeno-user-collection.tar.bz2 user.collection to build Xenomai for Gumstix OE]. Unpacking the file in the Gumstix OE root directory will give the following structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user.collection&lt;br /&gt;
user.collection/conf&lt;br /&gt;
user.collection/conf/machine&lt;br /&gt;
user.collection/conf/machine/include&lt;br /&gt;
user.collection/packages&lt;br /&gt;
user.collection/packages/xenomai&lt;br /&gt;
user.collection/packages/xenomai/xenomai-2.4.6&lt;br /&gt;
user.collection/packages/linux&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24/gumstix-custom-verdex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3: (Re-)build the kernel and system ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ bitbake gumstix-xenomai-kernel&lt;br /&gt;
$ bitbake -c rebuild task-base-gumstix&lt;br /&gt;
$ bitbake -c rebuild gumstix-basic-image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Images ====&lt;br /&gt;
&lt;br /&gt;
The kernel and root filesystem image can be found in &amp;lt;i&amp;gt;tmp/deploy/glibc/images&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Clock issues (Xenomai on verdex with Qemu) ===&lt;br /&gt;
&lt;br /&gt;
It is also possible to run the real-time kernel within Qemu. However, it might be necessary to slow down the clock of the emulated system (Probably, as your host computer is too slow).&lt;br /&gt;
&lt;br /&gt;
The following steps can help:&lt;br /&gt;
&lt;br /&gt;
Alter the file &amp;lt;tt&amp;gt;hw/pxa2xx_timer.c&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
1. Change all occurences of &amp;lt;tt&amp;gt;qemu_get_clock(vm_clock)&amp;lt;/tt&amp;gt; by &amp;lt;tt&amp;gt;PXA2XX_QEMU_GET_CLOCK()&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Define the macro &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define PXA2XX_QEMU_GET_CLOCK()     (qemu_get_clock(vm_clock) &amp;gt;&amp;gt; 4) /* also try 2,3 or use a divider */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Running_qemu#Xenomai_on_verdex_with_Qemu.29]]&lt;/div&gt;</summary>
		<author><name>Hik</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Making_qemu_images&amp;diff=2606</id>
		<title>Making qemu images</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Making_qemu_images&amp;diff=2606"/>
				<updated>2009-02-21T12:30:33Z</updated>
		
		<summary type="html">&lt;p&gt;Hik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Preparing flash / disk images for qemu =&lt;br /&gt;
&lt;br /&gt;
== Flash images ==&lt;br /&gt;
&lt;br /&gt;
You need a kernel and root filesystem for your Gumstix board. Additionally, download one of the [http://www.gumstix.net/feeds/u-boot/ u-boot images] for your platform.&lt;br /&gt;
&lt;br /&gt;
=== Verdex ===&lt;br /&gt;
&lt;br /&gt;
The flash image emulates the flash memory on the Gumstix motherboard. It's a single file that has the size of the emulated flash memory (32MB in the case of the verdex board emulated by qemu). It will contain the same images as the real flash, at the same offsets:&lt;br /&gt;
&lt;br /&gt;
* The u-boot image at offset 0&lt;br /&gt;
* The root file system image at offset 256kB&lt;br /&gt;
* The kernel image at the end of the image offset 31MB&lt;br /&gt;
&lt;br /&gt;
The following 3 files are needed&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;u-boot-verdex-400-r1587.bin&amp;lt;/tt&amp;gt; - u-boot&lt;br /&gt;
* &amp;lt;tt&amp;gt;gumstix-basic-image-gumstix-custom-verdex.jffs2&amp;lt;/tt&amp;gt; - root file system &lt;br /&gt;
* &amp;lt;tt&amp;gt;uImage-2.6.21-r1-gumstix-custom-verdex.bin&amp;lt;/tt&amp;gt; - kernel.&lt;br /&gt;
&lt;br /&gt;
Except for the u-boot image which is not yet built by openembedded, those files can be found in the &amp;lt;tt&amp;gt;tmp/deploy/glibc/images/&amp;lt;/tt&amp;gt; sub-directory of &amp;lt;tt&amp;gt;gumstix-oe&amp;lt;/tt&amp;gt; after running bitbake.&lt;br /&gt;
&lt;br /&gt;
To assemble the image &amp;lt;tt&amp;gt;flash.img&amp;lt;/tt&amp;gt; run the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dd of=flash.img bs=128k count=256 if=/dev/zero&lt;br /&gt;
$ dd of=flash.img bs=128k conv=notrunc if=u-boot-verdex-400-r1587.bin&lt;br /&gt;
$ dd of=flash.img bs=128k conv=notrunc seek=2 if=gumstix-basic-image-gumstix-custom-verdex.jffs2&lt;br /&gt;
$ dd of=flash.img bs=128k conv=notrunc seek=248 if=uImage-2.6.21-r1-gumstix-custom-verdex.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Connex ===&lt;br /&gt;
&lt;br /&gt;
For Connex boards with 16MB flash the steps slightly differ:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dd of=cflash.img bs=128k count=128 if=/dev/zero&lt;br /&gt;
$ dd of=cflash.img bs=128k conv=notrunc if=u-boot-connex-400-r1604.bin&lt;br /&gt;
$ dd of=cflash.img bs=128k conv=notrunc seek=2 if=gumstix-basic-image-gumstix-custom-connex.jffs2&lt;br /&gt;
$ dd of=cflash.img bs=128k conv=notrunc seek=120 if=uImage-2.6.21-r1-gumstix-custom-connex.bin&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== mmc/CF images ==&lt;br /&gt;
&lt;br /&gt;
Those images are used to emulate the flash memory cards that are present on netmicroSD, netMMC, netCF... expansion boards. It is possible to &lt;br /&gt;
boot from them or just to store more data in them. &lt;br /&gt;
&lt;br /&gt;
On the Linux host, the &amp;lt;tt&amp;gt;losetup&amp;lt;/tt&amp;gt;(1) utility is used to access those images as real block devices, &lt;br /&gt;
&lt;br /&gt;
/!\ The current qemu version seems to be limited to 1GB card images. The examples presented here will thus use 1GB images.&lt;br /&gt;
&lt;br /&gt;
* Creating the empty image&lt;br /&gt;
&lt;br /&gt;
 dd of=mmc.img bs=1M count=1024 if=/dev/zero&lt;br /&gt;
&lt;br /&gt;
* Creating a block device for the whole image &lt;br /&gt;
&lt;br /&gt;
 losetup /dev/loop0 mmc.img&lt;br /&gt;
&lt;br /&gt;
* Running fdisk to partition the card&lt;br /&gt;
&lt;br /&gt;
 fdisk /dev/loop0&lt;br /&gt;
&lt;br /&gt;
=== Partitionning the card ===&lt;br /&gt;
&lt;br /&gt;
In the most simple case, one single partition (VFAT, ext2 or ext3) can cover the whole card. However, in order to boot from the card and use it for the root file system, at least 2 partitions, one small VFAT to hold the kernel and the u-boot script, and a bigger one, ext2  for the root file system. The folloing example shows a basic setup (using fdisk 'p' command):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  Command (m for help): p&lt;br /&gt;
&lt;br /&gt;
 Disk /dev/loop0: 1073 MB, 1073741824 bytes&lt;br /&gt;
 255 heads, 63 sectors/track, 130 cylinders&lt;br /&gt;
 Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
 Disk identifier: 0x25c4dea4&lt;br /&gt;
&lt;br /&gt;
      Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
 /dev/loop0p1               1           7       56196    6  FAT16&lt;br /&gt;
 /dev/loop0p2               8         130      987997+  83  Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Accessing the partitions ===&lt;br /&gt;
&lt;br /&gt;
In order to access the partitions, 2 more loop devices have to be created with losetup. The offsets into the main loop device (&amp;lt;tt&amp;gt;/dev/loop0&amp;lt;/tt&amp;gt;) need to be specified. For this, use &amp;lt;tt&amp;gt;fdisk -ul&amp;lt;/tt&amp;gt; to find the starting block of your partitions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disk /dev/loop0: 1073 MB, 1073741824 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors&lt;br /&gt;
Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
Disk identifier: 0x25c4dea4&lt;br /&gt;
&lt;br /&gt;
      Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
/dev/loop0p1              63      112454       56196    6  FAT16&lt;br /&gt;
/dev/loop0p2          112455     2088449      987997+  83  Linux&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Partition 1 starts at block 63 (which is 63*512 = 32256 bytes) and partition 2 starts at block 112455 (which is 112455*512 = 57576960 bytes).&lt;br /&gt;
&lt;br /&gt;
The following commands will then create the 2 loop devices:&lt;br /&gt;
&lt;br /&gt;
 losetup -o 32256 /dev/loop1 /dev/loop0&lt;br /&gt;
 losetup -o 57576960 /dev/loop2 /dev/loop0&lt;br /&gt;
&lt;br /&gt;
/dev/loop1 and /dev/loop2 will now access the 2 partitions. &lt;br /&gt;
&lt;br /&gt;
=== Formatting and mounting ===&lt;br /&gt;
&lt;br /&gt;
  mkfs -t vfat /dev/loop1&lt;br /&gt;
  mkfs -t ext2 /dev/loop2&lt;br /&gt;
&lt;br /&gt;
  mkdir /mnt/1&lt;br /&gt;
  mkdir /mnt/2&lt;br /&gt;
&lt;br /&gt;
  mount /dev/loop1 /mnt/1&lt;br /&gt;
  mount /dev/loop2 /mnt/2&lt;br /&gt;
&lt;br /&gt;
=== Copying data ===&lt;br /&gt;
&lt;br /&gt;
The kernel image (called &amp;lt;tt&amp;gt;uImage&amp;lt;/tt&amp;gt; on the docs on using root on MMC/SD), the u-boot script &amp;lt;tt&amp;gt;gumstix-factory.script&amp;lt;/tt&amp;gt; are needed on /mnt/1.&lt;br /&gt;
&lt;br /&gt;
To transfer the root filesystem to /mnt/2, un-tar the &amp;lt;tt&amp;gt;gumstix-basic-image-gumstix-custom-verdex.tar.gz&amp;lt;/tt&amp;gt; found in the &amp;lt;tt&amp;gt;tmp/deploy/glibc/images/gumstix-custom-verdex/&amp;lt;/tt&amp;gt; directory. &lt;br /&gt;
&lt;br /&gt;
=== Cleaning up ===&lt;br /&gt;
&lt;br /&gt;
Before starting qemu, both partitions should be un-monted and the 3 loop devices should be un-configured. Failing to do that will almost certainly corrupt the images.&lt;br /&gt;
&lt;br /&gt;
 umount /mnt/2&lt;br /&gt;
 umount /mnt/1&lt;br /&gt;
 losetup -d /dev/loop2 &lt;br /&gt;
 losetup -d /dev/loop1&lt;br /&gt;
 losetup -d /dev/loop0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:How_to_-_qemu]]&lt;/div&gt;</summary>
		<author><name>Hik</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2604</id>
		<title>Xenomai - Mini Howto</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Xenomai_-_Mini_Howto&amp;diff=2604"/>
				<updated>2009-02-21T11:43:53Z</updated>
		
		<summary type="html">&lt;p&gt;Hik: New page: === Xenomai ===  The following quick guide gives a rough overview how I got Adeos &amp;amp; Xenomai (real-time extension for Linux) running on the verdex.  === Quick Install Guide ===  ==== Step 1...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Xenomai ===&lt;br /&gt;
&lt;br /&gt;
The following quick guide gives a rough overview how I got Adeos &amp;amp; Xenomai (real-time extension for Linux) running on the verdex.&lt;br /&gt;
&lt;br /&gt;
=== Quick Install Guide ===&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Gumstix OE setup ====&lt;br /&gt;
&lt;br /&gt;
At first, [http://www.gumstix.net/Software/view/Getting-started/Quick-start/111.html setup the build environment].&lt;br /&gt;
&lt;br /&gt;
Note, that the step&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat gumstix-oe/extras/profile &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
defines environment variables - amongst others, it sets the directory for USERBRANCH which is used to provide our custom bitbake package.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Custom Configuration ====&lt;br /&gt;
&lt;br /&gt;
Download the [http://omnibus.uni-freiburg.de/~zitteret/files/gumstix/xeno-user-collection.tar.bz2 user.collection to build Xenomai for Gumstix OE]. Unpacking the file in the Gumstix OE root directory will give the following structure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
user.collection&lt;br /&gt;
user.collection/conf&lt;br /&gt;
user.collection/conf/machine&lt;br /&gt;
user.collection/conf/machine/include&lt;br /&gt;
user.collection/packages&lt;br /&gt;
user.collection/packages/xenomai&lt;br /&gt;
user.collection/packages/xenomai/xenomai-2.4.6&lt;br /&gt;
user.collection/packages/linux&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24&lt;br /&gt;
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24/gumstix-custom-verdex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3: (Re-)build the kernel and system ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ bitbake gumstix-xenomai-kernel&lt;br /&gt;
$ bitbake -c rebuild task-base-gumstix&lt;br /&gt;
$ bitbake -c rebuild gumstix-basic-image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Images ====&lt;br /&gt;
&lt;br /&gt;
The kernel and root filesystem image can be found in &amp;lt;i&amp;gt;tmp/deploy/glibc/images&amp;lt;/i&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Hik</name></author>	</entry>

	</feed>