Difference between revisions of "353/363 Support"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | This page is outdated, please use this one - [[Elphel_Software_Kit_for_Ubuntu]] | ||
+ | |||
==Basic Developer Preparation== | ==Basic Developer Preparation== | ||
These are the steps to compile from CVS and prepare 353/363 software to flash to the camera. | These are the steps to compile from CVS and prepare 353/363 software to flash to the camera. | ||
Line 23: | Line 26: | ||
</code> | </code> | ||
− | + | Publish your ssh key to the server with the following commands | |
− | |||
substituting developer name with your own sourceforge username. | substituting developer name with your own sourceforge username. | ||
As per instructions at https://sourceforge.net/cvs/?group_id=105686 | As per instructions at https://sourceforge.net/cvs/?group_id=105686 | ||
<code> | <code> | ||
− | |||
− | $ cvs -z3 -d:ext:developername@elphel.cvs.sourceforge.net:/cvsroot/elphel co -P elphel353-7.1 | + | $ export CVS_RSH=ssh |
+ | |||
+ | $ cvs -z3 -d:ext:developername@elphel.cvs.sourceforge.net:/cvsroot/elphel co -P elphel353-7.1 | ||
</code> | </code> | ||
Line 37: | Line 40: | ||
<code> | <code> | ||
− | cd ~/workspace/elphel-7.1 | + | $ cd ~/workspace/elphel-7.1 |
</code> | </code> | ||
Run the install script, this builds a target source folder. | Run the install script, this builds a target source folder. | ||
+ | |||
<code> | <code> | ||
− | ./install_elphel_from_cvs | + | $ ./install_elphel_from_cvs |
</code> | </code> | ||
After that has finished, change to your target directory | After that has finished, change to your target directory | ||
+ | |||
<code> | <code> | ||
− | cd ../353 | + | $ cd ../353 |
</code> | </code> | ||
Run the install_elphel script this will download sources and build them to the elphel353 directory | Run the install_elphel script this will download sources and build them to the elphel353 directory | ||
+ | |||
<code> | <code> | ||
− | ./install_elphel | + | $ ./install_elphel |
</code> | </code> | ||
+ | |||
+ | Init the enviroment variables (this is required for a successful php extension build). | ||
+ | |||
+ | <code> | ||
+ | $ cd elphel353 | ||
+ | $ . ./init_env | ||
+ | </code> | ||
+ | |||
After that has finished run make to create the first camera images | After that has finished run make to create the first camera images | ||
− | <code> make </code> | + | <code> |
+ | $ make | ||
+ | </code> | ||
− | + | A directory with the same structure as will be on the camera will be mirrored to: <code> | |
+ | $ ./target | ||
+ | </code> | ||
After that, follow the [[Reflashing_the_353/363 |flashing instructions]] | After that, follow the [[Reflashing_the_353/363 |flashing instructions]] |
Latest revision as of 11:45, 28 October 2010
This page is outdated, please use this one - Elphel_Software_Kit_for_Ubuntu
Basic Developer Preparation
These are the steps to compile from CVS and prepare 353/363 software to flash to the camera.
Preparation
Before you begin, make sure you have the following packages on your system:
- gcc
- make 3.8
- libcris
- byacc
- bc
- perl
- sed
- tar
- zlib
- md5sum
- ncurses-dev
Downloading and installing the source
Navigate to the directory where you will download your source in this example the directory is
/home/username/workspace/
Publish your ssh key to the server with the following commands
substituting developer name with your own sourceforge username.
As per instructions at https://sourceforge.net/cvs/?group_id=105686
$ export CVS_RSH=ssh
$ cvs -z3 -d:ext:developername@elphel.cvs.sourceforge.net:/cvsroot/elphel co -P elphel353-7.1
After you download the elphel source change one directory down from your working directory to the folder elphel-7.1
$ cd ~/workspace/elphel-7.1
Run the install script, this builds a target source folder.
$ ./install_elphel_from_cvs
After that has finished, change to your target directory
$ cd ../353
Run the install_elphel script this will download sources and build them to the elphel353 directory
$ ./install_elphel
Init the enviroment variables (this is required for a successful php extension build).
$ cd elphel353 $ . ./init_env
After that has finished run make to create the first camera images
$ make
A directory with the same structure as will be on the camera will be mirrored to:
$ ./target
After that, follow the flashing instructions