没有合适的资源?快使用搜索试试~ 我知道了~
MTK WiFi6 OpenWRT 编程手册7621/7622

温馨提示


试读
60页
MTK WiFi6 OpenWRT编程手册,Word版本,最新的的MTK/Ralink系列WIFI芯片无线路由设备开发指南,包括RT5350、MT7620、MT7621、MT7628、MT7688等全系列
资源推荐
资源详情
资源评论












Version: 4.0
Release date: 2018-12-13
© 202120082014201420212008 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.
Specifications are subject to change without notice.
MTK OpenWrt SDK User Manual

MediaTek
Confidential
Document Revision History
Revisio
n
Date Author Description
V4.0 2017-12-31 Hua Shao Initial Draft.
MediaTek Confidential © 202120082014201420212008 - 2020 MediaTek Inc. Page 2 of 60
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.

MediaTek
Confidential
Table of Contents
1 About MTK OpenWrt SDK...................................................................................................................... 7
1.1 What is OpenWrt.......................................................................................................................... 7
1.1.1 What is lede?................................................................................................................... 7
1.2 MediaTeK’s OpenWrt SDK........................................................................................................... 8
1.3 SDK Revision History................................................................................................................... 8
1.3.1 V4.x................................................................................................................................. 8
2 Using MTK OpenWrt SDK...................................................................................................................... 9
2.1 Unzip the code............................................................................................................................. 9
2.2 Setup precondition..................................................................................................................... 10
2.3 Configure the SDK..................................................................................................................... 12
2.3.1 Configure OpenWrt........................................................................................................12
2.3.2 Configure Linux Kernel.................................................................................................. 14
2.3.3 Install and configure wireless drivers.............................................................................15
2.3.4 Using pre-defined configurations...................................................................................16
2.4 Build........................................................................................................................................... 16
2.4.1 Partial build.................................................................................................................... 17
2.4.2 Firmwares and packages...............................................................................................17
2.5 Install.......................................................................................................................................... 18
2.5.1 Upgrade via uboot......................................................................................................... 18
2.5.2 Upgrade via “sysupgrade”.............................................................................................19
2.5.3 Upgrade via WEB UI......................................................................................................19
2.5.4 Install packages (ipk).....................................................................................................20
3 SDK components introduction............................................................................................................21
3.1 Components Overview............................................................................................................... 21
MediaTek Confidential © 202120082014201420212008 - 2020 MediaTek Inc. Page 3 of 60
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.

MediaTek
Confidential
3.2 Toolchain.................................................................................................................................... 21
3.2.1 C/C++ Libraries.............................................................................................................21
3.3 Peripherals................................................................................................................................. 22
3.3.1 PCI 22
3.3.2 I2C 24
3.3.3 GPIO.............................................................................................................................. 26
3.3.4 SPI 27
3.3.5 PMIC.............................................................................................................................. 28
3.3.6 UART............................................................................................................................. 30
3.3.7 PWM.............................................................................................................................. 31
3.3.8 USB............................................................................................................................... 32
3.3.9 SATA............................................................................................................................. 32
3.3.10 Ethernet....................................................................................................................... 33
3.3.11 Timer........................................................................................................................... 34
3.3.12 Watchdog....................................................................................................................35
3.3.13 eMMC.......................................................................................................................... 36
3.3.14 SDXC........................................................................................................................... 36
3.3.15 Flash............................................................................................................................ 37
3.3.16 Thermal.......................................................................................................................40
3.4 Feeds......................................................................................................................................... 41
3.4.1 Search and install package from feeds..........................................................................41
3.4.2 Add new feeds...............................................................................................................41
3.4.3 Make your own feeds.....................................................................................................42
3.5 Web Interface (LuCi).................................................................................................................. 42
3.5.1 Install LuCi..................................................................................................................... 42
3.5.2 Luci-app-mtk.................................................................................................................. 42
3.6 MTK proprietary packages.........................................................................................................42
MediaTek Confidential © 202120082014201420212008 - 2020 MediaTek Inc. Page 4 of 60
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.

MediaTek
Confidential
3.6.1 mii_mgr.......................................................................................................................... 42
3.6.2 qdma.............................................................................................................................. 43
3.6.3 regs43
3.6.4 switch............................................................................................................................. 43
3.6.5 ufsd_tools...................................................................................................................... 45
3.6.6 802.1x............................................................................................................................ 45
3.6.7 ated_ext......................................................................................................................... 45
3.6.8 uci2dat........................................................................................................................... 46
3.7 WiFi Drivers................................................................................................................................ 47
3.7.1 Install WiFi drivers into SDK..........................................................................................47
3.7.2 Init flow.......................................................................................................................... 48
3.7.3 /sbin/wifi and /sbin/wifi.legacy........................................................................................48
3.7.4 l1profile.......................................................................................................................... 48
4 Development with MTK OpenWrt SDK................................................................................................51
4.1 Creating a new package............................................................................................................. 51
4.2 Using device tree (*.dts and *.dtb) (hua)....................................................................................54
4.3 Work with patches...................................................................................................................... 54
4.3.1 The “quilt” utility.............................................................................................................54
4.3.2 Make patch for the kernel..............................................................................................54
4.3.3 Make patch for a package............................................................................................. 55
4.4 Customize booting sequence.....................................................................................................56
4.4.1 “/etc/inittab”................................................................................................................... 56
4.4.2 /etc/init.d and /etc/rcs.d..................................................................................................57
4.4.3 /etc/rc.local....................................................................................................................57
5 FAQ........................................................................................................................................................ 58
5.1 Q: Which SDK version should I use?.........................................................................................58
5.2 Q: What is factory.bin, when should I use it?.............................................................................58
MediaTek Confidential © 202120082014201420212008 - 2020 MediaTek Inc. Page 5 of 60
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.
剩余59页未读,继续阅读
资源评论

- czwlanmm2023-09-05不是pdf,可参考
- adaer12021-03-02无法下载!!!!骗分!!!

nickzhang2010
- 粉丝: 4
- 资源: 2
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制
