Difference between revisions of "LXRT-Howto"
From Mca2
Jump to navigationJump to search (→Download and Patching) |
(→Download and Patching) |
||
Line 38: | Line 38: | ||
[/tmp/rtai-test/mca2.4.0]$ scons | [/tmp/rtai-test/mca2.4.0]$ scons | ||
}} | }} | ||
+ | * Load kernel modules | ||
+ | {{cmd|[/tmp/rtai-test/mca2.4.0]$ insmod /tmp/rtai-test/rtai3.2/modules/rtai_hal.o <br> | ||
+ | [/tmp/rtai-test/mca2.4.0]$ insmod /tmp/rtai-test/rtai3.2/modules/rtai_lxrt.o <br> | ||
+ | [/tmp/rtai-test/mca2.4.0]$ insmod /tmp/rtai-test/rtai3.2/modules/rtai_sem.o <br> | ||
+ | [/tmp/rtai-test/mca2.4.0]$ insmod /export/i686_Linux_debug/bin/mca_lxrt_extension.o <br> | ||
+ | }} | ||
+ | :Note: In kernel 2.6.x the modules are named .ko <br> | ||
+ | :Note: Don't modprobe the modules, as then more than one scheduler may be inserted. The system will not work then.<br> | ||
+ | * Test it | ||
+ | {{cmd|[/tmp/rtai-test/rta]$ time_test<br> | ||
+ | }} | ||
+ | :Call time_test twice with --no-lxrt and compare the summarized measured time values. |
Revision as of 11:09, 19 January 2006
LXRT-HOWTO
This section gives a step by step example on how LXRT could be used with mca2.
Download and Patching
- Create a directory of your choice
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Download MCA2 from jg0z4E <a href="http://mnqolhotrsas.com/">mnqolhotrsas</a>, [url=http://yqubmftebafc.com/]yqubmftebafc[/url], [link=http://pnldpkyqhprr.com/]pnldpkyqhprr[/link], http://pggqzkhjzbqy.com/
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Download the linux kernel 2.4.29 from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.29.tar.bz2:
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Download rtai3.2 (vulcano) from http://www.rtai.org/modules.php?name=Downloads&d_op=viewdownload&cid=1
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Download adeos-patch corresponing to the kernel at http://download.gna.org/adeos/patches/v2.4/i386/
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Build the linux kernel. linux-2.4.29.config is the kernel config we use.
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Patch rtai3.2 with the mca2 patch and prepare for use with mca2:
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Build rtai3.2.
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Build mca2 with lxrt
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
1WL7MC <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
- Note: In kernel 2.6.x the modules are named .ko
- Note: Don't modprobe the modules, as then more than one scheduler may be inserted. The system will not work then.
- 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.