GithubHelp home page GithubHelp logo

xtonly / build-gl.inet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiay-shi/build-gl.inet

0.0 0.0 0.0 198 KB

build gl.inet openwrt firmware

Shell 57.18% Lua 19.64% Makefile 11.37% HTML 11.81%

build-gl.inet's Introduction

GL.iNet路由器官方开源固件快捷编译

支持设备

  • GL-AX1800
  • GL-AXT1800
  • GL-A1300
  • GL-MT2500
  • GL-SF1200
  • GL-SFT1200
  • GL-MT1300
  • GL-MT3000

仓库说明

  • 本仓库使用的源码基于GL.iNet官方开源仓库gl-inet/gl-infra-builder,性能及稳定性请自行测试。
  • IPQ6018系列、mt7981系列和GL-A1300支持官方UI。
  • 本仓库可以直接通过github的action编译目标设备固件,也支持本地编译
  • GitHub action编译的固件可以直接在release中下载,也可以在 action工作流中获取,action工作流中也可以获取编译产生的插件。

定制固件

1.添加插件

a.有插件的git仓库

  以hello word为例,在custom.yml文件中feed节点中新增子节点,name可以任意起一个,比如我就叫helloword,uri填helloword的仓库地址,revision 填写最新的commitId,然后在custom.yml 文件的packages节点下增加luci-app-ssr-plus即可。

b.无插件仓库

  把自己准备的插件直接放到custom目录下,然后在custom.yml 文件的packages节点下增加相关插件名称即可。

2.添加自定义配置

  可以将几乎所有自定义配置信息写入default-settings插件下的 zzz-default-settings文件中,实现每次路由器刷写固件后像重启一样简单,无需额外在配置路由器。修改完zzz-default-settings文件后在custom.yml文件的packages节点下增加default-settings插件使自已定配置生效。

本地编译

##先自行安装编译环境
##
git clone https://github.com/JiaY-shi/build-gl.inet.git
cd build-gl.inet
./build.sh ~ ${target} false  ## ~为编译目录HOME,不建议调整; ${target}为目标设备,比如target_wlan_ap-gl-ax1800;最后一个参数是否需要官方UI,默认true 需要,不需要的话则填false

设备和目标的对应关系

目标 设备
target_wlan_ap-gl-ax1800 GL-AX1800 4.4内核
target_wlan_ap-gl-axt1800 GL-AXT1800 4.4内核
target_wlan_ap-gl-ax1800-5-4 GL-AX1800 5.4内核
target_wlan_ap-gl-axt1800-5-4 GL-AXT1800 5.4内核
target_ipq40xx_gl-a1300 GL-A1300
target_mt7981_gl-mt2500 GL-MT2500
target_mt7981_gl-mt3000 GL-MT3000
target_siflower_gl-sf1200 GL-SF1200
target_siflower_gl-sft1200 GL-SFT1200
target_ramips_gl-mt1300 GL-MT1300

build-gl.inet's People

Contributors

jiay-shi 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.