Add Wi-Fi support to Freescale i.MX6Q based platforms
This page provide short information on how to build and install the HDG200 wifi driver on different linux platforms. Pre-built images can be found
here.
HDG200 R2 source code
Build HDG200 R2 driver
In the following we assume that the target platform is imx6qsabresd (i.e.
MCIMX6Q-SDB). To build for another platform, simply replace all instances of
imx6qsabresd to
your-platform.
- Ensure linux kernel configs according to defconfig-hdg200-r2.cfg are set!
$ cd <LINUX-SOURCE-TREE>
$ cat defconfig-hdg200-r2.cfg >> .config
$ yes "" | make oldconfig > /dev/null
- Unpack
$ tar -xvzf nrx900-1.0.5.tar.gz
- Config
$ echo "COMPONENTS := wifi sdio" > .../nrx900/driver/linux/platform/imx6qsabresd.mk
$ echo "D+=NRX_CONFIG_SDIO_HS" >> .../nrx900/driver/linux/platform/imx6qsabresd.mk
- Build
$ cd nrx900/driver/linux
$ make PLATFORM=imx6qsabresd KERNEL_DIR=/path/to/kernel ARCH=arm CROSS_COMPILE=/path/to/prefix all
$ make PLATFORM=imx6qsabresd KERNEL_DIR=/path/to/kernel ARCH=arm CROSS_COMPILE=/path/to/prefix INSTALL_MOD_PATH=/path/to/rootfs modules_install
- Install firmware
$ install -D nrx900/firmware/x_mac/GENERATED-FILES/nrx2b_chip_patch/patch.fw <INSTALL_MOD_PATH>/lib/firmware/nanoradio/nrx900_wifi.fw
Use HDG200 R2
- Insert HDG200 SDIO card into target
- Load kernel module
# modprobe nrx
Yocto layers
The following Yocto layers can be used in conjunction with the Yocto environment from
Freescale Community web site.
Topic revision: r4 - 2014-01-08 - 12:14:48 -
AndersGrahn