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.

Need a help!!

1. Demo program test Error!!

Target# ./loadmodules_hd.sh
irqk unregistered
CMEMK module: built on Jan  3 2011 at 20:46:35
  Reference Linux version 2.6.32
  File /home/sjkim/work/svn_mc/T04/dvsdk/dvsdk_3_10_00_16/linuxutils_2_25_01_06/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEMK Error: CMEM phys_start (0x83c00000) overlaps kernel (0x80000000 -> 0x84c00000)
insmod: error inserting 'cmemk.ko': -1 Invalid parameters
IRQK module: built on Jan  3 2011 at 20:47:10
  Reference Linux version 2.6.32
  File /home/sjkim/work/svn_mc/T04/dvsdk/dvsdk_3_10_00_16/linuxutils_2_25_01_06/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Jan  3 2011 at 20:46:51
  Reference Linux version 2.6.32
  File /home/sjkim/work/svn_mc/T04/dvsdk/dvsdk_3_10_00_16/linuxutils_2_25_01_06/packages/ti/sdo/linuxutils/edma/src/module/edmak.c

Target#./decode -v data/videos/davincieffect.mpeg4
Decode demo started.
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
CMEM Error: CMEM file descriptor -1 (failed 'open()'), ensure CMEMK kernel module cmemk.ko has been installed with 'insmod'CMEM Error: CMEM file descriptor -1 (failed 'open()'), ensure CMEMK kernel module cmemk.ko has been installed with 'insmod'Failed to allocate memory.
Error: Failed to create buftab
Error: Failed to create video decoder: mpeg4dec

what's the problem?

2. I want get DVSDK user Guide file. where i get that??

  • Your failures highlighted in red are a result of the kernel module not installing correctly.

    The reason your cmemk.ko kernel module is not 'insmod'ing correctly is because it is configured to use memory that is owned by the Linux kernel.  The "overlaps kernel" message shows that you're trying to install cmemk.ko with 'phys_start=0x83c00000', but your kernel owns all memory from 0x80000000 - 0x84c00000).  The kernel owns that memory because you specified "mem=76M" in the u-boot bootargs parameter.

    You either need to reduce Linux kernel memory, specifying at most "mem=60M" in bootargs (since phys_start of 0x83c00000 corresponds to 60 MB), or increase cmemk.ko's phys_start to at least 0x84c00000 (by modifying the 'insmod cmemk.ko' command in loadmodules_hd.sh).

    Regards,

    -  Rob