Yeah. Thanks to your patch. I have successfully created the dsplinkk.ko and it works fine! Thanks.
Regards, Steven On Tue, 2008-06-10 at 14:41 +0530, Kamoolkar, Mugdha wrote: > Great. BTW, funny coincidence, the wiki seems to be down right now. I'm also > not able to open the site. But you can try it later sometime. It has a good > amount of useful information. > > Regards, > Mugdha > > -----Original Message----- > From: steven.zhang [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2008 2:20 PM > To: Kamoolkar, Mugdha > Cc: davinci; [EMAIL PROTECTED] > Subject: RE: Failed while insert dsplinkk on EVM 1.30 release > > Thanks. Mugdha. > I will try to remove the sys_open etc from DSPLINK_140-05PL by comparing > DSPLINK_1_50. > > Regards, > Steven > On Tue, 2008-06-10 at 14:06 +0530, Kamoolkar, Mugdha wrote: > > DM420 is the same as DM6446 :-) > > Kevin's patch should take care of the sys failures also. Can you check that > > out? In recent DSPLink 1.50 release, we have removed calls to sys_open etc. > > If you want, you can pick up the changes from DSPLink 1.50 > > /dsplink/gpp/src/osal/Linux/2.6.18/kfile.c instead. > > > > Regards, > > Mugdha > > > > -----Original Message----- > > From: steven.zhang [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 10, 2008 1:52 PM > > To: Kamoolkar, Mugdha > > Cc: davinci; [EMAIL PROTECTED] > > Subject: RE: Failed while insert dsplinkk on EVM 1.30 release > > > > Thanks Mugdha. > > http://tiexpressdsp.com still can not be accessed.The connection has timed > > out.Damn! > > > > After doing some modification, DSPLINK can be successfully compiled.But on > > linking time, a strange error arise: > > > > Post processing kernel module dsplinkk... > > /home/steven/osd2.0/linux-davinci-2.6/scripts/mod/modpost > > -i /home/steven/osd2.0/linux-davinci-2.6/Module.symvers > > /home/steven/osd2.0/linux-davinci-2.6/vmlinux > > /home/steven/osd2.0/tievms/evm/dsplink_140-05p1/packages/dsplink/gpp/B > > UILD/PMGR/BIN/DEBUG/dsplinkk.o > > FATAL: modpost: GPL-incompatible module dsplinkk.ko uses GPL-only symbol > > 'sys_open' > > make[2]: *** [dsplinkk.o.deb] Error 1 > > make[2]: Leaving directory > > `/home/steven/osd2.0/tievms/dvevm_1_30/dsplink_140-05p1/packages/dsplink/gpp/src/pmgr' > > make[1]: *** [trgdeb] Error 2 > > make[1]: Leaving directory > > `/home/steven/osd2.0/tievms/dvevm_1_30/dsplink_140-05p1/packages/dsplink/gpp/src/pmgr' > > make: *** [pmgr.trgdeb] Error 2 > > > > The patches the link attach is formatted from dm420 platform, does it > > workable for dm6446? > > > > > > On Tue, 2008-06-10 at 13:24 +0530, Kamoolkar, Mugdha wrote: > > > This is an external wiki, and should be visible: > > > http://tiexpressdsp.com/wiki/index.php?title=Troubleshooting_DSPLink > > > _b > > > uild_issue > > > > > > What problems are you facing accessing the wiki? > > > > > > Regarding your errors, note that DSPLink version in 1.40.05_p1 does not > > > support 2.6.18 (and above) kernels. To make that work, you had to apply > > > patch that Kevin Hilman had provided in the past ... > > > > > > http://www.mail-archive.com/[EMAIL PROTECTED] > > > sp > > > .com/msg03002.html > > > > > > In DSPLink 1.50, we added support for 2.6.18 and higher kernels, however > > > you cannot directly use DSPLink 1.50 with evm_1_30, since they are likely > > > incompatible: > > > http://wiki.davincidsp.com/index.php?title=Codec_Engine_Roadmap > > > > > > Sorry for not mentioning this earlier to you, but since you were already > > > building the earlier DSPLink with your higher kernel version 2.6.23, I > > > assumed that you had already applied that patch and had this working. > > > > > > Regards, > > > Mugdha > > > > > > -----Original Message----- > > > From: steven.zhang [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, June 10, 2008 1:07 PM > > > To: Kamoolkar, Mugdha > > > Cc: davinci; [EMAIL PROTECTED] > > > Subject: RE: Failed while insert dsplinkk on EVM 1.30 release > > > > > > When I try to compile the dsplink, it will give several compile error. > > > [1] > > > prcs.c: In function `PRCS_Create': > > > prcs.c:183: error: dereferencing pointer to incomplete type > > > prcs.c:184: error: dereferencing pointer to incomplete type > > > prcs.c:186: error: dereferencing pointer to incomplete type It seems that > > > global variable current is not included. and add #include <linux/sched.h> > > > compile success. > > > > > > [2] > > > mem.c: In function `MEM_addrTranslate': > > > mem.c:592: error: `init_mm' undeclared (first use in this function) > > > mem.c:592: error: (Each undeclared identifier is reported only once > > > mem.c:592: error: for each function it appears in.) > > > make[2]: *** [mem.c.deb] Error 1 > > > It is caused by this macro: > > > #define pgd_offset_k(addr) pgd_offset(&init_mm, addr) The compiler cannot > > > find global variable init_mm. > > > > > > etc. > > > > > > I wonder if I compile the dsplink in the wrong way? > > > # cd ./dsplink_140-05p1/packages/dsplink/gpp/src > > > # make > > > > > > And the link you give is not available for me.Thanks. > > > > > > On Tue, 2008-06-10 at 11:17 +0530, Kamoolkar, Mugdha wrote: > > > > Chris can probably correct me if I'm wrong, but I suspect that's > > > > because dynamic memory configuration got added in DSPLink, which > > > > allowed Codec Engine to release DSPLink binaries instead of forcing > > > > re-build. > > > > > > > > You will still need to rebuild DSPLink if you have a different kernel > > > > version. The following wiki may be a good starting point for you to > > > > find out how to do this ... > > > > http://tiexpressdsp.com/wiki/index.php?title=Troubleshooting_DSPLi > > > > nk > > > > _b > > > > uild_issues > > > > > > > > Regards, > > > > Mugdha > > > > > > > > -----Original Message----- > > > > From: steven.zhang [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, June 10, 2008 10:51 AM > > > > To: Kamoolkar, Mugdha > > > > Cc: davinci; [EMAIL PROTECTED] > > > > Subject: RE: Failed while insert dsplinkk on EVM 1.30 release > > > > > > > > Yeah, it seems that new version of EVM does not recompile DSPLINK when > > > > try to compile whole EVM packages. Why not?Thanks. > > > > On Tue, 2008-06-10 at 10:44 +0530, Kamoolkar, Mugdha wrote: > > > > > I don't think the pre-built binaries in evm_1_30 support kernel > > > > > 2.6.23. I think they just support MVL Pro 4 (i.e. 2.6.10 kernel). You > > > > > will need to rebulid DSPLink on your kernel if you want to use it > > > > > with 2.6.23. > > > > > > > > > > Regards, > > > > > Mugdha > > > > > > > > > > -----Original Message----- > > > > > From: steven.zhang [mailto:[EMAIL PROTECTED] > > > > > Sent: Tuesday, June 10, 2008 10:31 AM > > > > > To: Kamoolkar, Mugdha > > > > > Cc: davinci; [EMAIL PROTECTED] > > > > > Subject: RE: Failed while insert dsplinkk on EVM 1.30 release > > > > > > > > > > Thanks for your reply. > > > > > The kernel version in my board is 2.6.23. DSPLink built in evm_1_30 > > > > > does not support for 2.6.23? I can not find any information of this > > > > > in release note. > > > > > On Tue, 2008-06-10 at 10:19 +0530, Kamoolkar, Mugdha wrote: > > > > > > Looks like the kernel version with which DSPLink was built in the > > > > > > evm_1_30 release does not match the version that you have on your > > > > > > target board. Can you check the documentation to ensure that you > > > > > > have the required matching kernel version? > > > > > > > > > > > > Regards, > > > > > > Mugdha > > > > > > > > > > > > -----Original Message----- > > > > > > From: [EMAIL PROTECTED] > > > > > > [mailto:[EMAIL PROTECTED] > > > > > > ] > > > > > > On Behalf Of steven.zhang > > > > > > Sent: Tuesday, June 10, 2008 10:01 AM > > > > > > To: davinci > > > > > > Cc: [EMAIL PROTECTED] > > > > > > Subject: Failed while insert dsplinkk on EVM 1.30 release > > > > > > > > > > > > Hi, all. > > > > > > After update evm_1_20 to evm_1_30, when I try to insmod > > > > > > dsplinkk.ko, it will give the following error message: > > > > > > > > > > > > [EMAIL PROTECTED]:/opt/dvevm# insmod dsplinkk.ko > > > > > > dsplinkk: no version for "struct_module" found: kernel tainted. > > > > > > dsplinkk: no version for "struct_module" found: kernel tainted. > > > > > > <3>dsplinkk: version magic '2.6.10_mvl401 preempt ARMv5 gcc-3.4' > > > > > > should be '2.6.23-davinci1-g1220f74d-dirty mod_unload ARMv5 ' > > > > > > dsplinkk: version magic '2.6.10_mvl401 preempt ARMv5 gcc-3.4' > > > > > > should be '2.6.23-davinci1-g1220f74d-dirty mod_unload ARMv5 ' > > > > > > insmod: error inserting 'dsplinkk.ko': -1 Invalid module > > > > > > format > > > > > > > > > > > > If try modprobe, error message is: > > > > > > [EMAIL PROTECTED]:/opt/dvevm# modprobe dsplinkk.ko > > > > > > FATAL: Module dsplinkk.ko not found. > > > > > > > > > > > > dsplinkk.ko is copied to /opt/dvevm/ and on version 1.20, work fine. > > > > > > Does anyone encounter the same problem before? Thanks. > > > > > > > > > > > > _______________________________________________ > > > > > > Davinci-linux-open-source mailing list > > > > > > Davinci-linux-open-source@linux.davincidsp.com > > > > > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-ope > > > > > > n- > > > > > > so > > > > > > ur > > > > > > ce > > > > > > > > > > > > > > > _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source