How to install Real Time Linux in Redhat 9



How to install RTLinux on RedHat 9

By

Hermin Kosasih

()

A. Abstract

RTLinux is a real time kernel which can guarantee the timing requirements of the process under it and also able to give and determine the priority of its process. RTLinux operates on general purpose operating systems. In order to add a real-time application, RTLinux takes over interrupt control from its client operating system and then schedules its own threads and interrupt handlers. Linux program can communicate with RTLinux program, but the Linux kernel cannot delay RTLinux program or preempt them. So, RTLinux become like virtual kernel sitting between the standard Linux kernel and the hardware. This meant that Linux kernel sees the RTLinux kernel as the actual hardware.

It is recommended that you have installed the RedHat 9 including kernel development tools, gcc compiler, and utilities such as bzip2, depmod, make, patch and tar. The file system of your Linux is supposed to be ext2.

B. RTLinux Kernel Installation

The two main files to download are

1. Linux Kernel

Download Linux kernel version 2.4.21 from

2. RTLinux

Download “rtlinux-3.2-rc1.tar.bz2” from rtlinux-

After downloading all those files, put them in “/usr/src” and extract those files by using this following command:

tar –xjvf linux-2.4.21.tar.bz2

tar –xjvf rtlinux-3.2-rc1.tar.bz2

Please don’t forget to make symbolic links. Symbolic links are a special type of file whose contents are a portion of the name of another file.

ln –s linux-2.4.21 linux

ln –s rtlinux-3.2-rc1 rtlinux

B.1 Patch Kernel

Before patching the kernel, it is good for us to firstly perform the test of kernel patch.

1. cd /usr/src/linux

2. patch –p1 –dry-run ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download