[Elphel-support] Issue with PPA

Andrey Filippov support-list at support.elphel.com
Wed Aug 17 14:34:41 PDT 2011


Diana,

It is understandable that Axis did not reply - they ended this line of
processors and we are also working on replacing the CPU in Elphel cameras
with ARM.  Did it work to install the pre-compiled gcc-cris from ppa? And
when you tried to compile - did you ally patches to the gcc-cris source
(listed on the wiki)? What version of the GCC did you use to compile?

What kind of software do you to compile for the camera - application, kernel
driver?
 Did you consider using PHP with custom (camera-specific) extensions - it
works well in many cases, i.e. you can use it to create a custom camera API.

For developing in-camera software I would recommend using KDevelop -
unfortunately you have to use older 3.5 version, but we were able to
successfully install it on recent Ubuntu systems, the prep_kdevelop.php in
the top installation directory of Elphel software makes KDevelop project -
it includes all the Elphel-specific files on different levels of the
software so it is much easier to navigate the code using built-in ctags and
grep interface. If you are editing kernel files, then pressing "Compile" in
the menu re-builds the kernel drivers, if you are editing application - it
will compile and install it under "target" directory - directory structure
that is copied to the camera, so while working on some application you may
just ftp it from there to the camera.

Selecting "build project" rebuilds the whole project and generates the
binary image that is copied to the nfs directory on your computer (default -
"/nfs"), where the camera can grab it and copy to the flash memory. When
building the project - look at possible mis-match in target.list - any
differences are reported. It may happen that because of some compilation
errors the generated image will have some of the files missing, so that
image may hang during boot. The build script compares the directory
structure of the generated target with the known-good list.

Andrey


On Wed, Aug 17, 2011 at 2:53 PM, Diana Carrigan
<DianaEJohnson at maxim-ic.com>wrote:

> Hi, Andrey,****
>
> ** **
>
> Yes we are trying to develop software and compile our programs to run in
> the camera. I’m following the instructions in the document titled Elphel
> Software Kit for Ubuntu, found on the Wiki.****
>
> ** **
>
> My next big tackle seems to be compiling gcc-cris.****
>
> ** **
>
> I have sent the install-cris-tools_log to compiler-contact at axis.com, but
> they have not responded. I seeing the following message:****
>
> ** **
>
> **********buffer overflow detected**********: cris-axis-elf-ar terminiated
> ****
>
> ** **
>
> ** **
>
> And then the program aborts with an Error 2.****
>
> ** **
>
> If any of your experts have any ideas, please let know! I’ve attached the
> log.****
>
> ** **
>
> Thanks again ,****
>
> ** **
>
> Diana****
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20110817/3cea6aa2/attachment-0002.html>


More information about the Support-list mailing list