Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:research:sr:softwareradio_install [2007/04/12 10:58] brunner |
en:research:sr:softwareradio_install [2007/08/09 15:30] (current) brunner |
||
---|---|---|---|
Line 10: | Line 10: | ||
* /var 10Go | * /var 10Go | ||
* /tmp 1Go | * /tmp 1Go | ||
- | * /big unused space (env.: 40Go) | + | * /big unused space (about 40 Go) |
* swap 2.8Go (primary) | * swap 2.8Go (primary) | ||
Line 16: | Line 16: | ||
remove created user: | remove created user: | ||
<code>deluser //username//</code> | <code>deluser //username//</code> | ||
+ | |||
+ | In file ///etc/apt/sources.list// replace **stable** by **sarge**. | ||
===== Kernel compilation ===== | ===== Kernel compilation ===== | ||
Line 71: | Line 73: | ||
<code bash>echo "eepro100" >> /etc/modules</code> | <code bash>echo "eepro100" >> /etc/modules</code> | ||
then reboot on new kernel. | then reboot on new kernel. | ||
+ | |||
Line 76: | Line 79: | ||
unzip rtlinux: | unzip rtlinux: | ||
<code bash> | <code bash> | ||
- | tar -xvf rtlinux-3.2-rc1.tar.bz2 | + | tar -xvjf rtlinux-3.2-pre3.tar.bz2 |
</code> | </code> | ||
prepare: | prepare: | ||
<code bash> | <code bash> | ||
- | cd /usr/srv/rtlinux-3.2-rc1 | + | cd /usr/src/rtlinux-3.2-pre3 |
ln -s /usr/src/linux linux | ln -s /usr/src/linux linux | ||
</code> | </code> | ||
Line 90: | Line 93: | ||
* posix-timers | * posix-timers | ||
* posix-priority | * posix-priority | ||
- | Compile: | + | Compile & install: |
<code> | <code> | ||
make dep | make dep | ||
make // without -j8 (don't work) | make // without -j8 (don't work) | ||
- | </code> | ||
- | Install: | ||
- | <code bash> | ||
- | checkinstall | ||
- | dpkg -i --force-overwrite rtlinux-3.2-pre3_pre3-1_i386.deb | ||
- | // and (some files will no be modified !) | ||
make install | make install | ||
</code> | </code> | ||
Line 108: | Line 105: | ||
at end: | at end: | ||
<code bash> | <code bash> | ||
+ | rm /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/rtl_debug.o | ||
ln -s /usr/src/rtlinux-3.2-pre3/debugger/rtl_debug.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/ | ln -s /usr/src/rtlinux-3.2-pre3/debugger/rtl_debug.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/ | ||
+ | |||
+ | rm /etc/init.d/rtlinux | ||
cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc5.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc5.d/S90rtlinux | ||
- | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc4.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc4.d/S90rtlinux | ||
- | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc3.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc3.d/S90rtlinux | ||
</code> | </code> | ||
Line 122: | Line 120: | ||
apt-get install libqt3-compat-headers libqt3-mt-dev | apt-get install libqt3-compat-headers libqt3-mt-dev | ||
</code> | </code> | ||
+ | |||
+ | ==== ICS ==== | ||
+ | * copy ICS to ///usr/ics// | ||
+ | do : | ||
+ | <code> | ||
+ | cd /usr/ics/ics554-src/ | ||
+ | sh install.sh | ||
+ | cd /usr/ics/ics564-src/ | ||
+ | sh install.sh | ||
+ | ln -s /usr/ics/ics554-src/drv/ics554.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc | ||
+ | </code> | ||
+ | |||
+ | copy files from //init.d// to ///etc/init.d// | ||
+ | |||
+ | |||
+ | |||
===== NFS ===== | ===== NFS ===== | ||
Line 202: | Line 216: | ||
#NTPOPTIONS="-v" | #NTPOPTIONS="-v" | ||
NTPOPTIONS="-u" | NTPOPTIONS="-u" | ||
- | </code> | ||
- | |||
- | ===== NFS ===== | ||
- | In the file /etc/fstab add: | ||
- | <code> | ||
- | fileserver:/home /home nfs defaults 0 0 | ||
- | fileserver:/home/sradio /home/sradio nfs defaults 0 0 | ||
</code> | </code> | ||
Line 214: | Line 221: | ||
===== Matlab ===== | ===== Matlab ===== | ||
- | Take a licences on distrilog.epfl.ch | + | Get a licenses on http://distrilog.epfl.ch |
<code bash> | <code bash> | ||
Line 223: | Line 230: | ||
sudo mount linuxline:/export/mirror /net/linuxline/export/mirror | sudo mount linuxline:/export/mirror /net/linuxline/export/mirror | ||
sudo apt-get install alien | sudo apt-get install alien | ||
- | alien -i /net/linuxline/export/mirror/LICENSES/MATLAB74/Matlab-full-7.4-1.i386.rpm | + | alien -dv /net/linuxline/export/mirror/LICENSES/MATLAB74/Matlab-full-7.4-1.i386.rpm |
+ | dpkg -i matlab-full_7.4-2_i386.deb | ||
</code> | </code> | ||
Line 242: | Line 250: | ||
X11Forwarding yes | X11Forwarding yes | ||
</code> | </code> | ||
- |