Hi!

Today, i tried to merge RT-Linux v1.3 and uClinux (990904),
and it was rather simple to succeed.

Of course, there is no real-time functionality, yet, but
at least the system is up and runnig as usual on a
xcopilot with the merged source-code.

have fun!




Brief Real-Time-uClinux Installation Instruction
################################################

With the following instructions, you can merge the
patches for uClinux and RT-Linux.
There is no real-time-operation, yet, but
now, it should be feasibel.
I assume, you have an uclinux-development
directory (with genromfs, pilot-user-sources etc.)
located at $UCLINUX_PATH.
Otherwise have a look at the "Brief uClinux installation
instruction" 



Downloading all Files:
======================

DOWNLOAD_PATH=/var/tmp #(1)
cd $DOWNLOAD_PATH

wget ftp://ftp.kernel.org/pub/linux/kernel/v2.0/linux-2.0.38.tar.gz
wget ftp://fsmlabs.com/pub/rtlinux/v1/v1.3.tgz
wget http://www.rcs.ei.tum.de/~kuhn/uclinux/rtuc-092299.tgz
wget ftp://ryeham.ee.ryerson.ca/pub/uClinux/uClinux-2.0.38-990904.diff.gz

(1) or whereever you want to have downloaded your files



Installing and patching:
========================

DOWNLOAD_PATH=/var/tmp #(1)
UCLINUX_PATH=/opt/src/uclinux #(2)

cd $UCLINUX_PATH
mv linux linux.old
tar -xzf $DOWNLOAD_PATH/rtuc-092299.tgz
tar -xzf $DOWNLOAD_PATH/v1.3.tgz
tar -xzf $DOWNLOAD_PATH/linux-2.0.38.tar.gz
cd linux

gunzip -cd $DOWNLOAD_PATH/uClinux-2.0.38-990904.diff.gz | patch -p1
patch -N -p1 < ../v1.3/kernel_patch #(3)

cp arch/i386/kernel/rt_time.c arch/m68knommu/kernel #(4)
patch -p1 < ../rtuc/rtuc.patch

cp ../rtuc/68328serial.c drivers/char #(5)
cp ../rtuc/.config . #(6)

ln -s ../pilot/romdisk/romdisk.img romfs.img #(7)

make menuconfig #(8)
. init68k #(9)
make clean && make dep
make linux.rom


(1) or whereever you have downloaded your files
(2) or whereever you have your uclinux-home
(3) minor clashes, ignore them
(4) using the i386-RTL-corefile
(5) using Vladimir's serial driver (because of XCOPILOT_BUGS)
(6) this config did it for me
(7) create missing link to pilot-romdisk
(8) just exit and save
(9) or do whatever you need to get you gcc68-stuff running

Bernhard Kuhn, Mit Sep 22 02:13:48 CEST 1999
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to