Johnny T wrote:
> 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.

Johnny,

Attached is a patchset and series file (I use quilt) which applies to
dvevm_1_00_00_32.  The kjh-build-git patches show what I had to hack to
get this to build for my environment.  You'll see that the paths are
specific to my env, but should be useful to get you going.

The other patches are fixes to get the demos to compile in against the
2.6.20 kernel.

For the demos to work on the git kernel, you'll also need my
video-capture.patch just posted to this list.  Also attached is a patch
to the git kernel to export the lseek symbol so that the dsplink kernel
module will build.  DSPLink needs to be fixed so as not to export this
module.

Kevin

Attachment: patches-demos.tgz
Description: application/compressed-tar

--- dev.orig/fs/read_write.c
+++ dev/fs/read_write.c
@@ -149,6 +149,7 @@ asmlinkage off_t sys_lseek(unsigned int 
 bad:
 	return retval;
 }
+EXPORT_SYMBOL(sys_lseek);
 
 #ifdef __ARCH_WANT_SYS_LLSEEK
 asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high,
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to