Skip to content

Kenzu/linkit-smart-7688-feed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 

Repository files navigation

linkit-smart-feed

This feeds holds the config/meta package for the LinkIt Smart 7688 (Duo) for OpenWrt 18.06.

It uses the mt76 driver for wifi.

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 Debian Stretch 9.5 environment. For a Windows or a Mac OS X host computer, you can install a VM for having the same environment:

Steps

In the Debian 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 https://git.openwrt.org/openwrt/openwrt.git/ -b openwrt-18.06
    
  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/Kenzu/linkit-smart-7688-feed.git >> feeds.conf
    
  5. Update the feed information of all available packages for building the firmware:

    $ ./scripts/feeds update -a
    
  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: MediaTek Ralink MIPS
      • Subtarget: MT76x8 based boards
      • Target Profile: MediaTek LinkIt Smart 7688
    • 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/targets/ramips/mt76x8/openwrt-ramips-mt76x8-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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 35.1%
  • C 32.9%
  • Makefile 14.6%
  • JavaScript 9.6%
  • Python 6.8%
  • Lua 1.0%