Setting Up An Arm Linux Target - ARM DS-5 Manual

Hide thumbs Also See for DS-5:
Table of Contents

Advertisement

2.1

Setting up an ARM Linux target

2.1.1
Prerequisites
2.1.2
Load the gator daemon
ARM DUI 0482K
ID120712
These instructions are specific to targets running ARM Linux.
Note
You can locate all of the files provided by DS-5 by selecting Help → ARM Extras... from the
main menu.
You must have the following tools on your host to build the Linux kernel and the gator driver:
Linux kernel source code for the target platform. Streamline supports only Linux kernel
versions 2.6.32 and above.
Either the cross compiler for building the Linux kernel or the ARM Linux GCC that
comes with DS-5.
Note
Streamline only supports hardware targets, not Real Time System Models (RTSMs). Streamline
can run on an RTSM, but an RTSM does not provide the cycle and timing information to make
the samples-generated data in the reports meaningful.
The gator daemon and driver collect target metrics and then send them to your host machine.
To enable profiling, you must build and load the gator daemon on your target. Follow these steps
to build the gator daemon from the source archive:
1.
Move to the directory that contains the gator daemon source:
cd .../gator/daemon-src
2.
Enter the following commands to unzip the archive:
tar -xzf gator-daemon.tar.gz
Note
Make sure to untar this file in a directory in which you have write privileges.
3.
Change directories to the newly created
cd gator-daemon
4.
Issue the make command to build
make
5.
Move the newly created
Note
You must build the gator daemon on your g++-enabled target or a Linux host. On a Linaro
Ubuntu target you must enter the following command to install g++:
apt-get install g++
Copyright © 2010-2012 ARM. All rights reserved.
Non-Confidential
gator-daemon
:
gatord
to your host.
gatord
Setting Up Your Target
:
2-2

Advertisement

Table of Contents
loading

Table of Contents