Interfacing Linux RTAI with Matlab/Simulink/RTW and Scilab/Scicos
Read the paper presented at the Realtime Linux Workshop in Valencia
CACSD UNDER RTAI LINUX WITH RTAI-LAB
Kernel tips
We (RTAI team) still receive email about problems related with the creation of the RTAI kernel. Most of the problems are not related with RTAI but only with kernel configuration.
Users can start from my config and add the drivers needed by their hardware. My kernel already contains the “ext3″ filesystem, thus it is not necessary to create an “initial ramdisk” to boot the system.
Users can detect their specific modules by simply run a “generic” kernel (normally the kernel installed by the distribution) and by launching the command
lspci -v
from a shell. This command lists the hardware of the siystem including the used linux drivers
After opening and loaded my kernel configuration (“make xconfig” or “make menuconfig” + “Load file”) the kernel must be configured to fit the user’s system.
Already included in my configuration:
- ext3 file system
- USB support (ehci_hcd and uhci_hcd)
- My SATA driver (ata_piix)
- My Wireless LAN (iwlagn)
- My network card (e1000e)
Not included in my configuration:
- PS/2 mouse
- Your network card
- Your ATA or SATA drivers
- Your Wireless network card
- USB driver ohci_hcd
The menu “Find” under “make xconfig” or the key “/” under “make menuconfig” allows to search about a specific driver and see if it is already installed or not.