Difference between revisions of "LXRT-Howto"

From Mca2
Jump to navigationJump to search
(Installing and Testing added)
m (Compiling: Kernel 2.6.8.1 + RTAI 3.3 raus)
Line 6: Line 6:
 
* [[kernel_2_4_29_rtai_3_2| kernel 2.4.29 and rtai 3.2]]
 
* [[kernel_2_4_29_rtai_3_2| kernel 2.4.29 and rtai 3.2]]
 
* [[kernel_2_4_32_rtai_3_3| kernel 2.4.32 and rtai 3.3]]
 
* [[kernel_2_4_32_rtai_3_3| kernel 2.4.32 and rtai 3.3]]
* [[kernel_2_6_8_1_rtai_3_3| kernel 2.6.8.1 and rtai 3.3]]
 
  
 
=== Installing ===
 
=== Installing ===

Revision as of 11:26, 10 August 2006

LXRT-HOWTO

This section gives a step by step example on how LXRT could be used with mca2.

Compiling

Installing

  • Install your kernel/modules
  • boot your rtai-enabled system
  • Copy the compiled rtai modules (rtai_hal.o/ko, rtai_lxrt.o/ko, rtai_sem.o/ko and rtai_serial.o/ko) and the mca module (mca_lxrt_extension.o/ko) to your module directory

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

Note: if you copy all compiled rtai modules into the kernel module directory make sure to set the link rtai_ksched.MOD_EXT to rtai_lxrt.MOD_EXT to be sure the correct scheduler is taken on modprobe.
  • Load kernel modules (easiest modprobe way)

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

  • Load kernel modules (step by step insmod way)
If you have an adeos kernel with adeos compiled as module, first you need to insmod that

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

In all cases you then have to insmod the following

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

  • If using the rtai_serial driver in your MCA-program you also have to insmod that module:

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

Or with individual configuration parameters e.g.:

1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/

Testing

  • Test it
1WL7MC  <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
Call time_test twice with --no-lxrt and compare the summarized measured time values.