Home Products Documentation Wiki Support Download Showroom Contact us Where to buy
The information on this page is nolonger maintained.
For current product information visit the new Axis Developer web site on www.axis.com/products/dev/
For current developer information visit the Axis Developer WIKI
  » Documentation  » Documentation

Documentation

Overview

Software

Overview

  SDK

  Compiler

  Debugger

Hardware

  Chips

  ETRAX FS

  ETRAX 100LX

  ETRAX 100LX MCM

  Developer boards

  Developer board 82+

  Developer board LX

Old Documentation

  Old documentation page

  Old software page

 

Installation Notes for Axis Developer Board/Device Server SDK Release 2.01


1. Introduction

This document describes how to install or upgrade the Axis Developer Board/Device server (SDK) to release 2.01.

2. Requirements

  • OS: Any fairly new Linux distribution should work.

  • Ethernet network interface.

  • Ability to become root (some installation stages require root access).

  • gcc C compiler

  • GNU make

  • GNU wget

  • CRIS cross-compiler (Can be found in the download section on http://developer.axis.com).

  • awk (or gawk)

  • bc

  • byacc (or yacc if byacc is a link to it)

  • lex or flex

  • perl

  • sed

  • tar

  • zlib

  • md5sum

  • pmake

  • curses or ncurses

  • bison

  • which

3. Installation process

This software can be installed in two different ways, automatic installation and installation from a tarball.

3.1. Automatic installation

Download the software from the developer site: http://developer.axis.com. An Internet connection is required on the computer intended for the installation.

3.1.1. Unpack tar file

Download and unpack the devboard-R2_01.tar.gz file. The devboard-R2_01.tar.gz file contains basic scripts needed for installing the SDK (e.g. "tar -xvfz devboard-R2_01.tar.gz").

3.1.2. Run install script

Enter the newly created "devboard-R2_01" directory and run the install script. This will download and install tools and source code needed to configure the SDK in the next step.

First you will be confronted with a question if you would like to copy distribution files from an earlier SDK installation. Provided that you have a fairly new SDK release, copying files will reduce the number of packages needed to be downloaded. If unsure, just skip this step.

At the end of the install script you will be asked which product to use. This selection determines which configuration files to be used. Select a product that resembles your hardware.

"./install"

3.1.3. Configuration (Optional, but recommended)

To be able to control which packages to include, run any of the configuration targets (menuconfig, xconfig, config) to generate a custom configuration.

In most cases, it is recommended to run these configuration targets since the default configuration only includes a subset of all available packages. Configure the SDK according to your needs or skip this step to use the default configuration.

"make menuconfig" (or "make config" or "make xconfig")

3.1.4. Download and install packages

Download and install all packages needed for your configuration. This is performed by the configure script that also generates the top-level Makefile, used in the next step.

"./configure"

3.1.5. Build image

Now your SDK tree should be complete for your current configuration. To build the images run make.

"make"

3.2. Tarball installation

A tarball installation involves using two tarballs where the user has to extract these tarballs. This method does not require an Internet connection on the computed intended for the installation, but you still need access to the tarballs.

3.2.1. Download the tarballs

Make sure that you have downloaded both devboard-R2_01.tar.gz and devboard-R2_01-distfiles.tar.gz. Unpack the devboard-R2_01.tar.gz file. Then unpack the devboard-distfiles-R2_01.tar.gz. This will create a folder named distfiles which contain all packages needed for the installation. Then make a symbolic link inside the devboard-R2_01 folder pointing to this distfiles directory.

"tar xvfz devboard-R2_01.tar.gz"
"tar xvfz devboard-R2_01-distfiles.tar.gz"
"cd devboard-R2_01"
"ln -s ../distfiles"

3.2.2. Run install script

Enter the newly created "devboard-R2_01" directory and run the install script. This will install tools and source code needed to configure the SDK in the next step.

First you will be confronted with a question if you would like to copy distribution files from an earlier SDK installation. Since you already copied the files when installing the second tarball answer "n" here.

At the end of the install script you will be asked which product to use. This selection determines which configuration files to be used. Select a product that resembles your hardware.

"./install"

3.2.3. Configuration (Optional, but recommended)

To be able to control which packages to include, run any of the configuration targets (menuconfig, xconfig, config) to generate a custom configuration.

In most cases this is recommended to run these configuration targets since the default configuration only includes a subset of all available packages. Configure the SDK according to your needs or skip this step to use the default configuration.

"make menuconfig" (or "make config" or "make xconfig")

3.2.4. Install packages

Install all packages needed for your configuration. This is performed by the configure script that also generates the top-level Makefile, used in the next step.

"./configure"

3.2.5. Build image

Now your SDK tree should be complete for your current configuration. To build the images run make.

 "make"

For further guidance on how to work with your SDK, e.g., adding custom applications, consult the documentation page on http://developer.axis.com.

4. Update to SDK 2.01 from SDK 2.00

Caution

This method overwrites some files. All changes made in any of the followings files will be lost:

  • configure

  • flashit

  • flashitall

  • install

  • kflash

  • ktest

  • All product specific configuration files: (<product>/defconfig, <product>/kernelkonfig, <product>/kernelkonfig-2.6)

Moreover, the update will relocate links pointing to files and directories. This implies that changes made in these files or directories will not be present in the new file or directory. However, the old files or directories will not be overwritten.

4.1. Download and unpack the new devboard file

Download and unpack the devboard-R2_01.tar.gz file.

"tar -xvfz devboard-R2_01.tar.gz"

4.2. Copy new devboard files to SDK directory

Copy (or move) the files found in the devboard-R2_01 directory into the SDK directory you would like to upgrade.

"cp devboard-R2_01/* <SDK directory>"

4.3. Run the install script

Run the install script. This will download tools and source code needed to configure the SDK in the next step. When the script asks if you would like to copy distribution files answer no. At the end of the install script you will be asked which product to use. This selection determines which configuration files to be used. Select a product that resembles your hardware.

"./install"

4.4. Configuration (Optional)

Run the configure script with the -up (upgrade and pretend) option to produce a list of packages that would be upgraded in the case of running the configure script with the -u option. This can be valuable if you would like to know which packages an upgrade would affect.

"./configure -up"

4.5. Upgrade

Run the configure script with the -u option to upgrade all upgradeable packets.

"./configure -u"
© Axis Communications, All Rights Reserved.

Contact  | Axis Sites  | Privacy Statement