mardi 12 mai 2015

[Q] help with compiling kernel modules for the SM-T315 topic


Hi!
Has anyone managed to compile a kernel module for the SM-T315? I am having some problems...
I have downloaded the Samsung kernel source (SM-T315-JB_Opensource) and the toolchain they recommend (arm-eabi-4.4.3). I have edited the Makefile and have set the correct EXTRAVERSION (-2453351). I run

make arch=arm tab3_lte8_01_defconfig
make menuconfig
make modules

The selected modules compile without error but I can't insmod them. I get the "no symbol version for module_layout" message in dmesg.

# strings drivers/usb/serial/ftdi_sio.ko | grep vermagic
vermagic=3.0.31-2453351 SMP preempt mod_unload modversions ARMv7 p2v8
# uname -a
Linux localhost 3.0.31-2453351 #1 SMP PREEMPT Mon Jan 20 17:14:51 KST 2014 armv7l GNU/Linux

Any ideas?

xda-developers