Difference between revisions of "HBS1 software installation"
From Klaus' wiki
Line 24: | Line 24: | ||
$ tar xzf build/u-boot-1.1.2-hbs1.tar.gz | $ tar xzf build/u-boot-1.1.2-hbs1.tar.gz | ||
$ mkdir uClinux-dist | $ mkdir uClinux-dist | ||
− | |||
$ # unpack the uClinux distribution | $ # unpack the uClinux distribution | ||
− | $ tar xzf | + | $ tar xzf build/uClinux-dist-20101107.tgz |
$ # compile the uBoot | $ # compile the uBoot | ||
$ cd ../u-boot-1.1.2 | $ cd ../u-boot-1.1.2 | ||
Line 34: | Line 33: | ||
$ cd uClinux-dist | $ cd uClinux-dist | ||
$ make menuconfig | $ make menuconfig | ||
− | $ # Just exit | + | $ # Just exit immediately |
$ sh build.sh | $ sh build.sh | ||
− | $ # Hit return when the compilations stops and you're asked a | + | $ # Hit return when the compilations stops and you're asked a question |
</source> | </source> | ||
Revision as of 08:52, 7 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 $ # to eliminate some constraints built in the built system make a symbolic link for sed in /usr/bin $ ln -s /bin/sed /usr/bin/sed $ # make a directory to work in, e.g. /home/eml1 $ mkdir -p /home/eml1/Diax-CD $ cd /home/eml1/Diax-CD $ # copy the distribution CD from bren $ scp -r <your login>@bren.hih.au.dk:/home/eml/ .
A directory named Diax-Cd is created. In the build directory are the software.
$ cd Diax-CD $ # unpack the arm-elf tools $ sh build/arm-elf-tools-base-gcc3.4.0-20090114.sh $ # unpack the uBoot $ tar xzf build/u-boot-1.1.2-hbs1.tar.gz $ mkdir uClinux-dist $ # unpack the uClinux distribution $ tar xzf build/uClinux-dist-20101107.tgz $ # compile the uBoot $ cd ../u-boot-1.1.2 $ sh build.sh $ cd .. $ # compile the uClinux $ cd uClinux-dist $ make menuconfig $ # Just exit immediately $ sh build.sh $ # Hit return when the compilations stops and you're asked a question
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 images/uimage.gz images/uromfs.gz /tftpboot