Building the gator daemon
To communicate with the target device, Streamline requires the gator daemon,
gatord, to be installed on the device.
Your DS-5 installation includes a pre-built
<DS-5_install_directory>/arm/gator/, which you
can install and run on a Linux or Android target by clicking Setup target... in the Connection Browser dialog. Alternatively, you can build
gatord yourself following the steps outlined in this
topic. For more information, see README.md,
NoteIt is not possible to build
gatordor gator.ko on a Windows host.
gatord, follow these steps:
Either download the
gatordsource from https://github.com/ARM-software/gator, or enter the following command to extract the archive supplied with DS-5 that contains the source:
NoteMake sure you extract this file into a directory for which you have write privileges.
Change to the newly created gator-daemon directory. This step varies depending on whether
you are running Linux or Android.
For Linux, enter:
For Android, enter:
mv gator-daemon jni
Issue the commands to build
gatordfor a Linux target, enter:
To do this, you must have a
g++-enabled build host toolchain. If the target is
g++-enabled, you can build directly on it. On a Linaro Ubuntu target, enter the following command to install
sudo apt-get install g++
gatordfor Android, enter:
NoteBefore you do this, you must have installed the Android NDK. For information, see the Android NDK website, http://developer.android.com/sdk/ndk.
If you did not build
gatordon the target, transfer it to the target and then move it to the appropriate directory. Which directory is appropriate is dependent on the target. Root should have write permission for this directory.
gatordexecutable by entering the following command:
chmod +x gatord