SparkLAN Contact Us
News / 2019
Article Sharing for SparkLAN SiP Module Application Note Backports Integration by Ubuntu Recipe 2019.10.21
Backports Integration by Ubuntu Recipe

 

 

Introduction

 

For basic SparkLAN SiP module backports integration, SparkLAN support Ubuntu recipe to build the AP6181/AP6256/AP6398S backports software package.

Linux Set Up

 

To set up the Ubuntu build environment in Linux, follow these steps:

The following hardware is required
       x64 platform - ex: x64 laptop or desktop

       SDIO Host interface on the x64 platform

The required OS on the x64 platform is limited to Ubuntu 16.04.4 LTS (Xenial Xerus).

If you are not sure what’s the Ubuntu version that you are using, you can see it with command

$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description:  Ubuntu 16.04.4 LTS

Release:      16.04

Codename:   xenial

$ uname -r

4.13.0-36-generic

 

Prepare x64 Platform

If you are not using the recommended Ubuntu version, you can’t use the software package of EVB. The information about preparing a x64 platform with Ubuntu 16.04.4 LTS (Xenial Xerus) is provided as below.


Download location

Ubuntu 16.04.4 LTS (Xenial Xerus) - 64-bit PC (AMD64) desktop image

http://old-releases.ubuntu.com/releases/16.04.4/ubuntu-16.04-desktop-amd64.iso


Tutorial about how to install ubuntu

https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0

 

 

Build by Recipe

The SparkLAN software package is provided as a compressed file - <SparkLAN_SiP_package.tar.xz>.

unzip the Software Package

 

# tar Jxvf <SparkLAN_SiP_package.tar.xz>

After unzip.The folder of SparkLAN software package is SparkLAN_SiP.

 Files and folders included in the folder SparkLAN_SiP:

  File or Folder

  Descriptions

  driver

  WLAN driver folder

  fw

  Firmware folder for WLAN

  fw_bt

  Firmware folder for Bluetooth

  init_bt.sh

  Script for bluetooth initialization

  init_wlan.sh

  Script for WLAN initialization

  uart_bt_tool

  Tool for UART bluetooth

 

 

Scripts for WLAN and Bluetooth

The SparkLAN software package provides two major scripts for WLAN and bluetooth. The operations of scripts require superuser/root permission.

 

  Script for WLAN

 

# ./init_wlan.sh

Usage: init_wlan.sh <Product Name: ap6256/ap6398s/ap6181> [<Wi-Fi Mode: sta/ap>]

Parameters:

<sta/ap> : Wi-Fi Mode. sta for client mode and ap for AP (hotspot) mode.

   Script for bluetooth

 

# ./init_bt.sh

Usage: init_bt.sh <Product Name: ap6256/ap6398s> [<UART_device_name>]

Parameters:

<UART_device_name> : UART device name

     
About SparkLAN 

SparkLAN is dedicated to design-in, marketing and sales of a top-quality wireless solution. Our product range includes commercial grade and Industrial grade wireless modules solution. We provide technical support, consultation, and module, from customer initial development phase right through to production and beyond. Short communication channels within our organization guarantee rapid and highly competent care and attention. 

Working closely with our customers, SparkLAN is able to advise customers on the latest trends in technology as well as sharing product roadmaps. In addition to offering technical solutions, SparkLAN also keeps a close eye on prices and lead-times, ensuring the right modules are delivered to the right place at the right time. Our ability to include flexible customer-specific logistics is also a key strength of SparkLAN. 
www.sparklan.com

 

Copyright © 2013 SparkLAN Communications,lnc.  TSG Web Design