forked from AcSiP/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
[Reference] Linux distribution for embedded devices
License
akshaymishra/openwrt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the buildsystem for the OpenWrt Linux distribution. For AI7688H, please checkout the branch **'AI7688H__chaos_calmer'**. # About linkit-smart-feed This branch imported the feeds from Mediatek Labs https://github.com/AcSiP/linkit-smart-7688-feed # 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: * Download Ubuntu 14.04.3 LTS image from [http://www.ubuntu.com](http://www.ubuntu.com) * Install this image with VirtualBox (http://virtualbox.org) on the host machine. 50GB disk space reserved for the VM is recommanded ### 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 https://github.com/AcSiP/openwrt.git ``` 3. Checkout this branch: ``` $ cd openwrt $ git checkout origin/AI7688H__chaos_calmer ``` 4. Update the feed information of all available packages for building the firmware: ``` $ ./scripts/feeds update ``` 5. Install all packages: ``` $ ./scripts/feeds install -a ``` 6. 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**) 7. Start the compilation process: ``` $ make ``` 8. 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**. 9. 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
[Reference] Linux distribution for embedded devices
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 72.0%
- Makefile 12.0%
- Shell 5.0%
- C++ 4.9%
- Objective-C 2.3%
- Assembly 1.3%
- Other 2.5%