Skip to content

OpenWrt/LEDE build config and prebuilt images for Phicomm K2P Wireless router.

License

Notifications You must be signed in to change notification settings

lpy5511241/openwrt-phicomm-k2p-build

 
 

Repository files navigation

openwrt-phicomm-k2p-build

斐讯K2P的OpenWrt/LEDE编译配置文件及预编译固件(自用&备份用)

如果你要用本仓库的配置文件编译,建议先去lean的仓库看一下相关说明,本配置文件为lean的OpenWrt源码生成,本意是个人使用以及备份。

出于稳定性考虑暂时不使用mt76开源驱动,请使用此处的闭源驱动

将.config文件放置在源代码根目录下运行make -jX V=s即可编译,如提示out of sync请重新运行make menuconfig然后保存再进行编译。其中X为CPU线程数。

编译教程参考:OpenWrt/LEDE编译小记(斐讯K2P)

如果本文件及时更新,应该是能正常编译固件的(指openwrt代码仓库没有问题的情况下)

请自行斟酌使用,如出现任何问题后果自负。

自用插件列表:

luci-app-arpbind
luci-app-autoreboot
luci-app-ddns (包含cloudflare ddns脚本)
luci-app-firewall
luci-app-flowoffload
luci-app-ramfree
luci-app-sqm
luci-app-ssr-plus (v2ray+ShadowsocksR&服务端)
luci-app-upnp
luci-app-vlmcsd (KMS服务器)
luci-app-wifischedule
luci-app-wol (网络唤醒)
luci-theme-argon
ipv6helper
mtk 5.0.2.0闭源驱动

TODO: 内存/闪存 自适应,参考:coolsnowwolf/lede#1507 咱的k2p没有硬改,用不到这个功能,所以有可能永远也不会加进去(逃


OpenWrt/LEDE build config and prebuilt firmware images for Phicomm K2P Wireless router. (For my personal use&backup)

If you want to use this config file to compile your firmware, go to here first to get the source code repository and more config info:

Due to stability reasons, not using mt76 open source driver for now. Please check here for closed source driver. Then put the .config file under the code directory and run make -jX V=s, X as your CPU core number. If prompt "out of sync" simply run make menuconfig again then compile.

If I keep this file up to date, you should be able to compile your own firmware.

Use it as your own risk.

A brief list for the stuff that I use:

luci-app-arpbind
luci-app-autoreboot
luci-app-ddns (including extra script for cloudflare)
luci-app-firewall
luci-app-flowoffload
luci-app-ramfree
luci-app-sqm
luci-app-ssr-plus (v2ray+ShadowsocksR&server)
luci-app-upnp
luci-app-vlmcsd (KMS Server)
luci-app-wifischedule
luci-app-wol (Wake on Lan)
luci-theme-argon
ipv6helper
mtk 5.0.2.0 closed source driver

TODO: RAM/flash size auto detect, since I did not hard-modded my k2p, so maybe it will never be implemented ;) Here's an example of how to do this: coolsnowwolf/lede#1507

About

OpenWrt/LEDE build config and prebuilt images for Phicomm K2P Wireless router.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published