This document describes how to install the latest Developer Board 82 Software.
System requirements:
The document Getting Started Guide to AXIS Developer Board 82 may be of some interest if you have not got the developer board up and running yet.
If you do not already have the cris compiler tools version 1.24 or later then download it from ftp://ftp.axis.com/pub/axis/tools/cris/compiler-kit/ or http://developer.axis.com/download/compiler/ and install it. If you are using a RPM-based distribution of Linux on a PC you should download the binary RPM (Red Hat Package Manager). If you have a RPM-based Linux distribution on a non-PC machine, you might want to consider the source RPM for ease of installation.
Building cris-dist from source takes a long time and GNU make 3.79 is required.
If you download the tarball source code version
(cris-dist-x.y.tar.gz, where
x.y is 1.24 or later), install it by typing:
su (Enter root's password) tar -zxvf cris-dist-x.y.tar.gz cd cris-dist-x.y tar -zxvf ../cris-dist-glibc-x.y.tar.gz tar -zxvf ../cris-dist-linux-headers-x.y.tar.gz ./install-cris-tools exit
The default answers to the questions should be OK, so just press enter when a question is asked.
The Developer Board 82 Software does not include the Linux kernel.
The software uses Linux 2.4.20 so if you do not have it already you need to download it from http://www.kernel.org.
It will be used later in the installation process below so download it now if you have not got it.
The file you should download is linux-2.4.20.tar.gz from http://www.kernel.org/pub/linux/kernel/v2.4/
or ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
or any of the mirror sites (see http://www.kernel.org).
Then download the file devboard_82-Rx_yz.tgz from the directory http://developer.axis.com/download/devboard_82/latest/.
Whenever you are working with this distribution you must make sure you have
sourced the init_env file in the axis/devboard_82
directory. Type this:
cd axis/devboard_82 . ./init_env
Some shells do not understand . ./init_env, in that case try source ./init_env instead.
Ungzip and untar the downloaded tgz-file in your home directory by typing:
cd ~ tar -zxvf /path/to/the/downloaded/devboard_82-Rx_y_z.tgz
It does not matter where you untar the source code tree. You can untar it in any directory writable to you (we usually keep it in our home directories).
Read the file axis/devboard_82/README.
This software uses the Linux 2.4.20 kernel and the installation script needs to know where you have the source code for it.
If you have not already got the source code for Linux 2.4.20 you should download it first, then ungzip and untar it in the directory axis/devboard_82/os:
cd axis/devboard_82/os tar -zxvf /path/to/linux-2.4.20.tar.gz
If you already have the source in for example /usr/src/linux you can leave it there and tell the install script where it is (you will be asked).
The install script will then create a symbolic link (axis/devboard_82/os/linux) to the directory of your Linux
2.4.20 source code.
Type the following to run the install script:
cd axis/devboard_82 ./install
To be able to see the boot log from the developer board connect the serial port
COM1/ser0 on the developer board to a serial port on your computer using an ordinary null modem cable.
Use a terminal program to listen to the serial port on your computer. The
easiest way is to run sermon (resides in the tools/build/bin directory).
You can however use any terminal program set to 115200 baud, no parity, eight databits and one stopbit.
sermon listens to COM1 on your computer (/dev/ttyS0).
If you are using another serial port than COM1 on your PC you must tell sermon which one.
For example, type sermon /dev/ttyS1 if you are using COM2 on your PC.
Depending on your configuration you may need to be root to use the serial port on you computer, or change the permissions on /dev/ttySn. When you boot the developer board output should appear in your terminal program.