Difference between revisions of "LXRT-Howto"

From Mca2
Jump to navigationJump to search
m (Download and Patching: cmd-templated)
(Download and Patching)
Line 6: Line 6:
 
* Create a directory of your choice
 
* Create a directory of your choice
 
   {{cmd|[~]$ mkdir /tmp/rtai-test<br/>[~]$ cd /tmp/rtai-test}}
 
   {{cmd|[~]$ mkdir /tmp/rtai-test<br/>[~]$ cd /tmp/rtai-test}}
* Download [[File:mca2.4-beta.tgz|MCA2]] from {{mcasf}}
+
* Download [[File:mca2.4.0.tgz|MCA2]] from {{mcasf}}
   {{cmd|[/tmp/rtai-test]$ tar xzf mca2.4-beta.tgz}}
+
   {{cmd|[/tmp/rtai-test]$ tar xzf mca2.4.0.tgz}}
 
* Download the [[File:linux-2.4.29.tar.bz2|linux kernel 2.4.29]] from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.29.tar.bz2:
 
* Download the [[File:linux-2.4.29.tar.bz2|linux kernel 2.4.29]] from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.29.tar.bz2:
 
   {{cmd|[/tmp/rtai-test]$ tar xjf linux-2.4.29.tar.bz2}}
 
   {{cmd|[/tmp/rtai-test]$ tar xjf linux-2.4.29.tar.bz2}}
Line 13: Line 13:
 
   {{cmd|[/tmp/rtai-test]$ tar xjf rtai-3.2.tar.bz2}}
 
   {{cmd|[/tmp/rtai-test]$ tar xjf rtai-3.2.tar.bz2}}
 
* Download [[File:adeos-linux-2.4.29-i386-r16.patch|adeos-patch]] corresponing to the kernel at http://download.gna.org/adeos/patches/v2.4/i386/
 
* Download [[File:adeos-linux-2.4.29-i386-r16.patch|adeos-patch]] corresponing to the kernel at http://download.gna.org/adeos/patches/v2.4/i386/
   {{cmd|[/tmp/rtai-test]$ mv adeos-linux-2.4.29-i386-r16.patch rtai3.2/base/arch/i386/patches/
+
   {{cmd|[/tmp/rtai-test]$ mv adeos-linux-2.4.29-i386-r16.patch rtai3.2/base/arch/i386/patches/<br>
[/tmp/rtai-test]$ cd linux-2.4.29
+
[/tmp/rtai-test]$ cd linux-2.4.29<br>
 
[/tmp/rtai-test/linux-2.4.29]$ patch -p1 < ../rtai-3.2/base/arch/i386/patches/adeos-linux-2.4.29-i386-r16.patch}}
 
[/tmp/rtai-test/linux-2.4.29]$ patch -p1 < ../rtai-3.2/base/arch/i386/patches/adeos-linux-2.4.29-i386-r16.patch}}
 
* Build the linux kernel. linux-2.4.29.config is the kernel config we use.
 
* Build the linux kernel. linux-2.4.29.config is the kernel config we use.
   {{cmd|[/tmp/rtai-test/linux-2.4.29]$ make mrproper
+
   {{cmd|[/tmp/rtai-test/linux-2.4.29]$ make mrproper <br>
[/tmp/rtai-test/linux-2.4.29]$ cp ../mca2/etc/linux-2.4.29.config .config
+
[/tmp/rtai-test/linux-2.4.29]$ cp ../mca2/etc/linux-2.4.29.config .config <br>
[/tmp/rtai-test/linux-2.4.29]$ make oldconfig
+
[/tmp/rtai-test/linux-2.4.29]$ make oldconfig <br>
[/tmp/rtai-test/linux-2.4.29]$ make dep bzImage modules
+
[/tmp/rtai-test/linux-2.4.29]$ make dep bzImage modules <br>
 
[/tmp/rtai-test/linux-2.4.29]$ cd ..}}
 
[/tmp/rtai-test/linux-2.4.29]$ cd ..}}
 
* Patch rtai3.2 with the mca2 patch and prepare for use with mca2:
 
* Patch rtai3.2 with the mca2 patch and prepare for use with mca2:
Line 32: Line 32:
 
[/tmp/rtai-test/rtai3.2/base/include]$ cd ../.. <br/>
 
[/tmp/rtai-test/rtai3.2/base/include]$ cd ../.. <br/>
 
[/tmp/rtai-test/rtai3.2]$ make}}
 
[/tmp/rtai-test/rtai3.2]$ make}}
 +
* Build mca2 with lxrt
 +
  {{cmd|[/tmp/rtai-test/rtai3.2]$ cd ../mca2<br>
 +
[/tmp/rtai-test/mca2.4.0]$ <nowiki>scons configure=yes lxrt_dir=/tmp/rtai-test/rtai3.2 </nowiki><br>
 +
[/tmp/rtai-test/mca2.4.0]$ source script/mcasetenv <br>
 +
[/tmp/rtai-test/mca2.4.0]$ scons
 +
}}

Revision as of 18:03, 18 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/
 1WL7MC  <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
 1WL7MC  <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
 1WL7MC  <a href="http://rddwwwriwqtq.com/">rddwwwriwqtq</a>, [url=http://idouoyjldvmp.com/]idouoyjldvmp[/url], [link=http://dargpwnxgfhj.com/]dargpwnxgfhj[/link], http://xvqtajeodrzp.com/
 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/