Forums

Problem running RR AEW demo built with RR DM365 SDK

This question is answered

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-aew
AEW 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:

  1. RR SDK Version: LeopardZBoardDM365sdkEVAL2011Q2
  2. Used "make config" to enable:
    1. File System Configuration
      1. Select target's file system software
        1. [*] ipiped
        2. [*] librraew-demo
  3. Cleaned with "make clean"
  4. Built with "make build"
  5. Installed with "make install"
  6. On the target, I ran "ipipe-client init-aew" and saw the error message above.

 

Verified Answer
  • 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 Aguero
    Embedded Software Engineer
    RidgeRun

     

     

All Replies
  • 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 Aguero
    Embedded Software Engineer
    RidgeRun

     

     

  • 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.

    Thanks,

    Mike

     

    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 ! fi

    lesink location=$FILE_NAME
    Setting pipeline to PAUSED ...
    davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
    vpfe-capture vpfe-capture: IPIPE Chained
    vpfe-capture vpfe-capture: Resizer present
    vpfe-capture vpfe-capture: standard not supported
    Pipeline 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 argument
    WARNING: 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 argument
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Got 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 -al
    drwxrwxrwt    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.jpg
    prw-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-exposure
    Exposure 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 ! fi

    lesink location=$FILE_NAME
    Setting pipeline to PAUSED ...
    davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
    vpfe-capture vpfe-capture: standard not supported
    ERROR: 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 argument
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
    Additional debug info:
    ../../../../src/libs/gst/base/gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Check your filtered caps, if any
    Setting pipeline to NULL ...
    Freeing pipeline ...
    /tmp # ls -al
    drwxrwxrwt    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.jpg
    prw-r-----    1 root     root             0 Jan  1 00:00 psplash_fifo
    /tmp #