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





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



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

Tutorial about how to install ubuntu



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



  WLAN driver folder


  Firmware folder for WLAN


  Firmware folder for Bluetooth

  Script for bluetooth initialization

  Script for WLAN initialization


  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


# ./

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


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

   Script for bluetooth


# ./

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


<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.


Copyright © 2013 SparkLAN Communications,lnc.  TSG Web Design