Installation on Linux Host
...
The SDK comes in four flavors, one for each of the "architectures". These flavors arecontains support for 3 platforms:
- arm-rtems-rceCA9 – rceCA9 – target specific code for RTEMS
- arm-linux-rceCA9 – rceCA9 – target specific code for ArchLinux
- i86-linux-32 – Host tools for 32-bit linuxi86-linux-64 – 64 – Host tools for 64-bit linux
To retrieve the SDK from SLAC, execute the following command on your host:
Code Block | ||
---|---|---|
| ||
wget git clone http://www.slac.stanford.edu/projects/CTK/SDK/<architecture>.gitrce-sdk-<tag>.tar.gz <install_path> tar -xzf rce-sdk-<tag>.tar.gz <install_path> |
This will place the most recent current tag of the SDK into <install_path>
Noteinfo |
---|
If you wish a different tag, you may cd to <install_path> and type "git tag" to list the tags, then "git checkout <tagname>" to switch to that tag. You probably want the default. |
Then finalize the installation by executing:
Code Block |
---|
<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:
- the i86-linux SDK appropriate to your host machine
- the arm-rtems-rceCA9 SDK
- 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:
Code Block |
---|
<install_i86_linux_SDK_path>/tools/packageSDK <install_RTEMS_SDK_path> ~/foo.tar |
Then, install the SDK onto your target at <location> with:
Code Block |
---|
<install_i86_linux_SDK_path>/tools/updateRCE ~/foo.tar <location> |
This script logs its progress, so you can see where it is.
Troubleshooting
in progress
|