APM6270 driver compilation for Mini2440

colpatron
Hello all.
I have SDIO WiFi module APM6270.
I have driver sources for S3C2440 processor with makefile etc.
But drivers are compiled for Linux kernel 2.4 (.o files). I need drivers
for Linux kernel 2.6

included makefile - has possibility to compile drivers for Linux kernel 2.6
(.ko)

I'm beginner in Linux. 
Can anybody help me to compile driver for my device?

Juergen Beisert
If you only have the *object* modules for Linux-2.4.x you are lost. No way
to use it in a Linux-2.6.x/3.x environment.
If you have the *complete* sources of this driver (and a datasheet of the
APM6270 device) there is a chance to find someone to port this driver to a
Linux-3.x kernel for you.

colpatron
I have comlete sources for this module, but I have no possibilities to
compile them because of my illiteracy in Linux.
My MINI2440 kernel is 2.6.32.2.

I can attach archive with drivers to post.

open-nandra
Just put sources and data sheets here anybody will help you out.

colpatron
Attachment: APM.zip (2.67 MB)
Here are my datasheets and drivers.

open-nandra
I've spend 2 hours to understand and run compilation of driver ;). Hate
this kind wireless out-of-tree drivers. Nevertheless not sure if anybody
will compile it via 2.6.32 kernel (it produce a lot of errors because of
kernel API changes) in first compiled file :D. IMO this is too much work
;).

colpatron
Thank you for your endeavour. Sorry for disturbance.

Juergen Beisert
open-nandra,

I also did a look into this mess. Could it be a candidate for the 'staging'
kind of drivers?

open-nandra
@colpatron: No problem. Form where did you get such a device for me seems
to be outdated (year 2006). Do you have more or just one? I found only
russian pages about such a device.

@Juergen: Arise your question on linux-wireless mailing list. Will see what
will be proposal.

Marek

colpatron
I have one evaluation board and some APM6270 chips. I have bought devices
exactly in Russia some years ago (but they were deliveres without drivers
). There are a lot of inexpensive devices on stock in Russian shops, but
they are unusable without  suitable drivers.
Now i have drivers and MINI2440 board appropriate to use with this modules.

So I decided to use this modules. But I can't because of different kernel
version.

open-nandra
Just curious from where you get driver for that device? There is not much
search results using google ;)

Marek

colpatron
From where I have got drivers?
Many-many letters to www.apmcomm.com.
In the end I have got drivers to my e-mail.

open-nandra
I'm confused. You got drivers from some Taiwan company but some parts of
code are made by Marwell???. Looking to sources what you have and actual
kernel libertas sdio driver should work for your chip (just give a try).
Completely confused ;)

open-nandra
Reply from linux-wireless mailing list:
http://marc.info/?l=linux-wireless&m=132569642708764&w=2

marek

colpatron
How can I check vendor and device ID's for SDIO device? 

Quote: "There's already a driver for the SD8686 which probably works with
this part, although we may need to add the vendor ID for the APM6270."

If I supply them with IDs, is there any chance to run device with modified
driver?

riya78992
You can use ready to use development kit for Linux Kernel 2.6
Check this link:
http://whiznets.com/index.php/arm9-wifi-development-starter-kit-whiz-fi-...