insmod: init_module 'ftdi_sio.ko' failed (Exec format error)


http://stackoverflow.com/questions/10041452/building-kernel-module-for-android

I need to add the FTDI USB module to the Android kernel (Android 2.3.1, Linux 2.6.32), so I got the 2.6.32 kernel and tried to build the module:
make modules ARCH=arm CROSS_COMPILE=arm-none-eabi-
But when I tried to do 'insmod ftdi_sio.ko', the error message was
insmod: init_module 'ftdi_sio.ko' failed (Exec format error)

In dmesg's output I found this

ftdi_sio: version magic '2.6.32.27 preempt mod_unload ARMv5 ' should be '2.6.32.27 preempt mod_unload ARMv7 '
 

 answer :
Try setting up CONFIG_CPU_V7=y in your kernel .config file

in linux / android

1. insmod ftdi_sio.ko
2. dmesg ( error message view )

댓글

이 블로그의 인기 게시물

4,5,6 띠 저항의 색띠를 읽는 법(띠저항 값)

remove bluebirds.exe , virtual drive

수지에서 인천공항 리무진 버스 (인천공항버스정보)(2022년3월업데이트)