User manual

3.4 Linux System Deveplopment
This section will introduce how to establish a Linux system development platform run on
SOC8200 hardware platform with the use of SOC8200 BSP. Details to be provided contain the
formation of cross compilation environment, the generation of system image and demonstrate how
to customize the system.
For the SD card, After formatting and dividing into FAT and EXT3 under ubuntu system, the FAT
needs reformatting under windows system, otherwise, start-up with SD card can be realized.
The Linux said thereof is ubuntu 7.10 which will be referred as ubuntu.
3.4.1.1 Install the cross compilation environment
User must well form an arm Linux cross compilation environment before developing the
SOC8200. We will take ubuntu operating system as the example to introduct the formation of
cross compilation environment. The operation in Linux is similar with that in ubuntu system.
Insert the CD, ubuntu will put the CD under /media/cdrom directory, and the cross compilation
tool will be put under /media/cdrom/linux/tools directory.
Users can execute the following commands to start up the installation of cross compilation tool:
cd /media/cdrom/linux/tools
tar xvjf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C
/home/embest
The manual takes /home/embest as default installation directory. Users may
change the path.
3.4.1.2 The installation of other tools
Other tools included in linux/tools directory of CD may be used for source code. Users can
execute the following commands for installation:
mkdir /home/embest/tools
cp /media/cdrom/linux/tools/mkimage /home/embest/tools
cp /media/cdrom/linux/tools/signGP /home/embest/tools
cp /media/cdrom/linux/tools/mkfs.ubifs /home/embest/tools
cp /media/cdrom/linux/tools/ubinize /home/embest/tools
cp /media/cdrom/linux/tools/ ubinize.cfg /home/embest/tools
3.4.1.3 Adding environment variable
After installation of the above tools, those tools can be added into environment variable with the
following commands:
export PATH=/home/embest/arm-2009q1/bin:/home/embest/tools:$PATH