Installation on Host Linux
The SDK comes in four flavors, one for each of the "architectures". These flavors are:
- arm-rtems-rceCA9 – target specific code for RTEMS
- arm-linux-rceCA9 – target specific code for ArchLinux
- i86-linux-32 – Host tools for 32-bit linux
- i86-linux-64 – Host tools for 64-bit linux
To retrieve the SDK from SLAC, execute the following command on your host:
git clone http://www.slac.stanford.edu/projects/CTK/SDK/<architecture>.git <install_path>
This will place the most recent tag of the SDK into <install_path>
If you wish a different tag, you may add the "-b <os>-<tag>
" option to git clone
. os
is either linux
or rtems
. tag
is of the format VX.Y.Z
.
Then finalize the installation by executing:
<install_path>/tools/install-sdk.sh
The git clone option "-b" causes several "detached HEAD" warning messages. These are benign, but if you wish to suppress them, you may modify your global git configuration with:
git config --global advice.detachedHead false