PSAS/ RealTimeLinux

Early plans for LV2 called for the use of a hard RealTime operating system such as RTLinux. At this point it's not clear whether hard real-time is a requirement for the first launches of LV2.

Some useful references on Linux and RTLinux

Introduction to Real Time: http://www.embedded.com/story/OEG20011016S0120
Linux Documentation Project: http://www.linuxdoc.org/
Linux Kernel 2.4 Internals: http://www.linuxdoc.org/LDP/lki/index.html
Linux Kernel Module Programming Guide: http://www.linuxdoc.org/LDP/lkmpg/mpg.html

A comparison of hard real-time Linux alternatives (22 Dec 2004): http://linuxdevices.com/articles/AT3479098230.html

RTLinux documentation: http://www.rtlinux.com/documents.html

RTLinux review at LinuxDevices.com: http://www.linuxdevices.com/articles/AT7159933937.html

Most of the documentation I see linked from rtlinux.org seems to be quite old. I'd stick with the rtlinux.com link above. Also, there are HTML versions of the official Getting Started and Installation guides in the RTLinux tarball.

RTLinux Setup Notes

RTLinux 3.1-pre3 (

ftp://ftp.rtlinux.com/pub/rtlinux/v3

) does

not

like Linux 2.4.7. Period. Sure, you could make it work, if you felt like adding back a pair of structure members that were globally removed from the kernel sometime after 2.4.5 (or re-coding critical parts of RTLinux). I'll pass on that.

The patch to 2.4.4 from RTLinux 3.1-pre3 does work on Linux 2.4.5. (I dunno whether this is a win.) The -N flag to patch causes it to ignore most of the things it would otherwise complain about, and though it produces a couple of prompts still, you can safely hit enter for those. There didn't seem to be any significant warnings when compiling either the kernel or the RTLinux modules.

The RTLinux example program "hello" runs successfully on my testbed Pentium 200 with 32Mb RAM. Currently this machine has 390Mb of disk space used - hey, little more than an order of magnitude away from our target! (Don't worry, that's mostly source code and compilers and the C library. Wait - we want libc. Darn.) Sadly I see no other example programs which do much of anything interesting, or I'd try things a little more thoroughly.

-- ?JameySharp - 01 Aug 2001