Building the gator daemon
To communicate with the target device, Streamline requires the gator daemon,
gatord, to be installed on the device.
For full functionality,
gatord requires an
accompanying gator driver, gator.ko. When
gatord is used together with gator.ko, this is referred to as kernel space gator.
gatord can run without gator.ko
on Linux 3.4 or later, but is restricted to using user-space APIs and does not
support all Streamline features. This is referred to as user
space gator. Your DS-5 installation
includes a pre-built
gatord binary, located in
<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 the readme
included in the gator directory.
NoteIt is not possible to build
gatordor gator.ko on a Windows host.
gatord, follow these steps:
Enter the following command to extract the archive that contains the
gatordsource: tar xzf
NoteMake sure you extract this file into a directory in 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, you must 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.
gatordexecutable by entering the following command: chmod +x gatord