I built and installed ipipe and librraew-demo using the RR SDK, but when I run "ipipe-client init-aew", I get the following error:
/ # ipipe-client init-aewAEW is not supported because ipipe was compiled without librraew/ #
I thought that I had compile ipipe with librraew using the process detailed below. Can someone help correct my error installing the demo?
Thanks,
Mike
Here are more details:
Hi,
I had the same problem and I followed Carlos guide to solve the problem. (http://designsomething.org/leopardboard/f/33/p/680/2555.aspx#2555)
But in step 3 I went to fs/apps/ipiped not to bsp/....
Carlos Aguero Hi: I was able to reproduce your error, in order to fix it I used the following commands (commands in bold) please use the following commands: 1. Go to the root of your devdir, the root of your devdir should be something like :~/LeopardBoardDM365sdkEVAL2011Q2$ At your user directory please do: cd LeopardBoardDM365sdkEVAL2011Q2 2. At your devdir do: `make env` Please notice the grave accent characters 3. Go to bsp/apps/ipiped cd bsp/apps/ipiped 4. Make distclean at IPIPED make distclean 5. Back to the root of your devdir cd $DEVDIR 6. Just to be shure erase this folder (CAREFUL! fs/fs inside Evaluation SDK, not your computer's file system or other file): rm -rf fs/fs/ 7. Make config and select ipiped + librraew-demo make config 8. build your Evaluation SDK make 9. Install make install Hope this helps! Carlos AgueroEmbedded Software EngineerRidgeRun
Hi:
I was able to reproduce your error, in order to fix it I used the following commands (commands in bold) please use the following commands:
1. Go to the root of your devdir, the root of your devdir should be something like :~/LeopardBoardDM365sdkEVAL2011Q2$
At your user directory please do:
cd LeopardBoardDM365sdkEVAL2011Q2
2. At your devdir do:
`make env` Please notice the grave accent characters
3. Go to bsp/apps/ipiped
cd bsp/apps/ipiped
4. Make distclean at IPIPED
make distclean
5. Back to the root of your devdir
cd $DEVDIR
6. Just to be shure erase this folder (CAREFUL! fs/fs inside Evaluation SDK, not your computer's file system or other file):
rm -rf fs/fs/
7. Make config and select ipiped + librraew-demo
make config
8. build your Evaluation SDK
make
9. Install
make install
Hope this helps!
Carlos AgueroEmbedded Software EngineerRidgeRun
It looks like that fixed it. Thanks so much!
EDIT: Since this is a different issue, I moved this item to http://designsomething.org/leopardboard/f/23/t/781.aspx
My gstreamer pipelines stop working after I use any of the ipipe-client commands, even just "get-exposure". Can you point me in the right direction to solve the problem?
I'm using the VGA image capture example from RidgeRun's wiki at https://www.ridgerun.com/developer/wiki/index.php/LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2#Image_capture.
Here's what it looks like BEFORE running an ipipe-client command.
/ # cd /tmp/tmp # FILE_NAME=VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpg/tmp # gst-launch -e v4l2src always-copy=false num-buffers=1 chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)UYVY, width=640, height=480 ! dmaienc_jpeg ! filesink location=$FILE_NAMESetting pipeline to PAUSED ...davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124vpfe-capture vpfe-capture: IPIPE Chainedvpfe-capture vpfe-capture: Resizer presentvpfe-capture vpfe-capture: standard not supportedPipeline is live and does not need PREROLL ...WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video0'.Additional debug info:../../../src/sys/v4l2/v4l2_calls.c(743): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:system error: Invalid argumentWARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Video input device did not accept new frame rate setting.Additional debug info:../../../src/sys/v4l2/v4l2src_calls.c(342): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:system error: Invalid argumentSetting pipeline to PLAYING ...New clock: GstSystemClockGot EOS from element "pipeline0".Execution ended after 97978789 ns.Setting pipeline to PAUSED ...Setting pipeline to READY ...Setting pipeline to NULL ...Freeing pipeline .../tmp # ls -aldrwxrwxrwt 2 root root 80 Jan 1 00:02 .drwxrwxrwx 13 1000 1000 4096 Dec 7 2011 ..-rw-r--r-- 1 root root 9268 Jan 1 00:02 VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpgprw-r----- 1 root root 0 Jan 1 00:00 psplash_fifo/tmp #
Failed gst-launch command AFTER an ipipe-client request
Note filesize of VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg is 0.
/tmp # /tmp # /tmp # /tmp # ipipe-client get-exposureExposure time: 18330/tmp # FILE_NAME=VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg/tmp # gst-launch -e v4l2src always-copy=false num-buffers=1 chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)UYVY, width=640, height=480 ! dmaienc_jpeg ! filesink location=$FILE_NAMESetting pipeline to PAUSED ...davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124vpfe-capture vpfe-capture: standard not supportedERROR: Pipeline doesn't want to pause.WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video0'.Additional debug info:../../../src/sys/v4l2/v4l2_calls.c(743): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:system error: Invalid argumentERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate formatAdditional debug info:../../../../src/libs/gst/base/gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:Check your filtered caps, if anySetting pipeline to NULL ...Freeing pipeline .../tmp # ls -aldrwxrwxrwt 2 root root 100 Jan 1 00:02 .drwxrwxrwx 13 1000 1000 4096 Dec 7 2011 ..-rw-r--r-- 1 root root 0 Jan 1 00:02 VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg-rw-r--r-- 1 root root 9268 Jan 1 00:02 VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpgprw-r----- 1 root root 0 Jan 1 00:00 psplash_fifo/tmp #