Regarding RTL installation.
[email protected] Sat, 18 Nov 2006 10:25:58 +0530
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Nagesh..
regarding the installation of Rtlinux, i have followed this
step and i get successful insatllation.
Steps:
RTLINUX INSTALLATION Instructions
1 Extracting
--------------
# cd /usr/src/
* Remove existing links
# rm linux
# rm linux-2.4
* Copy the files into the directory /usr/src/
# cp /tmp/linux-2.4.20.tar.bz2 .
# cp /tmp/rtlinux-3.2-pre2.tar.bz2 .
* Test the files
# tar -tjf linux-2.4.20.tar.bz2
# tar -tjf rtlinux-3.2-pre2.tar.bz2
* Extract the files
# tar -xjf linux-2.4.20.tar.bz2
# tar -xjf rtlinux-3.2-pre2.tar.bz2
* Change owner
# chown -R root:root linux-2.4.20/
# chown -R root:root rtlinux-3.2-pre2/
2 Patching
------------
* Create new links
# mv linux-2.4.20/ linux-2.4.20-rtl3.2-pre2
# ln -s linux-2.4.20-rtl3.2-pre2/ linux
# ln -s rtlinux-3.2-pre2/ rtlinux
# cd linux/
* Test kernel patch
# patch -p1 --dry-run < ../rtlinux/patches/kernel_patch-2.4.20-rtl3.2-pre2
* Perform patch
# patch -p1 < ../rtlinux/patches/kernel_patch-2.4.20-rtl3.2-pre2
3 Kernel Configuration
------------------------
# cd /usr/src/linux/
# make menuconfig
* Configure the Kernel
# cp .config my_config
# make mrproper
# cp my_config .config
# make oldconfig
# make dep
# make
4 Kernel Installation
-----------------------
* Create a kernel image
# make bzImage
* Copy the image into the boot partition
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-rtl3.2-pre2
* Make and install kernel modules
# make modules modules_install
5 LILO Configuration
----------------------
* Add an entry for rtl:
# vi /etc/lilo.conf
+ image=/boot/vmlinuz-2.4.20-rtl3.2-pre2
+ label=rtlinux
+ read-only
+ root=/dev/hda2
* Update changes
# lilo
6 RTLinux Configuration
-------------------------
# cd /usr/src/rtlinux/
# make menuconfig
* Configure RTLinux
# cp .config my_config
# make clean
# cp my_config .config
# make oldconfig
# make dep
# make
7 RTLinux Installation
------------------------
# make modules modules_install
8 Reboot
----------
# lilo -R rtlinux
# reboot
9 Regression test
--------------------
# cd /usr/src/rtlinux/
# scripts/regression.sh
* Testing multiple loads of rtl.o
* Testing multiple loads of rtl_time.o
* Testing multiple loads of rtl_posixio.o
* Testing multiple loads of rtl_fifo.o
* Testing multiple loads of rtl_sched.o
- Testing RTLinux fifos
. Testing thread wait times
* Testing that Linux time progresses
* Testing that Linux time is monotonically increasing
* Testing ping flood
. Testing floating-point support
* Removing rtl_sched.o
. Testing periodic timer
. Testing oneshot timer
the error normally occuring is while linking the Rtlinux with Linux, just rename
properly. And During configuartin of Linux kernal the terminal should be in
maximized one else it will pop up. ok.. try this...
regards,
Muthukumaran. M.B.
_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/