Building cmemk.ko and dsplinkk.ko

Anderberg, Niclas n-anderberg at
Thu Mar 1 11:02:08 CST 2007


You will have to go into the cmem_1_00/... directory (the level where
the Makefile resides) and execute make to rebuild CMEM. It is not
invoked from the top level build.


-----Original Message-----
From: davinci-linux-open-source-bounces at
[mailto:davinci-linux-open-source-bounces at] On
Behalf Of Johnny T
Sent: Wednesday, February 28, 2007 10:47 AM
To: davinci-linux-open-source at
Subject: Building cmemk.ko and dsplinkk.ko

Hi all. This is my first post to this list.

I have successfully managed to update my u-boot to 1.1.3_00.05.04 and
also successfully changed my kernel from the one that comes with dvevm
1.10.01 to the latest one taken from the git tree.

In order to run the demos, I need to rebuild cmemk.ko and dsplink.ko so
that they are compatible with my current kernel. I cannot get either of
these to work properly. Below are the steps I have taken.

----- cmemk.ko -----

Found the Rules.make file which resides in the following directory: 

Edited it, changing 3 variables to have the following values:


>From the same directory, ran the following commands (as root):

make install

On the EVM, when i try either "insmod cmemk.ko" or "" I
get the following error:

cmemk: disagrees about version of symbol struct_module
insmod: error inserting 'cmemk.ko': -1 Invalid module format

(which is the same error I was getting before I re-built cmemk.ko)

----- dsplinkk.ko -----

I have followed the instructions in sprue66b.pdf (section A.7) exactly.

When I run the script, the folowing 4 lines in the script
all cause the same type of error:

make -s -C osal -f Makefile
make -s -C gen -f Makefile
make -s -C ldrv -f Makefile
make -s -C pmgr -f Makefile

The fatal error shown below is for the osal make. The other 3 are

make[1]: execvp: 
Permission denied
make[1]: *** [osal.c.deb] Error 127
make[1]: Leaving directory
make: *** [objdeb] Error 2


Any help/suggestions would be greatly appreciated.


Advertisement: Meet Sexy Singles Today @ Lavalife - Click here

Davinci-linux-open-source mailing list
Davinci-linux-open-source at

More information about the Davinci-linux-open-source mailing list