Giter Site home page Giter Site logo

linkit-smart-7688-feed's Introduction

linkit-smart-feed

This feeds holds the SDK wifi driver and the config/meta package for the LinkIt Smart 7688 (Duo)

Build the firmware from sources

This section describes how to build the firmware for LinkIt Smart 7688 and LinkIt Smart 7688 Duo from source codes.

Host environment

The following operations are performed under a Ubuntu LTS 14.04.3 environment. For a Windows or a Mac OS X host computer, you can install a VM for having the same environment:

Steps

In the Ubuntu system, open the Terminal application and type the following commands:

  1. Install prerequisite packages for building the firmware:

    $ sudo apt-get install git g++ make libncurses5-dev subversion libssl-dev gawk libxml-parser-perl unzip wget python xz-utils
    
  2. Download OpenWrt CC source codes:

    $ git clone git://git.openwrt.org/15.05/openwrt.git
    
  3. Prepare the default configuration file for feeds:

    $ cd openwrt
    $ cp feeds.conf.default feeds.conf
    
  4. Add the LinkIt Smart 7688 feed:

    $ echo src-git linkit https://github.com/MediaTek-Labs/linkit-smart-7688-feed.git >> feeds.conf
    
  5. Update the feed information of all available packages for building the firmware:

    $ ./scripts/feeds update
    
  6. Install all packages:

    $ ./scripts/feeds install -a
    
  7. Prepare the kernel configuration to inform OpenWrt that we want to build an firmware for LinkIt Smart 7688:

    $ make menuconfig
    
    • Select the options as below:
      • Target System: Ralink RT288x/RT3xxx
      • Subtarget: MT7688 based boards
      • Target Profile: LinkIt7688
    • Save and exit (use the deafult config file name without changing it)
  8. Start the compilation process:

    $ make V=99
    
  9. After the build process completes, the resulted firmware file will be under bin/ramips/openwrt-ramips-mt7688-LinkIt7688-squashfs-sysupgrade.bin. Depending on the H/W resources of the host environment, the build process may take more than 2 hours.

  10. You can use this file to do the firmware upgrade through the Web UI. Or rename it to lks7688.img for upgrading through a USB drive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.