Build HDG200 driver for different 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.7.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. Freescale 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!
    $ cd <LINUX-SOURCE-TREE>
    $ cat defconfig-hdg200-r2.cfg >> .config
    $ yes "" | make oldconfig > /dev/null
  2. Unpack
    $ tar -xvzf nrx900-1.0.6.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 a Yocto environment .

meta File Description
meta-hdg200-r2 meta-hdg200-r2.tar.gz Yocto layer for HDG200 R2 (nrx900-1.0.7)
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.5 K 2014-01-19 - 20:26 AndersGrahn  
Unknown file formatgz meta-hdg200-r2.tar.gz manage 2368.8 K 2014-01-26 - 21:38 AndersGrahn  
Unknown file formatgz meta-hdw.tar.gz manage 10.0 K 2014-01-19 - 21:02 AndersGrahn  
Unknown file formatgz nrx900-1.0.6.tar.gz manage 2367.6 K 2014-01-19 - 20:44 AndersGrahn  
Unknown file formatgz nrx900-1.0.7.tar.gz manage 2368.2 K 2014-01-26 - 21:29 AndersGrahn  
Topic revision: r2 - 2014-01-26 - 21:38:46 - 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