User manual

Page | 38
mkdir $HOME/tools
cp /media/cdrom/linux/tools/mkimage $HOME/tools
cp /media/cdrom/linux/tools/signGP $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
3. Adding Environment Variables;
Execute the following instructions to add installed tools into the
environment variables;
export PATH=$HOME/arm-eabi-4.4.0/bin:$HOME
/arm-2007q3/bin:$HOME/tools:$PATH
Note:
The instructions used to add environment variables can be put into the file
.bashrc under user directory to allow the system to load the variable
automatically each time it boots up.
If you need to view the path, please use the instruction echo $PATH.
3.3.2 System Compilation
1. Uncompress Source Code;
Execute the following instructions to uncompress the source code from
/linux/source of DVD-ROM to the Ubuntu system;
mkdir $HOME/work
cd $HOME/work
tar xvf /media/cdrom/linux/source/x-loader-03.00.02.07.tar.bz2
tar xvf /media/cdrom/linux/source/u-boot-03.00.02.07.tar.bz2
tar xvf /media/cdrom/linux/source/linux-2.6.32-sbc8140.tar.bz2
sudo tar xvf /media/cdrom/linux/source/rootfs.tar.bz2
tar xvf
/media/cdrom/linux/demo/Android/source/rowboat-android-froyo-sbc8140
.tar.bz2