From: Paul <bd...@nt...> - 2003-07-30 20:20:06
|
OK Tony A list of files you'll need to grab before doing any work.. A virgin 2.4.xx kernel from www.kernel.org - The 2.4.21 will be fine. The CVS sources for RTAI from www.rtai.org - I'd suggest using the Stromboli branch. Finally, the EMC sources from www.sourceforge.net/projects/emc - Again, use the CVS sources, checking out rcslib and emc. Make sure you have installed compat-egcs and the support libraries from the RH7.2 CDs along with tcl, tclx and tk. Now follow the steps.. a) rename /usr/bin/gcc to /usr/bin/gcc-2.96 b) create a symlink /usr/bin/gcc pointing to /usr/bin/kgcc c) extract your kernel sources in /usr/src d) create a symlink /usr/src/linux pointing to the kernel sources (at a guess) /usr/src/linux-2.4.21 e) move the RTAI sources to /usr/src f) and create a symlink /usr/src/rtai pointing to /usr/src/stromboli g) patch the kernel with either the rthal OR the adeos patch with the command patch -p1 < /usr/src/rtai/patches/patch-2.4.21-rthal5g Now on to the hard work... h) Use the attached config, placing it in /usr/src/linux i) In the /usr/src/linux directory, do a "make oldconfig" Now do the usuall make dep clean bzLilo modules modules_install steps. I usually use bzlilo and then move the vmlinux and System.map to /boot when it is finished. With RH7.2, you'll probably need to run mkinitrd before configuring and executing lilo... Now reboot with your new kernel.. l) Changing to /usr/src/rtai, copy the attached rtai.config across as .config j) Do a "make menuconfig" and quickly exit. l) Do the "make dep && make" followed by "make dev", "./setsched up", and "make install". m) With the rcslib and emc sources in /usr/local, change to /usr/local/rcslib/src n) Do a "make PLAT=linux_rtai" and "make PLAT=rtai" o) in the /usr/local/emc/src directory, do the same two "make PLAT=linux_rtai" and "make PLAT=rtai".. Assuming no fatal errors, you now have a fully functioning EMC. Apologies if these instuctions sound too pedantic, but they may end up in one of the handbooks at some point. If there are any stages that have you confused, just ask either here or on the irc channel. Regards, Paul. On Wednesday 30 July 2003 6:27 pm, Tony P'Simer wrote: > I've got nothing better to do today but work. If you could let me know > what I need I can download them right on to the computer I would be > using. I am not working on the laptop and have no way to transfer the > files to it. I have an experienced man here that can help me configure > and build it, I just don't know what to download. -- irc channel for EMC users at irc.freenode.org /join #emc and chat to other users (not many there yet). |