RE: CMEM/DSPLink and 2.6.28 kernel?
The wiki page below has been updated with patches/changes required (over DSPLink 1.6x) for building with 2.6.28 kernel http://tiexpressdsp.com/wiki/index.php?title=Building_DSPLink_with_kbuild Regards, Mugdha -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Tivy, Robert Sent: Friday, January 30, 2009 4:02 AM To: Yusuf Caglar AKYUZ; Ryan Talbot Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: CMEM/DSPLink and 2.6.28 kernel? Linux Utils 2.22 contains an update to CMEM for 2.6.28 kernels, although it hasn't yet been validated. Here's the output of a diff -c with the Linux Utils 2.21 cmemk.c: *** *** 1694,1700 --- 1694,1704 #ifdef USE_CLASS_DEVICE class_device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, cmem); #else + #if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,27) + device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, + cmem); #else device_create(cmem_class, NULL, MKDEV(cmem_major, 0), cmem); + #endif // LINUX_VERSION_CODE = KERNEL_VERSION(2,6,27) #endif // USE_CLASS_DEVICE #endif // USE_CLASS_SIMPLE #endif // USE_UDEV I hear the DSPLink team is being pressured to provide an update for 2.6.28, but don't know the status of that. - Rob -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com ] On Behalf Of Yusuf Caglar AKYUZ Sent: Thursday, January 29, 2009 2:11 PM To: Ryan Talbot Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: CMEM/DSPLink and 2.6.28 kernel? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan Talbot wrote: I searched the list, but couldn't find any evidence of patches to get CMEM or DSPLink working with davinci-git kernels 2.6.26. We're currently using 2.6.28-rc6-davinci1, CMEM from TI's LinuxUtils 2.21 package, and DSPLink 1.60. CMEM at least looks like it needs some patches to work with 2.6.28 kernels; I haven't tried building DSPLink yet. Are there no patches available? I just wanted to make sure I wouldn't be reproducing work, if there were. You can find all the necessary patches in the openembedded tree. I worked with dsplink 1.50, dsplink 1.60 and 1.30 with latest kernels. CMEM is the well-behaved child when compared to dsplink. It was always easy to make it work, though I haven't tried latest CMEM. Regards, Caglar Thanks, Ryan Talbot rtal...@vtti.vt.edu -- -- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkmCKXgACgkQ/nL+S5dojeiHlwCePLMuW9ifZdod0oJuxdvo58eT 0fAAnj5goTVustlHL6LT9ssHjRXrSd+P =lez1 -END PGP SIGNATURE- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: CMEM/DSPLink and 2.6.28 kernel?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan Talbot wrote: I searched the list, but couldn't find any evidence of patches to get CMEM or DSPLink working with davinci-git kernels 2.6.26. We're currently using 2.6.28-rc6-davinci1, CMEM from TI's LinuxUtils 2.21 package, and DSPLink 1.60. CMEM at least looks like it needs some patches to work with 2.6.28 kernels; I haven't tried building DSPLink yet. Are there no patches available? I just wanted to make sure I wouldn't be reproducing work, if there were. You can find all the necessary patches in the openembedded tree. I worked with dsplink 1.50, dsplink 1.60 and 1.30 with latest kernels. CMEM is the well-behaved child when compared to dsplink. It was always easy to make it work, though I haven't tried latest CMEM. Regards, Caglar Thanks, Ryan Talbot rtal...@vtti.vt.edu ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkmCKXgACgkQ/nL+S5dojeiHlwCePLMuW9ifZdod0oJuxdvo58eT 0fAAnj5goTVustlHL6LT9ssHjRXrSd+P =lez1 -END PGP SIGNATURE- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: CMEM/DSPLink and 2.6.28 kernel?
Linux Utils 2.22 contains an update to CMEM for 2.6.28 kernels, although it hasn't yet been validated. Here's the output of a diff -c with the Linux Utils 2.21 cmemk.c: *** *** 1694,1700 --- 1694,1704 #ifdef USE_CLASS_DEVICE class_device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, cmem); #else + #if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,27) + device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, cmem); + #else device_create(cmem_class, NULL, MKDEV(cmem_major, 0), cmem); + #endif // LINUX_VERSION_CODE = KERNEL_VERSION(2,6,27) #endif // USE_CLASS_DEVICE #endif // USE_CLASS_SIMPLE #endif // USE_UDEV I hear the DSPLink team is being pressured to provide an update for 2.6.28, but don't know the status of that. - Rob -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com ] On Behalf Of Yusuf Caglar AKYUZ Sent: Thursday, January 29, 2009 2:11 PM To: Ryan Talbot Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: CMEM/DSPLink and 2.6.28 kernel? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan Talbot wrote: I searched the list, but couldn't find any evidence of patches to get CMEM or DSPLink working with davinci-git kernels 2.6.26. We're currently using 2.6.28-rc6-davinci1, CMEM from TI's LinuxUtils 2.21 package, and DSPLink 1.60. CMEM at least looks like it needs some patches to work with 2.6.28 kernels; I haven't tried building DSPLink yet. Are there no patches available? I just wanted to make sure I wouldn't be reproducing work, if there were. You can find all the necessary patches in the openembedded tree. I worked with dsplink 1.50, dsplink 1.60 and 1.30 with latest kernels. CMEM is the well-behaved child when compared to dsplink. It was always easy to make it work, though I haven't tried latest CMEM. Regards, Caglar Thanks, Ryan Talbot rtal...@vtti.vt.edu -- -- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkmCKXgACgkQ/nL+S5dojeiHlwCePLMuW9ifZdod0oJuxdvo58eT 0fAAnj5goTVustlHL6LT9ssHjRXrSd+P =lez1 -END PGP SIGNATURE- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source