[U-Boot] mini-pci wireless driver

Hi,
I am going to write a mini-pci driver (GIGABYTE MiniPCI Wireless Adapter: GN-WI01GS) for u-boot(sc520),
Currently, I have Linux driver source code (downloaded from http://web.ralinktech.com/ralink/Home/Support/Linux.html RT61 http://www.ralinktech.com.tw/data/drivers/2008_0506_RT73_Linux_STA_Drv1 .1.0.1.tar.bz2 ),
Anyone knows how I can port the Linux driver to u-boot driver
Appreciate it if someone can give me some links/hints...
Thanks
Lance Zhang

Hi Lance, Lance Zhang wrote:
Hi,
I am going to write a mini-pci driver (GIGABYTE MiniPCI Wireless Adapter: GN-WI01GS) for u-boot(sc520),
Currently, I have Linux driver source code (downloaded fromhttp://web.ralinktech.com/ralink/Home/Support/Linux.html RT61http://www.ralinktech.com.tw/data/drivers/2008_0506_RT73_Linux_STA_Drv1 .1.0.1.tar.bz2 http://www.ralinktech.com.tw/data/drivers/2008_0506_RT73_Linux_STA_Drv1.1.0.1.tar.bz2 ),
Anyone knows how I can port the Linux driver to u-boot driver
Appreciate it if someone can give me some links/hints...
U-boot doesn't really have any wireless support in-tree (that I know of, anyway). What is it that you plan on doing?
regards, Ben

On 14:41 Tue 04 Nov , Lance Zhang wrote:
Hi,
I am going to write a mini-pci driver (GIGABYTE MiniPCI Wireless Adapter: GN-WI01GS) for u-boot(sc520),
Currently, I have Linux driver source code (downloaded from http://web.ralinktech.com/ralink/Home/Support/Linux.html RT61 http://www.ralinktech.com.tw/data/drivers/2008_0506_RT73_Linux_STA_Drv1 .1.0.1.tar.bz2 ),
Anyone knows how I can port the Linux driver to u-boot driver
Appreciate it if someone can give me some links/hints...
I've work on a similar port for on other Ralink Chip
I will the common wireless port
I've separate the driver in 2 part: 1) the net interface as any other network driver
2) a wireless tools implementation (generic) currently OPEN/WEP and hardware WPA only
3) a wireless implementation for the chip
Best Regards, J.

Hi Jean,
Do you know any common methods to port a Linux driver to a u boot driver? Will you rewrite all the driver codes? Or just make a function mapping?
I think it is terrible to write a wireless network card driver for uboot.
In uboot I need to implement MLME which contains "Authenticate ,Deauthenticate,Associate,Disassociate,Reassociate,Beacon,Probe ". and in Linux driver, the source code packet contains more than 10K lines.
Appreciated if anyone can give me further direction.
Thanks Lance
-----Original Message----- From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj@jcrosoft.com] Sent: 2008年11月5日 14:45 To: Lance Zhang Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] mini-pci wireless driver
On 14:41 Tue 04 Nov , Lance Zhang wrote:
Hi,
I am going to write a mini-pci driver (GIGABYTE MiniPCI Wireless Adapter: GN-WI01GS) for u-boot(sc520),
Currently, I have Linux driver source code (downloaded from http://web.ralinktech.com/ralink/Home/Support/Linux.html RT61 http://www.ralinktech.com.tw/data/drivers/2008_0506_RT73_Linux_STA_Drv1 .1.0.1.tar.bz2 ),
Anyone knows how I can port the Linux driver to u-boot driver
Appreciate it if someone can give me some links/hints...
I've work on a similar port for on other Ralink Chip
I will the common wireless port
I've separate the driver in 2 part: 1) the net interface as any other network driver
2) a wireless tools implementation (generic) currently OPEN/WEP and hardware WPA only
3) a wireless implementation for the chip
Best Regards, J.

On 13:52 Mon 10 Nov , Lance Zhang wrote:
Hi Jean,
Do you know any common methods to port a Linux driver to a u boot driver? Will you rewrite all the driver codes? Or just make a function mapping?
I think it is terrible to write a wireless network card driver for uboot.
In uboot I need to implement MLME which contains "Authenticate ,Deauthenticate,Associate,Disassociate,Reassociate,Beacon,Probe ". and in Linux driver, the source code packet contains more than 10K lines.
Base on your chip you do not need it you can let the firmware do it for you.
Send an e-mail to ralink, you may need to sign a NDA
Best Regards, J.
participants (3)
-
Ben Warren
-
Jean-Christophe PLAGNIOL-VILLARD
-
Lance Zhang