Cross compile and install DIM on ETRAX package
on the basis of the CVS repository
This documentation describes on the basis of the
HADES DAQ infrastructure the installation of DIM on an ETRAX based system.
Alternatively, ...
Install DIM from scratch applying the modified makefiles to the newest version of DIM, q.v.
cross compile and install DIM from scratch for further information.
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
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
scp -r $DIMDIR/linux-etrax/* hadaq@lxhadesdaq:/var/diskless/etrax/USER/dim
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:
7. first test
--
PeterZumbruch - 22 Mar 2007