User manual

Page | 34
5.2 System Development
5.2.1 Establishing Operating System Development
Environment
Before beginning software development on the DevKit8600, the user first
has to install a Linux cross development environment in their computer. The
process for this will be introduced below, using the Ubuntu operating system
as an example.
5.2.2 Installation of Cross Compilation Tools
Installation of cross compilation tools is done by using the software CD
provided along with this kit. To start the process insert the CD and allow it to
auto run; Ubuntu will mount the disc under the directory /media/cdrom, the
cross compilation tools are saved under the directory
/media/cdrom/linux/tools.
The following instructions are executed in the Ubuntu terminal to
decompress the cross compilation tools under the directory $HOME:
mkdir $HOME/tools
cd /media/cdrom/linux/tools
tar xvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C
$HOME/tools
tar xvf arm-eabi-4.4.0.tar.bz2 -C $HOME/tools
Some of the other development tools used for source code compilation are
present in the directory linux/tools of the disc; the user can execute the
following commands to copy them to the local folder:
cp /media/cdrom/linux/tools/mkimage $HOME/tools
cp /media/cdrom/linux/tools/mkfs.ubifs $HOME/tools
cp /media/cdrom/linux/tools/ubinize $HOME/tools
cp /media/cdrom/linux/tools/ubinize.cfg $HOME/tools
5.2.3 Addition of Environment Variables
After all the above tools are installed, it is necessary to use the following
commands to add them to the temporary environment variables:
export PATH=$HOME/tools/arm-2009q1/bin:$HOME/tools/arm-eabi-4.4.0/bin:
$HOME/tools:$PATH