Git Product home page Git Product logo

lede-mr-mips's Introduction

lede-mr-mips

A naive try to bring LEDE to Mikrotik metarouter platform.

Introduction

Metarouter is a virtualization feature shipped in Mikrotik RouterOS. It has the ability to import custom images as Metarouter guests. Mikrotik released OpenWRT patches and images (with 2.6.31 kernel) in around 2010. But they have never updated it since then.

Some kind Mikrotik users migrate the patches to newer kernels:

  • liquidcz from Mikrotik forum migrate the patches to OpenWRT 12.09 with 3.3 kernel: link
  • hecke, based on liquidcz's work, release the patches for OpenWRT 14.07 with 3.10 kernel: link

3 years has passed since OpenWRT 14.07 released and 3.3 / 3.10 kernel branches have been EOL. To enjoy latest bugfixes and features, I based on hecke's work to bring Metarouter support to LEDE (successor of OpenWRT project).

Migration to newer kernels requires more changes to old patches. Latest LEDE v17.01.4 uses 4.4 kernel as baseline and 3.18 for platforms lacking of supports. I only bump kernel version to 3.18.43.

I only test on my RB2011UiAS-RM router. Theoretically the patches should work on other MIPS boards (at least RB2011 series). Support for PPC boards are removed because I don't have one.

Usage

Please follow LEDE official guides to build the image and software packages.

After checking out LEDE v17.01.4 sources, put this project inside LEDE source tree:

$ cd path/to/lede/source/
$ git clone https://github.com/cuihaoleo/lede-mr-mips target/linux/mr-mips

In the step of make menuconfig, select Mikrotik MetaROUTER MIPS as target platform.

I provide an example config in misc/lede-config. It should work out-of-box. You may use it if you don't want to customize kernel:

$ cp target/linux/mr-mips/misc/lede-config .config
$ make oldconfig

Disclaimer

I am familiar with neither Linux kernel nor LEDE/OpenWRT build system. This is the first time that I deal with kernel sources. I change the code just based on my intuition of a programmer.

Don't blame me if this project break your router!

lede-mr-mips's People

Contributors

cuihaoleo avatar

Watchers

 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.