29.04.2015 Views

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

cp /media/cdrom/linux/tools/mkimage /home/embest/tools<br />

cp /media/cdrom/linux/tools/signGP /home/embest/tools<br />

cp /media/cdrom/linux/tools/mkfs.ubifs /home/embest/tools<br />

cp /media/cdrom/linux/tools/ubinize /home/embest/tools<br />

cp /media/cdrom/linux/tools/ ubinize.cfg /home/embest/tools<br />

It is defaulted to install it under the user directory that is subject to<br />

/home/embest in the text; the user can change it to his directory properly.<br />

3.4.1.2 Addition of environment variables<br />

After all above tools are installed, it is necessary to use the following commands to add them in the<br />

temporary environment variables:<br />

export PATH=/home/embest/arm-eabi-4.4.0/bin:/home/embest/tools:$PATH<br />

The user can write it in the .barsrc file under the user directory, such that<br />

the addition of environment variables will be finished automatically when<br />

the system is booted; command echo $PATH can be used to check the<br />

path.<br />

3.4.2 System compilation<br />

3.4.2.1 Preparation<br />

Source codes of all components of the system are under the directory linux/source in the disc;<br />

user has to decompress them to the Ubuntu system be<strong>for</strong>e executing development:<br />

mkdir /home/embest/work<br />

cd /home/embest/work<br />

tar xvf /media/cdrom/linux/source/x-loader-03.00.02.07.tar.bz2<br />

tar xvf /media/cdrom/linux/source/u-boot-03.00.02.07.tar.bz2<br />

tar xvf /media/cdrom/linux/source/linux-2.6.32-devkit8500.tar.bz2<br />

tar<br />

xvf<br />

/media/cdrom/linux/demo/Android/source/rowboat-android-froyo-devkit8500.tar.bz2<br />

sudo tar xvf /media/cdrom/linux/source/rootfs.tar.bz2<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!