Cross built the Kernel source version ‘linux-3.10.17’ with the config ‘arch/arm/configs/imx_v6_v7_defconfig’ for the target.
Also cross built the GobiNet.ko/LDD using the kernel source and cross compiler.
Getting an error below during the insertion of GobiNet.ko/LDD module
insmod: ERROR: could not insert module GobiNet.ko: Invalid module format
The kernel version of the cross-compilation is inconsistent with the current kernel version of the device.
Target board information are below
# uname -s
Linux
# uname -r
3.10.17-
# uname -v
#1 SMP PREEMPT Tue Nov 29 10:00:08 CST 2016
# uname -m
armv7l
# uname -p
armv7l
# uname -i
armv7l
# uname -o
GNU/Linux
And the kernel is built for imx6
by the board vendor.
Please suggest if I need to modify any config parameters in the imx_v6_v7_defconfig
of the kernel source linux-3.10.17
before starting the cross build of the kernel
It is recommended to flash the target board system again.