You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Installation on Host Linux

The SDK comes in four flavors, one for each of the "architectures". These flavors are:

  1. arm-rtems-rceCA9 – target specific code for RTEMS
  2. arm-linux-rceCA9 – target specific code for ArchLinux
  3. i86-linux-32 – Host tools for 32-bit linux
  4. 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 option "-b <os>-<tag>" option to git clone.    os is either linux or rtemstag is of the format VX.Y.Z

Then finalize the installation by executing:

<install_path>/tools/install-sdk.sh

Installation on the Target

We use tools in the host linux SDK to install the target RTEMS SDK. You will need the following available:

  1. the i86-linux SDK appropriate to your host machine
  2. the arm-rtems-rceCA9 SDK
  3. The location of your target in "shelf/slot/bay/rce" space (like "katahdin/12/0/2")

Package the RTEMS sdk into a tarball like so:

<install_i86_linux_SDK_path>/tools/packageSDK <install_RTEMS_SDK_path> ~/foo.tar

Then, install the SDK onto your target at <location> with:

<install_i86_linux_SDK_path>/tools/updateRCE <location> ~/foo.tar

This script logs its progress, so you can see where it is.

Note: prior to V0.4.0, the updateRCE command had the argument order <tarball> <location>.

Troubleshooting

in progress

  • No labels