HBS1 software installation

From Klaus' wiki
Revision as of 18:54, 3 November 2010 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to install the distribution that comes with the Diax HBS1's follow these guidlines.

Log in as root.

$ # ensure that your envronment is up to date
$ yum install gcc binutils gzip make diffutils bison flex libncurses-devel zlib
$ # make a directory to work in, e.g. /home/eml1
$ mkdir -p /home/eml1
$ cd /home/eml1
$ # copy the distribution CD from bren
$ scp <your login>@bren.hih.au.dk:~/tmp/Diax.tar.gz .
$ # unpack the distribution
$ tar zxf Diax.tar.gz

A directory named Diax-Cd is created. In the build directory are the software.

$ cd Diax-CD
$ # unpack the arm-elf tools
$ sh arm-elf-tools-base-gcc3.4.0-20090114.sh
$ # unpack the uBoot
$ tar -xzf build/u-boot-1.1.2-hbs1.tar.gz
$ # unpack the uClinux distribution
$ tar xzf build/uClinux-dist-hbs1.tar.gz
$ # compile the uBoot
$ cd u-boot-1.1.2; sh build.sh
$ # compile the uClinux
$ cd ../uClinux-dist; sh build.sh

Configure the tftp server