Code Monkey home page Code Monkey logo

64's Introduction

Actions-OpenWrt

LICENSE GitHub Stars GitHub Forks

Build OpenWrt using GitHub Actions

Read the details in my blog (in Chinese) | 中文教程

分支说明

Lienol分支说明

暂时放弃这个分支了, Lienol与lede的配置差别还是蛮大的, 用Youku-Yk1测试了几次, 固件其它功能都还好, 就是主题页侧边栏加载总出错, 虽说可以在SSH安装yuyangyu755@恩山编译的主题包解决, 但是总没有原生编译的舒服。发了issue迟迟没有回复, 不折腾了。

搜索同样的主题问题, 看lienol的回复, 似乎是lienol使用的luci版本比较新, 与现有的主题适配有问题!

经验总结: feeds.conf.default文件中luci源中对应分支下的themes文件夹下有啥装啥, 不能乱装!

主题argon适配方法:

# 添加插件源, 含bypass, tubroacc等
sed -i '$a src-git custom https://github.com/garypang13/openwrt-packages' feeds.conf.default
# 修改默认主题为argon
sed -i 's/luci-theme-bootstrap/luci-theme-argon/g' feeds/luci/collections/luci/Makefile
# 替换garypang13源中的argon主题源码
rm -rf package/feeds/custom/luci-theme-argon
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/feeds/custom/luci-theme-argon

恩山论坛@小鸡过河的固件比较有特色, 尤其是科学上网插件Bypass(不是买火车票那个分流抢票), 但是他用的是lede 5.4内核分支, 稳定性不及4.14内核, 对硬件性能要求比较高, 7621基本算是最低要求了...

本分支使用Lienol稳定分支, feed添加了garypang13/openwrt-packages, 编译出来在斐讯K2(psg1218a, 7620a方案)跑了几天, 表现尚可。

其它做过的适配改动 garypang13#10

笔记

固件开机DHCP服务不起效, 原因是5.4内核和4.14内核的resolv.conf(上游DNS配置文件)路径发生了变化, 参见lede#5158.

B70编译不出squashfs-sysupgrade.bin固件, 此处脚本IMAGE_SIZE := $(ralink_default_fw_size_16M)不能引用mt7621.mk中的变量, 直接指定IMAGE_SIZE := 16064k就好了.

B70 16m和32m分别使用了两种闪存布局, 主要是为了备忘. 32m需对除了diy-B70.sh中的修改之外, 还需对dts文件做如下修改:

-		reg = <0x50000 0xfb0000>;
+		reg = <0x50000 0x1fa0000>;
+	};
+
+	bdinfo: partition@1ff0000 {
+		label = "bdinfo";
+		reg = <0x1ff0000 0x10000>;
+		read-only;

常用广告屏蔽

乘风@卡饭

anti-AD@Github

Usage

  • Click the Use this template button to create a new repository.
  • Generate .config files using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. )
  • Push .config file to the GitHub repository.
  • Select Build OpenWrt on the Actions page.
  • Click the Run workflow button.
  • When the build is complete, click the Artifacts button in the upper right corner of the Actions page to download the binaries.

Tips

  • It may take a long time to create a .config file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply search Actions-Openwrt in GitHub.
  • Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.

Acknowledgments

License

MIT © P3TERX

64's People

Contributors

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