insmod code.ko
code: version magic '3.18.0-linux4sam_4.7 -YD-5D34-V6-g622a003 mod_unload ARMv7 p2v8' should be '3.18.0-linux4sam_4.7-YD-5D34-V6-gfb5b482-dirty mod_unload ARMv7 p2v8' insmod: can not insert 'code.ko': invalidmodule format
solution:
1. Go to the linux kernel source, to find ./include/linux/vermagic.h
2. in vermagic.h will be included in a header file, enter the file header
- To set a modified version to
4. recompiled drive generating .ko, you can then execute insmod.