TWiki> Linux2 Web>WebLeftBar>BuildHDG200 (revision 1)EditAttach

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.6.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
meta-hdw meta-hdw.tar.gz Yocto layer for H&D Wireless demo images
Topic attachments
I Attachment Action Size Date WhoSorted ascending 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-19 - 21:01 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  
Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2014-01-19 - 21:08:42 - AndersGrahn

Log In (Admin Only)

 
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