OpenWrt MediaTek AP Router 1
1.1
Introduction
About OpenWrt
OpenWrt (http://www.openwrt.org/) is a linux distribution primarily used on embedded devices
to route network traffic. The main components are the Linux kernel, uClibc, busybox, and OpenWrt framework utilities. All components have been optimized for size, to be small enough for fitting into the limited storage and memory available in the routers.
1.2 About this SDK
This SDK is a MTK customized OpenWrt project.
To provide better compatibility and better stability, some OpenWrt drivers were replaced with
MTK drivers, such as Ethernet, USB, WiFi, SD Card, etc.
Brief Summary about this SDK:
? ? ? ? ? ?
OpenWrt framework: Barrier Breaker Linux Kernel: 3.10.14
Toolchain: toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2 MTK Linux SDK base: linux-3.10.14
Supported SoC Chips: MT7621, MT7628, MT7620
Supported WiFi Chips: MT7603e, MT7602e, MT7612e, MT7628, MT7620, MT7610e
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 5 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
OpenWrt MediaTek AP Router 2
2.1
Feature:
? ? ? ? ? ? ? ? ?
SoC chip support: MT7621, MT7620, MT7628
WiFi chip support: MT7603e. MT7602e, MT7612e, MT7620, MT7610e, MT7628 Ethernet driver Ready Flash driver ready PCI-e driver ready USB driver ready SDXC driver ready
Ralink apps (8021xd, ated, btnd, gpio, nvram, mii_mgr, reg, switch, uci2dat, watchdog) ready
Support luci-mtk web UI.
Change History
V3.0, 20141110
2.2
Feature:
V3.1, 20141127
? ? ? ?
Add support for MT7628A,7688A SoC chip Add support for MT7628A, 7688A WiFi Chip Support hardware NAT for MT7621 Support ntfs/extfat fs auto mount
Update 7603 driver to fix WMM and RTS/CTS issue Update 7612e package to support SingleSKU Init 802.1xd when WPA/WPA2 enterprise encryption
Update:
? ? ?
? Fix some web issues
Note: Compile 7688a image, please select Subtarget (MT7628 based boards).
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 6 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
OpenWrt MediaTek AP Router 3
SDK Files
? MTK-OpenWrt-3.10.14-SDK-Release Notes.docx ? This document.
? mtksdk-openwrt-3.10.14-{version}-{date}-{tag}.tar.bz2 ? SDK
? openwrt-ramips-{chip-id}-squashfs-sysupgrade.bin
?
Pre-build software
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.Page 7 of 34
OpenWrt MediaTek AP Router 4
4.1
Build the SDK
Setup Build Environment
To build this SDK, you should have a linux server (linux 2.6.x or later) as the build host.
The default build will take up to 6 GB disk space. Make sure you have enough space to hold it.
Prepare the source project:
tar xjvf mtksdk-openwrt-3.10.14-{date}-{tag}.mini.tar.bz2 -C /path/to/your/workspace
4.2 Check Build Dependency
In the first build, OpenWrt will check your build environment. If it complains that some library or software is missing, you should install them first, eg: yum install svn yum install wget yum install ncurses-devel yum install zlib-devel …..
4.3 SDK root folder
This is what the SDK root folder looks like (Those folder names surrounded with red line are auto generated during build).
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 8 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.