I'm new to Droid development work, so forgive me if this is a basic question. I've searched a bit extensively and am looking for assistance.
I'm compiling a driver for Droid X. It works with other Android phones. I downloaded the latest OMAP kernel (2.6.38) and compiled the driver, pushed it to the device and loaded it.
It provided the following error:
xyz: version magic '2.6.38+ SMP mod_unload modversions ARMv6 ' should be '2.6.32.9 preempt mod_unload ARMv7 '
When I check `strings` against the compiled object I do see the 'vermagic=2.6.38+ SMP mod_unload modversions ARMv6'
So, I'm assuming that instead of compiling with the 2.6.38 kernel that I need to find the git branch for 2.6.32.9 and compile against that, or update the kernel on the phone but I'd like to hold off on that. However, in the .config I see no reference to ARMv7 unless that is in its own branch apart from ARMv6? Since I don't think there are any major differences between the kernels that would affect the code, is there just simply a way to "spoof" the kernel version in the compiled app?