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      


Porting software from RTAI/fusion to Xenomai

The new Xenomai 2.0 real time operating system is actually what would have been RTAI/fusion 1.0. So the changes required for running a fusion program on xenomai are minimal.

This is just a brief list of changes I've encountered so far.

FUSIONXENOMAI
CC = $(shell rtai-config --cc)
LXRT_CFLAGS = $(shell rtai-config --fusion-cflags)
LXRT_LDFLAGS = $(shell rtai-config --fusion-ldflags)
CC = $(shell xeno-config --cc)
LXRT_CFLAGS = $(shell xeno-config --xeno-cflags)
LXRT_LDFLAGS = $(shell xeno-config --xeno-ldflags)
#include <rtai/task.h>
#include <rtai/queue.h>
#include <rtai/intr.h>
#include <rtai/pipe.h>
#include <native/task.h>
#include <native/queue.h>
#include <native/intr.h>
#include <native/pipe.h>
Linking: -lrtai Linking: -lnative
Loading the modules:
rtai_hal.ko
rtai_nucleus.ko
rtai_native.ko
xeno_hal.ko
xeno_nucleus.ko
xeno_native.ko



Common error messages:

make: rtai-config: Command not found - use xeno-config (see above)

error while loading shared libraries: libnative.so.0: cannot open shared object file: No such file or directory
add
/usr/realtime/lib
to /etc/ld.so.conf and run "ldconfig".

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