Captain's Universe Home
Captain's Universe Home
Cosmic Ray Muon DetectorTeleGarden Pages
Time on MarsBryophyllum Plants
Jupiter Radio AstronomyAncient Pages
Salzburg Tourist GuideEarth Magnetometer
  H O M E     AJAX & MORE     LINUX & MORE     RTAI     XENOMAI     ADEOS IPIPE      
    JAVA & BROWSERS     *NIX     ELECTRONICS     REVIEWS     ARTEMIA     FAIRY SHRIMP      


Xenomai Installation Guide - Installation tutorial for the real time operating system Xenomai, formerly known as RTAI/fusion

Installing Xenomai is almost the same as installing RTAI classic. Here are the few steps for compiling the kernel and compiling Xenomai.

Go to http://download.gna.org/xenomai/stable/ and download the latest stable version and save it to /usr/src. Unpack with:
# cd /usr/src/
# tar xjf xenomai-[version].tar.bz2  
Or go to /usr/src and check out of the SVN repository at gna.org with:
# cd /usr/src/
# svn co http://svn.gna.org/svn/xenomai/trunk xenomai


Get the kernel 2.6.xx.yy from kernel.org, save it in /usr/src and unpack with:
# cd /usr/src/
# tar xjf linux-2.6.xx.yy.tar.bz2
# ln -s linux-2.6.xx.yy linux
Patch the kernel:
# cd /usr/src/linux
# patch -p1 < ../xenomai/arch/i386/patches/[adeos-patch-for-your-kernel-version]
Copy the existing kernel 2.6 config file of your distro to /usr/src/linux
# cp /boot/config-2.6.xxxx /usr/src/linux/.config
Configure the kernel:
# make menuconfig


Compile the kernel:
# make
# make modules_install install
Add the kernel to GRUB. After the kernel is compiled and installed successfully, compile Xenomai:
# cd /usr/src/xenomai
# make menuconfig
Adjust the paths: Xenomai installation directory: default: /usr/realtime/ Kernel build directory: default: /lib/modules/`uname -r`/build If you haven't rebooted with the new kernel yet, change the kernel build directory to i.e. /lib/modules/2.6.13.4-adeos/build.


If you're new to RTAI/fusion just accept the other config options - after saving the config wait until all configuration is done
# make install
If no errors occured, reboot now, select the new kernel from the GRUB menu.

Last-Modified: Sat, 04 Feb 2006 16:04:41 GMT

Google
 
Web www.captain.at
go to top
© 1996-2010 . All rights reserved.
No reproduction, distribution, publishing or transmission of the copyrighted materials at this site is permitted. Policy
go to top