Add Wi-Fi support to Atmel SAM9M10-EKES and SAM9M10-G45-EK
This page will provide short information on how to build and install the Wi-Fi Linux driver on the Atmel
SAM9M10-EKES and
SAM9M10-G45-EK development boards.
NOTE: This information should be used in addition to the instructions given on
http://www.linux4sam.orgTo be able to use the owl wifi driver on the
SAM9M10-EKES, the kernel must be patched and the owl wifi driver kernel module must be built and installed. This can be performed "standalone" or from the Angstrom/OpenEmbedded environment.
It is also possible to use a pre-built image that is provided by HD Wireless. See
DemoSAM9M10EKES for information about the demo image.
This page will describe the two options for building and installing the Wi-Fi driver on the Atmel
SAM9M10-EKES.
Adding Wi-Fi support to Angstrom/OpenEmbedded
When building a kernel and a rootfs using Angstrom/OpenEmbedded, the oe_at91sam-owl-wifi.patch should be applied to the oe_at91sam.tgz overlay tree (
ftp://ftp.linux4sam.org/pub/oe/linux4sam_2.1/oe_at91sam.tgz).
First, follow the instructions at:
http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild#How_to_build_Angstrom_for_AT91
After applying the AT91
OpenEmbedded overlay tree, apply the owl wifi patch:
oe_at91sam-owl-wifi.patch
angr@blorg:~/oe$ cd oe_at91sam
angr@blorg:~/oe/oe_at91sam$ cp /path/to/oe_at91sam-owl-wifi.patch .
angr@blorg:~/oe/oe_at91sam$ patch -p1 < oe_at91sam-owl-wifi.patch
Then continue with the remainig steps as described in "Setup local configuration" on
http://www.at91.com/linux4sam/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild#How_to_build_Angstrom_for_AT91
The kernel and rootfs image will now have wifi support, and the module will be loaded upon system start.
Adding Wi-Fi support to a "custom" kernel
In "standalone" mode, it is assumed that a custom kernel image is built and used according to
http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel.
During the "Get and patch the Linux kernel", as described in
http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel, apply the
2.6.30-at91-sdio-irq-support.patch after applying the 2.6.30-at91-exp.4.tar.gz patchset:
angr@blorg:~$ cd linux-2.6.30
angr@blorg:~/linux-2.6.30$ cp /path/to/2.6.30-at91-sdio-irq-support.patch .
angr@blorg:~/linux-2.6.30$ patch -p1 < 2.6.30-at91-sdio-irq-support.patch
After applying the patch, follow the remaining steps as described in
http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel to configure, build and install the kernel.
See the topic about building the Wi-Fi driver
BuildDriver for information on how to build and install the owl wifi driver kernel module.