background image

EVK-ELLA-W1 - User Guide 

UBX-15012877 - R04 

Early Production Information 

Software 

 

 

Page 14 of 24

 

 

For older kernels (<3.2), use compat-wireless (now named backports) to provide recent versions 
of  the  kernel's  802.11  APIs  to  support  all  the  driver  features.  In  this  case,  cfg80211  has  to  be 
compiled as a module (CONFIG_CFG80211=m). 

4.3.2

 

Extracting package content 

The Marvell driver package contains the firmware image, the  Wi-Fi/Bluetooth driver sources and also a release 
notes that describes the tested hardware platform, supported features, bug fixes and known limitations of the 
release.  The  package  comes  as  several  archives  that  are  packed  into  each  other.  Follow  the  steps  mentioned 
below to extract the Marvell driver package: 

 

 
Once you remove the archives, you should find something similar to the following in your working directory: 

 

4.3.3

 

Compile-time configuration 

The Wi-Fi driver has several compile-time configuration options that can be set in the driver's Makefile. Change 
to the 

wlan_src

 subdirectory and ensure that the following are enabled: 

 

Listing 2: Makefile 

The  manufacturing  firmware  support  is  required,  if  the  driver  is  used  with  the  "

Manufacturing  and  Labtools

packages, which can be used for setting up test modes for certification 

[4]

4.3.4

 

Building  

4.3.4.1

 

Prepare kernel sources 

Primarily,  ensure  that  your  kernel  is  prepared  for  compiling  external  kernel  modules.  For  this,  change  to  the 
kernel's source directory and run the following: 

 

make modules_prepare 

# Enable STA mode support 

CONFIG_STA_SUPPORT=y 

# Enable uAP mode support 

CONFIG_UAP_SUPPORT=y 

# Manufacturing firmware support 

CONFIG_MFG_CMD_SUPPORT=y 

├── FwImage/   

│   └── sd8787_uapsta.bin         # binary firmware image 

└── SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL/ 

    ├── mbtc_src/                 # character device driver for 3rd party user space Bluetooth stacks 

    ├── mbt_src/                  # driver for the Linux Bluetooth stack bluez 

    └── wlan_src/                 # Wi-Fi driver and tools sources  

        ├── Makefile          

 

 

 

 

 

 

        ├── mapp/                 # user space tools for configuration, sample config files 

        ├── mlan/                 # OS independent driver sources  

        ├── mlinux/               # Linux specific driver sources  

        └── [...] 

unzip SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL.zip 

tar xf SD-UAPSTA-BT-FM-8787-FC13-MMC-14.44.35.p233-M2614525_AX-GPL.tar 

for i in *.tgz; do tar xzf $i; done 

Содержание EVK-ELLA-W1

Страница 1: ...er Guide Abstract This document describes how to set up the EVK ELLA W1 evaluation kit to evaluate ELLA W1 multiradio Wi Fi and Bluetooth host based modules It also describes how to compile the Marvel...

Страница 2: ...ver Package SD UAPSTA BT FM 8787 FC13 MMC 14 44 35 p233 M2614525_AX GPL Firmware version 14 44 35 p233 Driver version M2614525 Industrial driver Package SD UAPSTA BT FM 8787 FC18 MMC 14 66 35 p57 M3X1...

Страница 3: ...LEDs 9 3 6 Reset button 9 3 7 Schematic 10 3 8 Assembly 10 4 Software 11 4 1 Linux driver branches 11 4 1 1 Sleep clock restrictions 11 4 2 Driver and firmware architecture 11 4 2 1 Wi Fi driver 11 4...

Страница 4: ...tion Contents Page 4 of 24 4 6 2 Wi Fi station mode 19 4 6 3 Wi Fi Direct 19 4 6 4 Bluetooth 19 4 7 Driver debugging 20 4 7 1 Compile time debug options 20 4 7 2 Runtime debug options 20 Appendix 22 A...

Страница 5: ...z chip antennas for Wi Fi and Bluetooth U FL coaxial connectors for external Wi Fi and Bluetooth antennas switchable by 0 resistors All module interfaces externally available Multiple power supply opt...

Страница 6: ...ble full size SD card socket Operating System Linux 2 6 x 3 x or Android 4 4 1 5 Specifications Table 2 and Table 3 list the absolute maximum ratings and operating conditions for the EVB ELLA W1 evalu...

Страница 7: ...d to an SDIO capable host by inserting the adapter into the SD card slot As the ELLA W1 series module uses an SDIO host interface only an SDIO capable card reader not just a common SD card reader will...

Страница 8: ...or from external power supplies An on board LDO can generate 1 8 V from a 3 3 V input VIO voltage can be selected between 1 8 V and 3 3 V Table 4 lists the available power supply configuration option...

Страница 9: ...ble 6 lists the available connectors on the EVB ELLA W1 evaluation board and their functions Refer to the schematic in section 3 7 for details on the pin assignment Function Description Name SDIO host...

Страница 10: ...uide UBX 15012877 R04 Early Production Information Board description Page 10 of 24 3 7 Schematic Figure 4 Schematic of the EVB ELLA W1 evaluation board 3 8 Assembly Figure 5 Assembly of the EVB ELLA W...

Страница 11: ...orted by u blox The automotive and non automotive driver branches support the main features like parallel access point station and Wi Fi Direct operation and Bluetooth Refer to the Release Notes that...

Страница 12: ...eads The firmware image is downloaded to the module and the hardware is initialized Network devices such as STA AP and WFD are registered 4 2 2 Bluetooth driver The standard Bluetooth protocol stack i...

Страница 13: ...Is Patches for compiling the Marvell driver branches on the u blox EVK W16 reference platform which is currently running a 3 19 8 kernel can be provided on request The reference drivers for the ELLA W...

Страница 14: ...and ensure that the following are enabled Listing 2 Makefile The manufacturing firmware support is required if the driver is used with the Manufacturing and Labtools packages which can be used for set...

Страница 15: ...s additional driver parameters mlan2040coex 802 11 20 40 MHz coexistence handler Table 8 Content of the Wi Fi build results directory 4 3 4 3 Bluetooth driver and tools To compile the BlueZ Bluetooth...

Страница 16: ...d blacklist conf Listing 4 Blacklisting mwifiex Blacklisting will not work for drivers that are built into the kernel image rather than as a kernel module 4 4 2 Additional software requirements Some...

Страница 17: ...l automatically download the firmware to it initialize the hardware and register the network interfaces Listing 6 Kernel log after inserting the SDIO card You should be able to see the following new n...

Страница 18: ...ace Additionally it is recommended to use a DHCP server on the interface ifconfig uap0 192 168 1 1 uaputl exe sys_cfg_ssid ELLA W1 set AP SSID to ELLA W1 set AP primary channel to 36 5GHz band with se...

Страница 19: ...rect application note 3 4 6 4 Bluetooth After loading the Bluetooth driver an HCI device should be available To use the HCI device the interface must be set up first This can be done using the followi...

Страница 20: ...proc kmsg interface or by the dmesg command Alternatively this can also be handled by more advanced logging facilities 4 7 1 Compile time debug options The extent to which debug messages are availabl...

Страница 21: ...lan mlan0 debug enable MMSG MFATAL and MERROR mlanutl mlan0 drvdbg 1 Enable all debug messages bit 0 MMSG PRINTM MMSG bit 1 MFATAL PRINTM MFATAL bit 2 MERROR PRINTM MERROR bit 3 MDATA PRINTM MDATA bit...

Страница 22: ...n Protocol EDR Enhanced Data Rate EEPROM Electrically Erasable Programmable Read Only Memory HCI Host Controller Interface LED Light Emitting Diode MAC Medium Access Control MMC Multimedia Card OS Ope...

Страница 23: ...sonnettech com product sdxcproreader html Revision history Revision Date Name Status Comments R01 27 May 2015 mzes Initial release R02 1 July 2015 lalb mzes Minor updates R03 4 May 2016 mzes lalb kgom...

Страница 24: ...lox com Regional Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 E mail info_cn u blox com Sup...

Отзывы: