Difference between revisions of "HBS1 software installation"

From Klaus' wiki
Jump to: navigation, search
(Created page with 'In order to install the distribution that comes with the Diax HBS1's follow these guidlines. Log in as root. <source lang="bash"> $ # ensure that your envronment is up to date …')
 
Line 31: Line 31:
 
</source>
 
</source>
  
Configure the tftp server
+
Configure the tftp server by following these instructions: [[Tftp]]
 +
 
 +
Copy the compiled packages to the tftp server. ''Hint: Can be built in the build.sh script in the uClinux distribution''
 +
 
 +
<source lang="bash">
 +
$ cp uimage.gz og uromfs.gz /tftpboot
 +
</source>

Revision as of 19:00, 3 November 2010

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 by following these instructions: Tftp

Copy the compiled packages to the tftp server. Hint: Can be built in the build.sh script in the uClinux distribution

$ cp uimage.gz og uromfs.gz /tftpboot