This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

can't run AM5728 opencv example.

hello:

     When I run ti give examples of opencv, submitted to the following error:

               root@am57xx-evm:/usr/share/OpenCV/titestsuite# source setupEnv.sh
               root@am57xx-evm:/usr/share/OpenCV/titestsuite# ./runtests
               .....................................................................................................
               .................................. OpenCL Tests......................................................
               testing core module
               [ 101.204155] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
               [ 101.210047] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
               [ 101.216118] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
               [ 101.230313] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
               [ 101.236196] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
               [ 101.242444] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0

    I did is according to the following address

  http://processors.wiki.ti.com/index.php/OpenCV#OpenCV_Modules_Supported_By_TI

    Excuse me, how to solve the above problem

      

  • Hello,

    Are you executing the whole procedure described in the linked OpenCV tutorial? If true could you attach in a text file all steps and consoles output.

    BR
    Tsvetolin Shulev
  • Hello:
    yes,I'd like to add opencl for opencv.I'm according to ti documentation for the following Settings

    root@am57xx-evm:~# cd /usr/share/OpenCV/
    root@am57xx-evm:/usr/share/OpenCV# ls
    OpenCVConfig-version.cmake lbpcascades
    OpenCVConfig.cmake opencv_extra-master
    OpenCVModules-release.cmake samples
    OpenCVModules.cmake testdata
    haarcascades titestsuite
    root@am57xx-evm:/usr/share/OpenCV# cd titestsuite/
    root@am57xx-evm:/usr/share/OpenCV/titestsuite# ls
    opencv_test_log.out setupEnv.sh test_imgproc_ocl
    runtests test_core_ocl tmp.txt
    root@am57xx-evm:/usr/share/OpenCV/titestsuite# source setupEnv.sh
    root@am57xx-evm:/usr/share/OpenCV/titestsuite# ./runtests
    ................................................................................ .....................
    .................................. OpenCL Tests................................. .....................
    testing core module
    [ 100.528788] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 100.534680] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [ 100.540678] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0

    I want to know what reason is this?OpenCL on DSP should be how to use??
  • I have those errors: omap_hwmod: mmu0_dsp2: _wait_target_disable failed but test is on going.
    And it takes really long time for testing. First time I thought it hang, because there was no output.
    Check opencv_test_log.out in separate console and you will see progress.