Giter Site home page Giter Site logo

mtk-openwrt-feeds's Introduction

What is this?

This repo is an unofficial MediaTek "feeds" for OpenWrt or Lede. This project is experimental, and technical support will be limited.

In OpenWrt/Lede, a "feeds" is a collection of software components (applications, libraries, kernel-modules, ...) that you can integrate into your OpenWrt/Lede system.

How can I use them?

I assume that you already have a working OpenWrt/Lede workspace, then add the following line into "feeds.conf.default" (You will find it under the top dir of your workspace).

src-git mtk https://github.com/Nossiac/mtk-openwrt-feeds;lede-17.01

then execute:

scripts/feeds update -f mtk
scripts/feeds install -a -p mtk

Now you will be able to see extra packages via make menuconfig. All packages from this feeds are located under MTK Properties.

What do we have here?

mt7620/mt7610/mt7612/mt7628/mt7603/mt7615

These are prebuilt WiFi modules for OpenWrt/Lede, including:

  • mt7620 (done)
  • mt7628 (done)
  • mt7610 (done)
  • mt7602 (done)
  • mt7612 (done)
  • mt7603 (done)
  • mt7615 (done)

You can download all available wifi modules here: http://nossiac.com/download/mtk-wifi-ko/ . The are named as:

<wifichip>-for-<cpuname>-linux-<kernel-version>.ko

A detailed document for using these WiFi modules is here: about-mtk-wifi.md .

uci2dat

An application that translates "/etc/config/wireless" into MTK's WiFi profiles (e.g. mt7620.dat). You may use it as an adapter to make MTK's WiFi drivers work with standard LuCi's WiFi management.

wificonf

An application that reads/writes configuration files with "=[Value]" syntax. It can be used in your own scripts to help manipulate MTK WiFi profiles.

If you use lua, you should take a look at: https://github.com/Nossiac/mtk-openwrt-feeds/blob/master/mtk-luci-plugin/luci-app-mtkwifi/root/usr/lib/lua/mtkwifi.lua.

mtk-nvram

The term "nvram" in MTK's software means a raw storage scheme on flash chips. It access flash device in raw mode (without filesystem).

All data stored in nvram partition are "=[Value]" pairs. It usually resides in mtd partition "config".

Note: OpenWrt/Lede has replaced nvram scheme with uci long ago. I keep this for back compatibility only.

mtk-luci-plugin

This is a plugin for LuCI web interface, which manipulates MTK's proprietary drivers by reading/writing its profile directly. It does not use uci, so "/etc/config/wireless" is left untouched.

To use it, you should install LuCI first:

scripts/feeds update
scripts/feeds install luci

Also we have a small tool called "web console" along with the plugin, it exposes root shell to the web interface, and sometimes you may need it.

Technical support?

I do this in my spare time, so I cannot promise too much. Anyway, you are welcome to feedback any issues/bugs/suggestions/patches here. That would be helpful for MTK to improve what they are doing.

mtk-openwrt-feeds's People

Contributors

nossiac avatar davidefioravanti avatar baumgartl avatar

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.