Software Development Kit (SDK)

This section gives an overview of the different parts of the SDK for the ETRAX chip family. The three main parts are the compiler, the debugger, and the software distribution. Read more about them below.

Compiler

GNU Compiler Collection

The CRIS architecture used in AXIS ETRAX 100LX and AXIS ETRAX FS is supported by the GNU Compiler Collection (GCC) distributed by the Free Software Foundation (FSF). The assembler, linker and other CRIS tools are included as part of the official GNU binutils sources. Similarly for the Newlib port.

The GCC version distributed by Axis Communications is tested with recent releases of the Axis software distribution and is the one officially supported by Axis Communications.

Please report bugs in gcc-cris following these bug-report instructions. Please report bugs in the FSF distribution through FSF, see their bug-report instructions.

Installation

Usage

Debugger

The standard Linux debugger (GDB) and the GDB server are available for ETRAX based platforms.

GDB runs on the Linux PC and the program being debugged runs on the Axis ETRAX SoC system. GDB communicates with the GDB server on the target system via RS-232 or TCP/IP. The GDB server is included in the software distribution and easily enabled in the build system configuration. Kernel mode debug is also supported.

Important: If you are using a version of the CRIS compiler earlier than r59, please note that you must disable usage of Dwarf-2 CFI.

Many of the commands you will encounter are conventiently placed in a .gdbinit file, which is read upon startup

Installation

Usage

Reference information

Software distribution

The software distribution comprises all the source code and the build system files required to produce a Linux firmware image for the Axis ETRAX SoCs. The build system allows for easy and flexible configuration of hardware options and software applications. A number of pre-defined configurations are available for the most commonly used system designs. The target firmware features Linux 2.6 with full MMU support, standard glibc or uClibc library, shared libraries, Linux and POSIX threads and various applications. The Linux kernel includes device drivers for ETRAX interfaces such as Ethernet, serial and parallel ports, general purpose I/O, USB and IDE.

Installation

Usage

Reference information

  • Software List - Applications and Libraries Included in the Software Distribution.

A great deal of effort has gone into making this documentation as correct as possible. The information here is provided “as is”, without warranty or guarantee of any kind. To be on the safe side, always contact us if you are in doubt.

 
axis/sdk.txt · Last modified: 2009/02/03 15:53 by jesper
 
All text is available under the terms of the GNU Free Documentation License (see Copyrights for details).