TWiki> Linux Web>WebLeftBar>BuildImx6q (revision 3)EditAttach

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

File Description
nrx900-1.0.5.tar.gz Driver source code for HDG200 R2
defconfig-hdg200-r2.cfg Important Linux kernel configs

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.

  1. Ensure linux kernel configs according to defconfig-hdg200-r2.cfg are set!
  2. Unpack
    $ tar -xvzf nrx900-1.0.5.tar.gz
  3. Config
    $ echo "COMPONENTS := wifi sdio" > .../nrx900/driver/linux/platform/imx6qsabresd.mk
    $ echo "D+=NRX_CONFIG_SDIO_HS" >> .../nrx900/driver/linux/platform/imx6qsabresd.mk
  4. 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
  5. 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

  1. Insert HDG200 SDIO card into target
  2. 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.

meta File Description
meta-hdg200-r2 meta-hdg200-r2.tar.gz Yocto layer for HDG200 R2
meta-hdw meta-hdw.tar.gz Yocto layer for H&D Wireless demo images
Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatcfg defconfig-hdg200-r2.cfg manage 0.4 K 2014-01-07 - 14:14 AndersGrahn defconfig-hdg200-r2.cfg
Unknown file formatgz meta-hdw.tar.gz manage 10.1 K 2014-01-08 - 09:10 AndersGrahn  
Edit | Attach | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2014-01-08 - 10:32:09 - AndersGrahn
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback