Elphel Software Kit for Ubuntu: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== | ==For developers== | ||
Tested on Kubuntu 8.0.4. | Tested on Kubuntu 8.0.4. | ||
=== | ===Install needed packages=== | ||
Minimal packages: | Minimal packages: | ||
sudo apt-get install cvs build-essential autoconf flex byacc bison libglib2.0-dev tcl gettext libncurses5-dev patch zlib1g-dev nfs-kernel-server bash | sudo apt-get install cvs build-essential autoconf flex byacc bison libglib2.0-dev tcl gettext libncurses5-dev patch zlib1g-dev nfs-kernel-server bash | ||
| Line 21: | Line 21: | ||
answer by default (enter, enter, ...) | answer by default (enter, enter, ...) | ||
===Configure your NFS server=== | |||
Let's say you want to configure an NFS server on your machine and your IP address is '''192.168.0.100'''. | |||
Edit /etc/exports file with your favorite editor. Here I use nano. | |||
sudo nano -w /etc/exports | |||
Add at the end of the file: | |||
/nfs 192.168.0.0/255.255.255.0(rw,sync) | |||
save the file. | |||
If it does not yet exist make /nfs directory and make it world writable to make it possible to write logs from the camera. | |||
sudo mkdir /nfs | |||
sudo chmod 777 -R /nfs | |||
And finally export the filesystem. | |||
sudo exportfs -a | |||
===Install sources of Elphel camera=== | |||
====CVS==== | |||
Get [http://downloads.sourceforge.net/elphel/elphel353_install_from_cvs.sh.tar.gz?modtime=1195003055&big_mirror=0 elphel353_install_from_cvs.sh] script and execute it. | Get [http://downloads.sourceforge.net/elphel/elphel353_install_from_cvs.sh.tar.gz?modtime=1195003055&big_mirror=0 elphel353_install_from_cvs.sh] script and execute it. | ||
====Release==== | |||
===Elphel SDK=== | ===Elphel SDK=== | ||
| Line 56: | Line 81: | ||
You can find more information on how to compile and add new software on Etrax FS CPU here: [http://developer.axis.com/wiki/doku.php?id=axis:apps_howto] | You can find more information on how to compile and add new software on Etrax FS CPU here: [http://developer.axis.com/wiki/doku.php?id=axis:apps_howto] | ||
Revision as of 20:25, 21 October 2008
For developers
Tested on Kubuntu 8.0.4.
Install needed packages
Minimal packages:
sudo apt-get install cvs build-essential autoconf flex byacc bison libglib2.0-dev tcl gettext libncurses5-dev patch zlib1g-dev nfs-kernel-server bash
Suggested packages:
sudo apt-get install minicom firefox graphviz doxygen kdevelop ctags cervisia
Download and install Cris-GCC compiler:
wget http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/cris-dist-linux-headers-1.64.tar.gz wget http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/cris-dist-linux-headersv32-1.64.tar.gz wget http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/cris-dist-glibc-1.64.tar.gz wget http://www.axis.com/ftp/pub/axis/tools/cris/compiler-kit/cris-dist-1.64.tar.gz tar zxvf cris-dist-1.64.tar.gz cd cris-dist-1.64/ tar zxvf ../cris-dist-linux-headers-1.64.tar.gz tar zxvf ../cris-dist-linux-headersv32-1.64.tar.gz tar zxvf ../cris-dist-glibc-1.64.tar.gz sudo ./install-cris-tools
answer by default (enter, enter, ...)
Configure your NFS server
Let's say you want to configure an NFS server on your machine and your IP address is 192.168.0.100.
Edit /etc/exports file with your favorite editor. Here I use nano.
sudo nano -w /etc/exports
Add at the end of the file:
/nfs 192.168.0.0/255.255.255.0(rw,sync)
save the file.
If it does not yet exist make /nfs directory and make it world writable to make it possible to write logs from the camera.
sudo mkdir /nfs sudo chmod 777 -R /nfs
And finally export the filesystem.
sudo exportfs -a
Install sources of Elphel camera
CVS
Get elphel353_install_from_cvs.sh script and execute it.
Release
Elphel SDK
We provide our clients with a complete SDK to develop software, FPGA code and even to redesign the hardware.
PHP:
- PHP API
IDE:
CAD:
- Varicad (demo)
FPGA:
- iverilog
- GTKWave
Developing for Elphel 353 camera:
The camera sources are in:
~/353
to compile from CVS do:
cd ~/353/elphel353/ make update ./configure make
You can find more information on how to compile and add new software on Etrax FS CPU here: [1]