Cross compile and install DIMCross_StringClientServer package on ETRAX
on the basis of the CVS repository
This documentation describes on the basis of the
HADES DAQ infrastructure the installation of DIMCross_StringClientServer on an ETRAX based system. It also includes/extends the installation of the DIM package ( q.v.
Cross compile and install DIM on ETRAX package)
1. Login in to the build system where your ETRAX environment is running
(q.v.
Intallation of AXIS developer board service SDK)
- e.g. hadeb05
ssh -l user hadeb05
2. change to the directory were the SDK is installed and initialize ETRAX environment
3. retrieve the code ...
- Change to directory where you want to install/compile dim
e.g. ~/devboard-R2_01/apps cd ~/devboard-R2_01/apps
3.a ... from CVS
3.b ... from a tar ball
4. compile
4.a prepare compilation
4.b. install
- call install script
./install
- DIM is compiled twice:
- for the build system itself: target directory $DIMDIR/linux
- for the target system ETRAX: target directory $DIMDIR/linux-etrax
- see install script for more documentation
- dimServer only compiled for the target architecture: etrax
- commandLineClient only compiled for the build architecture: x86
-
by changing the settings in src/stringClientServer/configure you can alter this behaviour
5. copy libraries and executables to target system
- in case of HADES the data are copied to a directory on lxhadesdaq, which is mounted by the ETRAX linux system
5.a preparations
5.b copy
6 ... on the target system
- login to the target system:
- e.g. de-etrax041
telnet de-etrax041
- on the HADES ETRAX based boards, the directory is mounted (read-only) as /home/hadaq/USER/
- to run an DIM application you have to set some environment variables:
--
PeterZumbruch - 23 Mar 2007