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.

how to study dvsdk and dvevm(DM6446)

Hi:Ti's engineer
I'm a beginner of davinci.my company buy a board of DVSDK(DM6446) I have studied it just a month; now I can build video_copy of the CE_INSTALL_DIR on the DVEVM and know how it is running,
but how I can input video and encode it into a file ,
how I can decode a video file and outpout,
when I run demos(/home/gzj/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446)
the terminal print :" ./encodedecode -r 352x240 -t 20 -k
                      Encodedecode demo started.
                      CMEMK Error: Failed to find a pool which fits 1500000
                      CMEM Error: getPool: Failed to get a pool fitting a size 1500000
                      Failed to allocate memory.
                      Error: Failed to allocate buffer for encoded data"
who will tell me how to study DVEVM and where to be found the demos thanks !!!!

  • the demos under dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446 would be the best to start with.  If you installed everything per the Getting Started Guide, these should work.  From the error log you sent, there appears to be errors with CMEM; this can occur if CMEM software module did not load properly or if the memory pools it defines are not adequate for the demo application.  Did you run ./loadmodules.sh before running the demo?  If not please do so.  If you did run loadmodules.sh, can you post what the contents of your loadmodules.sh file looks like?

  • Hi:Juan
          I know who to solve it
          modify the NFS paremeters  "mem=118M" instead of "mem=120M"
          this is my NFS uboot:
                          setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=192.168.0.15:255.255.255.0:192.168.253.1 root=/dev/nfs nfsroot=192.168.0.12:/home/gzj/workdir/filesys,nolock mem=120M

           this is modified uboot:
                          setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=192.168.0.15:255.255.255.0:192.168.253.1 root=/dev/nfs nfsroot=192.168.0.12:/home/gzj/workdir/filesys,nolock mem=118M
              thank you Juan!!!!