Vasili Goutas wrote:
>
> Karim Yaghmour wrote:
> >
> > Hello Vasili,
> >
> > I've used the 22.2.4 stuff to patch over RTAI 1.4. The patch utility complains
> > a little, but it successfully applies the patch. I haven't compiled the result,
> > but it should work without a problem. Also, I haven't tried patching the related
> > kernel source, but that shouldn't be a problem either. Give it a try and tell
> > me if it works ...
> The RTAI-1.4 sources are no problem, but
> I tried to patch the kernel sources which was prepatched with the RTAI
> patch and get some error messages.
> Don't think that it will run without creating a new release of your
> toolkit containing a patch for linux-2.2.16 and RTAI-1.4.
>
> The result of my try to patch the kernel was:
> "patch -p1 < patch-ltt-linux-2.2.16-with-rtai-22.2.4-000822"
>
> patching file Documentation/Configure.help
...
Hello,
I patched rtai-1.4 the following way: First apply the patch and then
resolve the conflicts manually. Most of the reject files can be ignored:
Often you find constructions like:
In rtai-22.2.4-ltt:
#if 0
linux code
#else
RTAI code
#endif
in the official rtai-1.4 these have changed to
#ifdef CONFIG_RTHAL
RTAI code
#else
linux code
#endif
The rest are only a few changes. Then if you compile you get a few
errors because definitions of functions have moved from kernel files to
rtai.h. I works for me.
Joachim
--
Joachim Herb
mailto:[EMAIL PROTECTED]
-- [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/