User Tools

Site Tools


robotsoftware:mobotware:rtai

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
robotsoftware:mobotware:rtai [2012/03/01 15:41]
claes [Kernel and RTAI]
robotsoftware:mobotware:rtai [2012/03/01 17:10]
claes [Compiling RTAI]
Line 70: Line 70:
  
 ==== Compiling the kernel ==== ==== Compiling the kernel ====
-There are many guides on the internet on how to compile a kernel. Here are link to a few to get you started, otherwise searcg for "compiling kernel" to get the answers you need.+There are many guides on the internet on how to compile a kernel. Here are link to a few to get you started, otherwise search for "compiling kernel" to get the answers you need.
   * [[https://help.ubuntu.com/community/Kernel/Compile]]   * [[https://help.ubuntu.com/community/Kernel/Compile]]
   * [[https://help.ubuntu.com/11.10/installation-guide/ia64/kernel-baking.html]]   * [[https://help.ubuntu.com/11.10/installation-guide/ia64/kernel-baking.html]]
Line 78: Line 78:
 These links may not be what you are looking for. It you have better links let me know and I will add/change the links. These links may not be what you are looking for. It you have better links let me know and I will add/change the links.
  
-When you understand how to compile a kernel follow the instructions in the guide. The command we used to compile the kernel was+When you understand how to compile a kernel follow the instructions in the guide. 
 +  - Unpack kernel in /usr/src/ 
 +  - copy the configuration file from the current kernel 
 +  - patch the kernel 
 +  - Make the changes from the RTAI installation guide 
 +  - compile 
 +The command we used to compile the kernel was
   make-kpkg --initrd --append-to-version=rtai  buildpackage   make-kpkg --initrd --append-to-version=rtai  buildpackage
 If you are using an older RTAI patch you may get the following error: If you are using an older RTAI patch you may get the following error:
Line 92: Line 98:
 <file bash ad_cpath.sh> <file bash ad_cpath.sh>
 #!/bin/bash #!/bin/bash
-export C_INCLUDE_PATH=/usr/include/i386-linux-gnu/:/usr/include/i386-linux-gnu/+export C_INCLUDE_PATH=/usr/include/i386-linux-gnu/
 export CPLUS_INCLUDE_PATH=/usr/include/i386-linux-gnu/ export CPLUS_INCLUDE_PATH=/usr/include/i386-linux-gnu/
 </file> </file>
Line 103: Line 109:
 Make sure you run the script. Or else the problem is not solved. Make sure you run the script. Or else the problem is not solved.
  
-=== On the Frobobox === 
-Because of this problem [[http://blog.gmane.org/gmane.linux.real-time.rtai/month=20100201]] use the patch from 3.7 but install RTAI 3.8