Question for cross compiling kernel module


Willhelm

Very Active Member
Joined
Aug 19, 2014
Messages
221
Location
Helmstedt
Recently I bought an usb-to-ethernet adapter:

http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112

http://ecx.images-amazon.com/images/I/416gBTxsI8L.jpg

I noticed that the Pandora lacks of the kernel needed module. Is there an easy way to get the ready to use kernel module?

Up to now I spend several hours trying out two guides about cross compiling from the openpandora wiki 

http://pandorawiki.org/Cross-compiler 

But as i got it right i also need the kernel headers from the kernel i currently use on my pandora. (SZ 1.71). Is there a repository for the (current) used kernel (headers).

any help is appreciated
 
You'd better ask notaz in the 3.2 kernel thread as it would be good to have this kind of drivers out of the box.
 
It's .ko.

You probably need the same compiler than the kernel you're running.
 
It's .ko.

You probably need the same compiler than the kernel you're running.
With the new firmware it works  out of the box.

Thinking in a theoretical way if it was not working out of the box, would the following work in order to compile a functional kernel module:

* Installing DJWillis.27s_Cross_Compiler

* hoping that the provided compiler is the same on my pandora (identical)

* fetching the kernel headers of the current (pandora) kernel

* modifying the make flle of the kernel module

* cross compile the kernel module
 
Back
Top