ARM DS-5 Manual page 9

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

Advertisement

2.1.3
Prepare and build your kernel
ARM DUI 0482K
ID120712
It is not possible to build the gator daemon on a Windows host.
To prepare your kernel for use with Streamline, download one of the supported versions of the
Linux kernel, configure it to your target platform, customize it, and then build it. For instructions
on how to do this and the required kernel code, visit http://www.kernel.org
Add the following steps when compiling a kernel for use with Streamline:
Enter the following command in your shell to export the cross compiler:
export CROSS_COMPILE=${CROSS_TOOLS}/bin/arm-linux-gnueabihf-
To specify that this build is for an ARM architecture, enter the following command in your
shell:
export ARCH=arm
Enter the following to build the configuration file specific to your platform:
make platform_defconfig
Replace platform_defconfig in the command with one of the configuration files located in
the
your_kernel/arch/arm/configs
configuration file provided by a vendor.
To configure menus, enter the following in your shell:
make menuconfig
You must enable certain kernel configuration options to run Streamline. The location of
some of these options depends on your kernel version:
General Setup
Enable the Profiling Support option,
performance event and counters option,
Kernel Hacking
Enable the Tracers option,
context switches and events option,
must add the following options,
To populate the Mutex CPU Wait chart you must enable the Kernel
hacking → Mutex debugging: basic checks option,
and.the Kernel hacking → Compile the kernel with debug info option,
CONFIG_DEBUG_KERNEL_INFO
charts in Streamline, see
Kernel Features
Enable the High Resolution Timer Support option,
and the Enable hardware performance counter support option,
CONFIG_HW_PERF_EVENTS
CONFIG_LOCAL_TIMERS
target.
CPU Power Management
To enable the CPU Freq Timeline view chart,
2.6.38 or greater and that you define the CPU Frequency scaling → CPU
Frequency scaling option,
Copyright © 2010-2012 ARM. All rights reserved.
Non-Confidential
directory appropriate for your platform or with a
CONFIG_PROFILING
CONFIG_PERF_EVENTS
, and the Tracers → Trace process
CONFIG_FTRACE
CONFIG_ENABLE_DEFAULT_TRACERS
. For more information on CPU wait time data and
Timeline view charts on page
. Enable the Use local timer interrupts option,
, if you are using a Symmetric MultiProcessing (SMP)
.
CONFIG_CPU_FREQ
Setting Up Your Target
and the Kernel
.
. You
CONFIG_DEBUG_MUTEXES
6-10.
CONFIG_HIGH_RES_TIMERS
requires kernel version
gator
,
2-3

Advertisement

Table of Contents
loading

Table of Contents