Banana Pi IR Driver

24 20518
Edited by pohybel at Thu Jul 23, 2015 07:59

I've already made some progress and created makefile. But it seems i've missed something. I compiled module and got irdriver.ko as a result but when I try to insmod irdriver.ko im getting:
  1. root@bananapi:/opt/irdriver # insmod ./irdriver.ko
  2. insmod: ERROR: could not insert module ./irdriver.ko: Invalid module format
Copy the Code

Here is my makefile:
  1. ARCH:=arm
  2. CROSS_COMPILE:=/usr/bin/arm-linux-gnueabihf-

  3. #LICHEE_KDIR:= /opt/git/lemaker-bsp/linux-sunxi
  4. LICHEE_KDIR:= /opt/git/lemaker-bsp/build/sun7i_defconfig-linux

  5. PWD=$(shell pwd)

  6. all: build
  7. obj-m+=irdriver.o

  8. build:
  9.         @echo $(LICHEE_KDIR)

  11. clean:
  12.         @rm -rf *.o *.ko .*.cmd *.mod.c *.order *.symvers .tmp_versions *~
Copy the Code

What I've missed? Why my module has invalid format?

try using the "-f" option with insmod.

could be a simple version mismatch with the running kernel or sth more sinister...

lebron soldier 10
philipp plein outlet
miu miu sunglasses
basketball jersey
lebron soldier 9
lululemon sale
gucci bag
g-star jeans
ray ban sunglasses outlet
furla handbags
under armour shoes
chloe sunglasses
lebron ambassador 10
jordan 14
ghd hair straighteners
dyson hair dryer
nike store
curry jersey
jbl speakers
jimmy choo
nine west
jordan 6
designer sunglasses
tom ford sunglasses
prada sunglasses
x-large clothing
fussball trikots
soccer jersey
russell wilson jersey
michael kors purse
ray ban wayfarers
kyrie 4
nike canada
maillot de foot pas cher
skechers sandals
north face
police sunglasses
givenchy bags
james harden jersey
designer sunglasses
persol sunglasses
givenchy jewelry
north face
manolo blahnik
tom brady jersey
kobe 12
armani handbags
lee jeans
oakley sunglasses outlet
a bathing ape
carrera sunglasses
camisetas de futbol
visconti pens
alife clothing
philipp plein outlet
maillot de foot
nike shoes
air more uptempo
kd 8
michael kors outlet
bose headphones
michael kors canada
armani jeans
marcelo burlon
kristaps porzingis jersey
jordan 9
new balance
nike kyrie 2
maui jim sunglasses
tiffany jewelry
reebok classic shoes
ferragamo sunglasses
columbia outlet
converse sneakers
michael kors outlet clearance
hermes jewelry
the north face
ferragamo shoes
nobis jackets
gucci handbags
jordan 31
curry 5
woolrich jackets
coach outlet store online clearance
versace sunglasses
kevin durant jersey
nike free
gentle monster sunglasses
jordan 13
maglie calcio
tiffany rings
hermes uk
air zoom pegasus
curry 3

Note: The author has been banned or deleted.

You have to log in before you can reply Login | Sign Up

Points Rules