ARM DS-5 with imx28 EVK gator driver module load failed
Posted 15 May 2012 - 01:49 PM
We are currently evaluating the ARM DS-5 tool for performance analysis requirements for our application/driver software.
Our target system is a freescale imx28 Evaluation board.
We have installed the trial version of the DS-5 tool and downloaded & build the gator driver module and the gator daemon.
When we try and load the gator driver module in our target board, we are facing this following issue.
root@freescale /lib/modules/188.8.131.52-571-gcca29a0/kernel/drivers$ insmod gator.ko
gator: disagrees about version of symbol module_layout
insmod: can't insert 'gator.ko': invalid module format
We have cross-checked that the driver module is build against the kernel version that we are running in the target board which the 2.6.35 Linux kernel.
Also, we are able to connect to the target board using the 'Remote systems explorer' view of the DS-5 tool and able to see the remote file system.
But since the gator driver module and the daemon is needed for profiling the applications, we couldn't proceed further.
Any help would be highly appreciated.
Posted 16 May 2012 - 09:22 AM
Nonetheless, I think it's most likely that there is some target-build mismatch either of the kernel or the gator.ko.
Try comparing the output of 'uname -r' on the target to the contents of include/config/kernel.release in the sources.
Try comparing the length and md5sum of gator.ko on the target and the one you built.