Code Monkey home page Code Monkey logo

keenetic-sdk's Introduction

Keenetic SDK

This is the build system for the KeeneticOS.

Keenetic SDK is based on the OpenWrt project (https://openwrt.org/). We recommend to read the OpenWrt build system manual (https://openwrt.org/docs/guide-developer/build-system/use-buildsystem) before following the next steps.

Step 1. Save the current version of KeeneticOS

Connect to the Keenetic web interface and go to the 'System settings' page. In the 'System files' section, select the firmware file and click the 'Save to computer' button to download the copy of this file.

Write down the version of KeeneticOS (e.g. 3.07.C.4.0-2).

Step 2. Set up your environment

You need the 64-bit Debian-based Linux distribution. We recommend to use the latest long-term support (LTS) version of Ubuntu (https://ubuntu.com/download).

# apt install attr bc build-essential curl gawk git libhtml-parser-perl libjson-perl libncurses-dev libssl-dev libxml-libxml-perl python python3 subversion unzip zlib1g-dev

Step 3. Prepare source

$ # replace '<version>' below with yours from Step 1
$ git clone --depth 1 --branch <version> https://github.com/keenetic/keenetic-sdk.git
$ cd keenetic-sdk

Step 4. Unpack firmware

$ # replace '<firmware.bin>' below with the path to your firmware from Step 1
$ ./unpack.sh <firmware.bin>

Step 5. Build firmware

$ make

You can find the firmware file in the 'bin' directory (e.g. bin/mt7621/20220601_1619_KN-1010-3.07.C.4.0-2.bin)

Step 6. Customization

You can put your files in the 'files' directory. You can also put packages for building your software in the 'package' directory

See: https://openwrt.org/docs/guide-developer/packages

keenetic-sdk's People

Contributors

legale 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.