Xenomai - Mini Howto

From Gumstix User Wiki
Revision as of 03:43, 21 February 2009 by Hik (Talk | contribs) (New page: === Xenomai === The following quick guide gives a rough overview how I got Adeos & Xenomai (real-time extension for Linux) running on the verdex. === Quick Install Guide === ==== Step 1...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Xenomai

The following quick guide gives a rough overview how I got Adeos & Xenomai (real-time extension for Linux) running on the verdex.

Quick Install Guide

Step 1: Gumstix OE setup

At first, setup the build environment.

Note, that the step

$ cat gumstix-oe/extras/profile >> ~/.bashrc

defines environment variables - amongst others, it sets the directory for USERBRANCH which is used to provide our custom bitbake package.

Step 2: Custom Configuration

Download the user.collection to build Xenomai for Gumstix OE. Unpacking the file in the Gumstix OE root directory will give the following structure:

user.collection
user.collection/conf
user.collection/conf/machine
user.collection/conf/machine/include
user.collection/packages
user.collection/packages/xenomai
user.collection/packages/xenomai/xenomai-2.4.6
user.collection/packages/linux
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24
user.collection/packages/linux/gumstix-xenomai-kernel-2.6.24/gumstix-custom-verdex

Step 3: (Re-)build the kernel and system

$ bitbake gumstix-xenomai-kernel
$ bitbake -c rebuild task-base-gumstix
$ bitbake -c rebuild gumstix-basic-image

Step 4: Images

The kernel and root filesystem image can be found in tmp/deploy/glibc/images.