MiraBox User Guide
–page
23
/
29
a. Prepare a pc with linux Fedora 14 installed, and download the cross tool chain
“arm-marvell-linux-gnueabi-vfp.tar.bz2”
from our website
http://www.plugcomputer.org/downloads/d2plug/
or
http://www.globalscaletechnologies.com
b. Install and configure the tool chain
Copy
“
arm-marvell-linux-gnueabi-vfp.tar.bz2
” to directory /opt
# cd /opt
# tar
–jxf arm-marvell-linux-gnueabi-vfp.tar.bz2
# ls
# vim /root/.bashrc
Add
“
export PATH=$PATH:/opt/arm-marvell-linux-gnueabi-
vfp/bin”
to the last line as below, then save
and exit.
To enable the PATH, by entering
# source /root/.bash_profile
c. Write a program
Here is the sample program named
“i2c_led.c”