Hi,
I am having problems installilng the dsplinkk.ko module that comes with the DVSDK for DM6446. I recompiled dvsdk so that it matches the Linux kernel. However, the loadmodules.sh script fails with the following message:
cmem initialized 4 pools between 0x87800000 and 0x88000000
dsplinkk: no version for "struct_module" found: kernel tainted.
dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel.
mknod: wrong number of arguments
Try `mknod --help' for more information.
Looks like there is no entry by name 'dsplink' under /proc/devices. Therefore, the loadmodules.sh script fails. Here is the loadmodules.sh script:
------------
iinsmod cmemk.ko phys_start=0x87800000 phys_end=0x88000000 pools=1x3145728,5x829440,1x61440,1x10240
# insert dsplinkk
insmod dsplinkk.ko
# make /dev/dsplink
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
---------------
Looking at the driver sources for dsplink.ko, there should be a message printed on the console with version, date and time. The following is the snippet from dsplink_140-05p1/packages/dsplink/gpp/src/pmgr/Linux/2.6/drv_pmgr.c that prints the message during module_init()
PRINT_Printf ("DSPLINK Module (%s) created on Date: %s Time: %s\n",
DSPLINK_VERSION,
__DATE__,
__TIME__) ;
Looks like may be the module_init() is not getting called because the above printf/printk is one of the first few lines in the module_init().
I tried doing a make clean followed by make for both Linux kernel and dvsdk. Does not seem to help. Although, I am able to load the module with the vanilla version of the kernel and modules. Is there something I am missing here?
Thanks in advance,
-sid