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.

dm355 Encode/Decode Demo Command Line question

hi

  condition:/home/dvsdk_1_30_00_23/demos

question:how to settle the below problem?

# ./loadmodules.sh
insmod: cannot open module `cmemk.ko': No such file or directory
./loadmodules.sh: 6: ./mapdmaq: not found
insmod: cannot open module `dm350mmap.ko': No such file or directory
BusyBox v1.01 (2005.12.18-04:57+0000) multi-call binary

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe).

Options:
        -m      create the special file using the specified mode (default a=rw)

TYPEs include:
        b:      Make a block (buffered) device.
        c or u: Make a character (un-buffered) device.
        p:      Make a named pipe. MAJOR and MINOR are ignored for named pipes.

# ./encode -v test.mpeg4 -t 20
-sh: ./encode: Permission denied

 

 

  • Have you stepped through the DM355 DVEVM Getting Started Guide (SPRUF73)?

    The ./loadmodules.sh is a BASH shell script that is executed by the target.  You can cat this file and see what is attempting to do.  By default, the loadmodules.sh is assuming cmem.ko, mapdmaq and dm350mmap.ko are resident in the same target directory that you are executing ./loadmodules.sh.

    I seem to recall that during the process of building the DVSDK, one of the steps is a "make install" which copies these files into the target filesystem.