KeyWords: Xenomai, Real Time, Kernel, Ubuntu
I recently installed the real time framework for Linux Xenomai . To install it, I have based on instructions from [1] , but as some problems arose with the installation I decided to leave record on the part of the installation process.
1. Downloading the kernel sources and Xenomai
- # cd / usr / src
- Disclaimer versions of the kernel and Xenomai:
- Xenomai version: 2.4.7
Xenomai svn co http://svn.gna.org/svn/xenomai/trunk
- kernel version: 2.6.27.19 of www.kernel.org
- Xenomai version: 2.4.7
- # tar-xjf linux -2.6.xx.yy.tar.bz2
- # ln-s linux linux-2.6.xx.yy
2. Xenomai Apply patch to the Linux source
- # cd Xenomai -> scripts / prepare-kernel.sh
- There we asked the routes to the kernel sources to we want to apply the patch, the machine we are working and Xenomai patch path that we just downloaded.
3. Compiling the Kernel *** Are Known to cause troubles with Xenomai *** note: Conflicts with PC Speaker Xenomai support device Menu *** Drivers / Input device support / Miscellaneous devices NOTE: Xenomai Needs Either X_86_LOCAL_APIC enabled or disabled HPET_TIMER \u0026lt;/ cite> therefore had to be clear:
options
this
- # update-initramfs-c-k \u0026lt;version>
- # gedit / boot / grub / menu.lst &
- title My Distro (\u0026lt;version>)
Ubuntu_ title \u0026lt;version> _Xenomai
root (hd \u0026lt;x> \u0026lt;x>)
kernel / boot/bzImage- \u0026lt;version> ro root = LABEL = / initrd
/ boot/initrd- \u0026lt;version>.
img
5. Reboot the system with the new kernel
6. Configuring and compiling Xenomai
7. Once at this point you have to run the examples in testsuite hosted 8. Possible errors when running Xenomai examples of
- "Incompatible feature set userland requires" tsc "kernel provides" September fastsynch smp "missing" tsc "
The first time I tried run the test out this decision, which was corrected simply by returning to step 6 Configuring and compiling Xenomai ,
doing:
# make cleanand instead of. / configuration ->. / configuration - disable-x86-tsc
and recompiling Xenomai sources.
I hope this helps those who want to install the real time system in Ubuntu.