Octeon host utilities, Able, Octeon – ADLINK aTCA-N700 User Manual

Page 44: Tilities

Advertising
background image

aTCA-N700 SW Users Guide

38


7.

OCTEON Host Utilities


The OCTEON-SDK provides OCTEON host utilities which apply only to OCTEON or
Intel HOST architecture. For the LMP (Freescale) porting, however, the OCTEON-
SDK sources (OCTEON-SDK/host/remote-utils) can be accompanied into the LMP
source tree for cross compilation. There may be limitations in using assembler based
modules on the LMP.

SW7 configuration selects PCIe operation mode for each OCTEON processor.
“F_OCTEON Remote Control select Mode” or “S_OCTEON Remote Control select
Mode” should be selected to use this utility properly. Regarding SW7, please refer to
the aTCA-N700 Hardware User Manual, Section 4.1.2.

These utilities support the remote protocol using two PCI channels which are connected
to each OCTEON Processor. To select an OCTEON processor to be controlled by this
utility, an environmental variable needs to be setup before using the utilities, as shown
below


[ to select OCTEON TOP ]
# export OCTEON_REMOTE_PROTOCOL=PCI:0

[ to select OCTEON BOTTOM ]
# export OCTEON_REMOTE_PROTOCOL=PCI:0


Table 7-1 OCTEON Host Utilities

Name

Description

oct-remote-boot

Boot OCTEON and load bootloader over remote
connection (PCI)
Usage: oct-remote-boot [--memonly] [--
board=board_name] [bootloader filename]

oct-remote-
bootcmd

Give command to bootloader running on OCTEON
in PCI slot.
Command must be double quoted if it contains
whitespace.
Usage: oct-remote-bootcmd "command"

oct-remote-
console

Connect to a remote console.
Usage: oct-remote-console [--noraw]
<CONSOLE_NUMBER>

oct-remote-core

Display the state of an OCTEON core.
Usage: oct-remote-core <core>

oct-remote-csr

Read or write a CSR by name.
Usage: oct-remote-csr CSR [value] [CSR [value] ...]

oct-remote-ddr

OCTEON DDR2 memory test over a remote
interface
Note: Requires use of oct-*-boot to configure
memory controller
Usage:
oct-remote-ddr <Mbytes to test>

oct-remote-ddr-
tune

Perform DDR tuning tests on remote Octeon.

oct-remote-load

Load the file into OCTEON memory at supplied
address
Usage: oct-remote-load <address> <file>

Advertising