Bobby, 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.
Regards, Niclas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johnny T Sent: Wednesday, February 28, 2007 10:47 AM To: [email protected] 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 source.mvista.com 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: /home/bobby/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/ Edited it, changing 3 variables to have the following values: EXEC_DIR=/home/bobby/workdir/filesys/opt/dvevm MVTOOL_PREFIX=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v 5t_le- LINUXKERNEL_INSTALL_DIR=/home/bobby/repositories/linux-davinvi-2.6 >From the same directory, ran the following commands (as root): make make install On the EVM, when i try either "insmod cmemk.ko" or "loadmodules.sh" 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 buildmodule.sh 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 similar. make[1]: execvp: /home/bobby/dvevm_1_10/dsplink_1_30_08_02/packages/dsplink/gpp/inc: Permission denied make[1]: *** [osal.c.deb] Error 127 make[1]: Leaving directory `/home/bobby/dvevm_1_10/dsplink_1_30_08_02/packages/dsplink/gpp/src/osal ' make: *** [objdeb] Error 2 ----------------------- Any help/suggestions would be greatly appreciated. Bobby. _________________________________________________________________ Advertisement: Meet Sexy Singles Today @ Lavalife - Click here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Eco m%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26l ocale%3Den%5FAU%26a%3D23769&_t=754951090&_r=endtext_lavalife_dec_meet&_m =EXT _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
