TWiki
>
Linux2 Web
>
BuildDrivers
(revision 3) (raw view)
Edit
Attach
---+ Build, Install and load the Wi-Fi driver For building of HDG200 driver, please read <a href="BuildImx6q" title="Add Wi-Fi support to Freescale i.MX6Q based platforms">here</a>. Note that the oWL SDIO layer requires linux kernel version 2.6.23 or higher. If such kernel version is not available on the host platform, the oWL SDIO layer must be modified. Also note that the owl driver is tested on linux kernel 2.6.30, Wireless Extensions 22, WPA Supplicant 0.6.7 and Wireless Tools 29. To compile the owl driver for a particular host platform, a cross compiler and the include files and configuration for the Linux kernel must be available. Make sure to replace /path/to/kernel with the actual path to the Linux kernel source tree used on the host platform. Also make sure to replace /path/to/prefix with the proper cross compiler prefix, e.g. arm-linux- if the name of the GCC binary is arm-linux-gcc. If building for a non-arm architecture, make sure to set the ARCH parameter accordingly (however, note that the wl_api core library included in the owl driver package is compiled for specific architecture). <verbatim>$ tar xvzf owl-linux-arm-1.0.4.tar.gz $ cd owl-linux-arm-1.0.4 $ make KERNELDIR=/path/to/kernel CROSS_COMPILE=/path/to/prefix ARCH=arm</verbatim> This should produce the owl.ko binary. Copy the owl.ko file to the host platform. The details of this step depend on the tools and interfaces available on the host platform. In most cases, scp, can be used to transfer files over an ssh connection. <verbatim>$ scp owl.ko user@host:/path/to</verbatim> Load the owl device driver, e.g. by issuing insmod owl.ko on the host platform. The owl device driver will output net owl0: ready in the kernel log (usually /var/log/messages). The owl device driver should now appear as interface owl0 and should be listed by ifconfig owl0. <verbatim>$ insmod owl.ko $ ifconfig owl0 owl0 Link encap:Ethernet HWaddr 7A:C4:0E:A1:DD:9C BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</verbatim> Note that the device is usable on a link-level also when it is not up.
Edit
|
Attach
|
P
rint version
|
H
istory
:
r7
|
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2014-01-08 - 10:43:42 -
AndersGrahn
Linux2
Log In
(Admin Only)
Welcome
HDG200
Getting Started
Download and Build
Platforms
Demo Images
Documents
icon:pdf.gif
1453-_HDG200_Hardware_Design_Guide_pa2.pdf
HDG200B
Getting Started
Download and Build
Platforms
Demo Images
Documents
HDG204
Getting Started
Download
Build
Platforms
Atmel SAM9
Demo Images
Atmel SAM9
Documents
SPB209A
Getting Started
Test
Download
Documents
icon:pdf.gif
1543-SPB209A_RevF_EVB_Quick_Start_Guide.pdf
icon:pdf.gif
1543-SPB209A_RevA_User_Guide_Installation_driver_patches.pdf
icon:pdf.gif
1543-SPB209A_RevA_User_Guide_Using_PCM_interface_in_Bluetooth.pdf
icon:pdf.gif
1543-SPB209A_Demo_RevA_Quick_Start_Guide.pdf
icon:pdf.gif
1453-SPB209A_Hardware_Design_Guide_RevD.pdf
icon:pdf.gif
1453-SPB209A_Software_Developer_Guide_RevA.pdf
icon:pdf.gif
1543-Driver_Install_User_Guide_RevC.pdf
HDG229
Getting Started
Test
Download
Documents
icon:pdf.gif
1453-_HDG229_Hardware_Design_Guide_rev_B.pdf
icon:pdf.gif
1543-HDG229_EVB_Quick_Start_Guide_pa1.pdf
icon:pdf.gif
1543-SPB229_Driver_Install_User_Guide_Rev_C.pdf
Use Cases and tools
Wireless Tools
WPA Supplicant
Throughput Test
Roaming
Ifup and ifdown
Documents
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback