Andy,
At one point I got that patchset working on 1.10, but I don't recall if it will work directly in it's current state on 1.10. The tweaks should be minor for 1.10, and they'll be mainly in the build environment. Kevin ________________________________ From: Andy Ngo [mailto:[EMAIL PROTECTED] Sent: Sunday, March 11, 2007 12:55 PM To: Bobby Buck; Kevin Hilman Cc: [email protected] Subject: Re: Problem compiling cmemk with GIT kernel Thanks. I didn't see those posts earlier. Kevin, will your patches work with dvevm version 1.10; I see that your patches reference version 1.00. I'll give it a try. I not interested in the video stuff (just do some audio compression using the DSP) so hopefully I don't have to spend much effort. Yeah, I would have been fine with the Montavista version but I couldn't get the MTD NOR JFFS2 support to work with it; with the GIT kernel, I got the MTD NOR JFFS2 to work fine but now I'm having to face recompiling cmemk and dsplinkk. Regards, Andy ----- Original Message ---- From: Bobby Buck <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [email protected] Sent: Sunday, March 11, 2007 7:10:27 AM Subject: RE: Problem compiling cmemk with GIT kernel Building cmemk.ko and dsplinkk.ko for the GIT kernel is not a straight-forward task. Two weeks ago, I went through exactly what you're going through now. After a few frustrating days attempting to build these modules, I gave up and decided to revert to the montavista kernel for the time being. Please see a post entitled "Building cmemk.ko and dsplinkk.ko" which I posted on the 28th of February 2007. Kevin's advice and patch files were extremely helpful, and will probably solve your current problems, if you are confident enough at patching/hacking source files. Good luck, Bobby >From: Andy Ngo <[EMAIL PROTECTED]> >To: "davinci-linux-open-source @linux.davincidsp.com" ><[email protected]> >Subject: Problem compiling cmemk with GIT kernel >Date: Sun, 11 Mar 2007 00:22:58 -0800 (PST) > >Hi, > >I recently switched from the Montavista kernel to the GIT kernel. I need >to rebuild cmemk.ko and dsplinkk.ko >with the GIT kernel. When I build cmemk.ko, I get undefined references to >class_simple_*: > ># make >make -C >/opt/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux-davinci- 2.6 >M=`pwd` ARCH=arm >CROSS_COMPILE=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le- \ > EXTRA_CFLAGS="-DUSE_UDEV=1 -DMAX_POOLS=128" modules >make[1]: Entering directory >`/opt/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux-davinci -2.6' > CC [M] >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.o >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c: >In function `cmem_init': >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c:581: >warning: implicit declaration of function `class_simple_create' >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c:581: >warning: assignment makes pointer from integer without a cast >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c:587: >warning: implicit declaration of function `class_simple_device_add' >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c: >In function `cmem_exit': >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c:686: >warning: implicit declaration of function `class_simple_device_remove' >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.c:689: >warning: implicit declaration of function `class_simple_destroy' > Building modules, stage 2. > MODPOST 1 modules >WARNING: "class_simple_destroy" >[/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/c memk.ko] >undefined! >WARNING: "class_simple_device_remove" >[/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/c memk.ko] >undefined! >WARNING: "class_simple_device_add" >[/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/c memk.ko] >undefined! >WARNING: "class_simple_create" >[/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/c memk.ko] >undefined! > CC >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.mod.o > LD [M] >/opt/dvevm_1_10/cmem_1_01/packages/ti/sdo/linuxutils/cmem/src/module/cm emk.ko >make[1]: Leaving directory >`/opt/montavista/pro/devkit/lsp/ti-davinci_evm-arm_v5t_le/linux-davinci -2.6' > > >When I load cmemk.ko, I get errors for those undefined references: > ># insmod cmemk.ko phys_start=0x87800000 phys_end=0x88000000 >pools=1x3145728,3x829440,1x61440,1x10240 >cmemk: module license '(c) Texas Instruments' taints kernel. >cmemk: Unknown symbol class_simple_device_add >cmemk: Unknown symbol class_simple_destroy >cmemk: Unknown symbol class_simple_device_remove >cmemk: Unknown symbol class_simple_create >insmod: cannot insert `cmemk.ko': Unknown symbol in module (-1): No such >file or directory > >I'm using the latest GIT kernel (2.6.20-omap1) and dvevm 1.10. I haven't >tried compiling dsplinkk.ko yet. Anyone has this same problem? >Am I doing something wrong? Thanks. > >Regards, >Andy > > > >_______________________________________________ >Davinci-linux-open-source mailing list >[email protected] >http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _________________________________________________________________ Advertisement: 50% off on Xbox 360, PS and Nintendo Wii titles! http://www.play-asia.com/SOap-23-83-4lab-71-bn-49-en-84-k-40-extended.ht ml
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
