TPLINK wireless adapter

warriors_csnu
I have TPLINK tl-wn727n wireless adapter. I have bought s3c2440 mini2440
arm9 board. Adapter chipset is rt3070. I have compiled it for mini2440 but
its not running on the board. Can anybody give me instruction how to
compile and run it on the board? 

Thanks

open-nandra
How did you compile, where you get source, how you include module. Some
info is needed to help.

warriors_csnu
I got the driver from ralink site http://www.ralinktech.com/support.php?s=2
rt3070. I compiled by chinging two files os/linux/config.mk by setting
wpa_supplicant=y and MakeFile setting LINUX_SOURCE=linux-2.6,32.2.

and then i run the command

make ARCH=arm CROSS_COMILE='arm-none-linux-gnueabi-' CFLAGS='-march=armv4t
-mcpu=arm920t'

it created rt3070sta.ko file. I picked this file and pasted this file to
mini2440 machine in directory
/lib/modules/2.6.32.2-FriendlyARM/drivers/net/wireless/.

After that i tried to run command insmod
lib/modules/2.6.32.2-FriendlyARM/drivers/net/wireless/rt3070sta.ko. But
nothing happens. 

Any ideas??

Thanks

open-nandra
OK did you check dmesg output? Or insmod finished correctly or it stuck
with some error?

warriors_csnu
yes.. I checked it using insmod ... it gives error 

Invalid module format.


I am stuck at this stage. I dont know what to do either to write my own
wireless driver for this chipset or go with opensource? Everyone is saying
that wn727n is not in working stage. Kindly help me how to proceed? I want
to run wn727n on mini2440

open-nandra
OK which version of kernel you have on board and for which version did you
compile driver? This could be the problem. Anyway you can contact me
offline marek.belisko at gmail.com