RidgeRun 2011Q2 SDK

RidgeRun 2011Q2 SDK

  • Hi!

    Compiling the new SDK I get several errors:

    (1) Some packages for the fs are not found on the net - connection to some ftp server fails

    (2) Patching the TI's DVSDK 4.02.00.06 fails

    The problem (1) is solvable by downloading the files manually and adding a .verified file in the download directory.

    The second problem is not solvable by patching the files manually, this results in other errors.

    I need some help with this.

    Thank you.

    Sebastian

    The compilers output is:

        Entering proprietary_src...
          Checking dependencies for dvsdk-4_02_00_06
          Compiling and installing dvsdk-4_02_00_06...
          Checking dependencies for gst-dmai-plugins
          Compiling and installing gst-dmai-plugins...

    Merging arch patches into the series...
            Applying quilt patches
    Wende Patch arch/prgb_tidmaivideosink_support.patch an
    patching file src/src/gsttidmaivideosink.c
    Hunk #1 FAILED at 196.
    Hunk #2 succeeded at 1634 with fuzz 2 (offset 1087 lines).
    Hunk #3 FAILED at 715.
    2 out of 3 hunks FAILED -- rejects in file src/src/gsttidmaivideosink.c


  • Something is out of sync.  The patches should apply cleanly.  Try

    cd $DEVDIR/proprietary/dvsdk*

    make clean build install

    cd $DEVDIR/proprietary/gst-dmai-plugins

    make clean build install

    Todd

  • Hi Todd,

    It worked. Thank you!

    I also had to re-installed the SDK an keep the configuration to the default values.

    Some needed packages still have to be downloaded manually, but that was working just fine.

    Sebastian

  • Hi,

    I am working for Leo368. I have the same problem... I made the command "make build" after "make config":

    ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2$ make VERBOSE=1

    ....

    The SDK requires dvsdk_3_10_00_19 provided by Texas Instruments.
    You can abort now and install the dvsdk_3_10_00_19 package on the default path
    at /home/ehsan/dvsdk/dvsdk_3_10_00_19, so it will be automatically detected next time you try to build.
    The DVSDK can be retrieved from the TI website:
       http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/3_10_00_19/index_FDS.html

    Please provide the path to dvsdk_3_10_00_19 installation location or press ctrl-c to abort

    (This moment, I had to type the address of DVSDK package... I don't know it's a right practice!)
    /home/ehsan/ti-dvsdk_dm368-evm_4_02_00_06


    mv dvsdk_3_10_00_19/Rules.make dvsdk_3_10_00_19/Rules.make.orig
    echo PLATFORM=dm365 > dvsdk_3_10_00_19/Rules.make
    cat Rules.make >> dvsdk_3_10_00_19/Rules.make
    quilt push -a
    Applying patch rr-sdk-integration.patch
    patching file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/decode/Makefile
    Hunk #1 FAILED at 36.
    Hunk #2 FAILED at 72.
    Hunk #3 FAILED at 111.
    3 out of 3 hunks FAILED -- rejects in file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/decode/Makefile
    patching file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/encode/Makefile
    Hunk #1 FAILED at 35.
    Hunk #2 FAILED at 72.
    Hunk #3 FAILED at 111.
    3 out of 3 hunks FAILED -- rejects in file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/encode/Makefile
    patching file dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/MVArm9.xdc
    Hunk #1 FAILED at 34.
    1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/MVArm9.xdc
    patching file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/config.bld
    Hunk #1 FAILED at 73.
    1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/config.bld
    patching file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/linux/dm365/Ir.c
    Hunk #1 FAILED at 38.
    1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/linux/dm365/Ir.c
    Patch rr-sdk-integration.patch does not apply (enforce with -f)
    make[3]: *** [patched] Error 1
    make[3]: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00'
    Error building dvsdk_3_10_00
    make[2]: *** [dependency_build] Error 1
    make[2]: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/proprietary'
    make[1]: *** [proprietary_src_build] Error 1
    make[1]: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/fs'
    make: *** [fs_build] Error 2
    ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2$


    As Todd said... I made "proprietary/dvsdk_3_10_00$ make clean build install" and the result:

    ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00$ make clean build install
    Makefile:7: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====.  Stop.
    ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00$

    I have even reinstall DVSDK but nothing more happened.

  • I am not sure it happens because I have install DVSDK for DM368 ("dvsdk_dm368-evm_4_02_00_06_setuplinux.bin") not DM365...

    In addition, I have downloaded RR SDK from SVN repository: source.ridgerun.net/.../trunk and copied in "/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/" not by "LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install.bin". Does it make any difference?

    It seems all the configuration is appropriated to DM365 when I enter "make config"...

     Ridgerun Linux SDK

     Board configuration: Leopard Board DM365

     Processing toolchain...

     Processing kernel...

     Processing fs...

       Entering host-apps...

    ....

  • Hi again,

    A RidgeRun expert let me know that SVN repository in "source.ridgerun.net/.../trunk" is not up-to-dated. The source SDK is associated with "DVSDK.3.10.00.19", not the latest "DVSDK4.02.00.06". In retrospect, I had not followed the exact instruction of SDK installation by calling "LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install".