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.

CMEM Error: init: major version mismatch between interface and driver

Other Parts Discussed in Thread: OMAP3530

Dear all,

I have manged to built the image for omap3530 based gumstix fire SMC and able to run ARM side applications, with the kernel version of 2.6.38. I used openembedded recipes to build it including dsplink, codec engine. The problem is when i tried to run the examples of coded engine on the gumstix target, came across with the following errors:

"CMEMK Error: ioctl(): bad command type 0x9b (should be 0xfe)                  
CMEMK Error: Unknown ioctl received.                                          
CMEM Error: getVersion: Failed to retrieve version from driver: -1.           
CMEM Error: init: major version mismatch between interface and driver.        
CMEM Error:     needs driver version 0x3000000, got 0xffffffff                
@0x00052379:[T:0x4007d000] ti.sdo.ce.examples.apps.image1_copy - main> ti.sdo.y
@0x000525fa:[T:0x4007d000] ti.sdo.ce.examples.apps.image1_copy - App-> Applica.
@0x00052637:[T:0x4007d000] ti.sdo.ce.examples.apps.image1_copy - app done.    
"

One thread discussing this http://old.nabble.com/gstreamer-ti-DSP-and-ioctl-errors-from-CMEMK-td32060561.html, but i have no idea why the latest versions of TI modules cannot work. Please kindly suggest. Thank you.

Eric

  • Some other threads with a similiar problem

    http://e2e.ti.com/support/embedded/f/354/t/38951.aspx
    http://e2e.ti.com/support/embedded/f/354/t/84720.aspx
    http://e2e.ti.com/support/embedded/f/354/t/37697.aspx

    Looks like Robert Tivy is the TI guy with the answers.

  • Thank you very much, Norman.

    Seems sth wrong with my kernel version. i think it better to put some more info here:

    The output of lsmod:

    "root@overo:/usr/share/ti/ti-codec-engine-examples# ./loadmodules.sh
    CMEMK module: built on Jul 22 2011 at 12:24:05
      Reference Linux version 2.6.38
      File /root/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-linuxutils-1_2_25_05_11-r100d/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xcc000000 of size 0xcac000
    cmemk initialized
    DSPLINK Module (1.65.00.03) created on Date: Jul 21 2011 Time: 12:14:25"