Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Aug 4, 2022
1 parent a4d12b5 commit bd4aaaf
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 25 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
##### 一分钟在线编译定制专属固件: [supes.top](https://supes.top)
#### 支持设备:
##### X86/64, 友善 NanoPi、R2S、R4S、R5S、R2C、NEO3, 斐讯 N1、K2P、K3, 树莓派 4B、3B/3B+、2B, DoorNet1, DoorNet2, 香橙派 R1 Plus、R1 Plus LTS, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S/小米AX3200, 红米AC2100, 小米AC2100, 斐讯K3, 极路由 HIWIFI HC5962(极路由4、B70)、HC5661A、HC5761A、HC5861B, 小米4, 小米 R3G, 小米 R3P, newifi-d2 (新路由3), 小娱XY-C5, 竞斗云2.0(P&W R619AC), GL.iNet MT1300、microuter-N300、MT300N V2, 小米CR660X(CR6606/CR6608/CR6609), 小米4A千兆版, 小米R3G-v2, 小米青春版Nano, 迅雷下载宝timecloud, 优酷 yk-l2, 有华 wr1200js, 向日葵 X3A, 华硕 ASUS RT-ACRH17、RT-AC58u/RT-ACRH13、RT-ac85p、RT-n56u-b1、RT-AC88U、RT-AC1200、RT-AC1200 V2, 网件 NETGEAR R6220、R6260、R6120、R6700-v2、R6800、R6850、R6900-v2、R7450、wndr3700-v5, JCG Q20, JCG Y2, 歌华链GHL-R-001, H1 Box, 贝壳云P1, 我家云lL Pro, x96 Max, 微加云V-Plus, 章鱼星球ZYXQ, GT-King, Odroid N2, MXQ Pro+ 等
#### 一分钟在线编译定制专属固件: [supes.top](https://supes.top)
#### 支持150+设备:
X86/64, 友善 NanoPi、R2S、R4S、R4SE、R5S、R2C、NEO3, 斐讯 N1、K2P、K3, 树莓派 4B、3B/3B+、2B, DoorNet1, DoorNet2, 香橙派 R1 Plus、R1 Plus LTS, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S/小米AX3200, 红米AC2100, 小米AC2100, 斐讯K3, 360V6, 玩客云, 极路由 HIWIFI HC5962(极路由4、B70)、HC5661A、HC5761A、HC5861B, 小米4, 小米 R3G, 小米 R3P, newifi-d2 (新路由3), 小娱XY-C5, 竞斗云2.0(P&W R619AC), GL.iNet MT1300、AX1800、microuter-N300、MT300N V2, 小米CR660X(CR6606/CR6608/CR6609), 小米4A千兆版, 小米 R3G-v2, 小米青春版Nano, 迅雷下载宝 timecloud, 优酷 yk-l2, 有华 wr1200js, 向日葵 X3A, 华硕 ASUS RT-ACRH17、RT-AC58u/RT-ACRH13、RT-ac85p、RT-n56u-b1、RT-AC88U、RT-AC1200、RT-AC1200 V2, 网件 NETGEAR R6220、R6260、R6120、R6700-v2、R6800、R6850、R6900-v2、R7450、wndr3700-v5, H1 Box, 贝壳云P1, 我家云lL Pro, x96 Max, 微加云V-Plus, 章鱼星球ZYXQ, GT-King, Odroid N2, MXQ Pro+, 京东无线宝JDCloud RE-SP-01B, Linksys WRT1200AC、WRT1900AC v1、WRT1900AC v2、WRT3200ACM、WRT1900ACS v1、WRT1900ACS v2、WRT32X 等

[1]: https://img.shields.io/badge/license-GPLV2-brightgreen.svg
[2]: /LICENSE
[3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
Expand Down Expand Up @@ -156,7 +157,13 @@ Build OpenWrt using GitHub Actions
- click the `Star` button, and the build will starts automatically.Progress can be viewed on the Actions page.
- When the build is complete, click the `Artifacts` button in the upper right corner of the Actions page to download the binaries.


## Acknowledgments

#### Rockchip的Kernel等部分源码来源 https://github.com/coolsnowwolf/lede
#### ipq807x的Kernel等部分源码来源 https://github.com/Boos4721/openwrt
#### ipq60xx的Kernel等部分源码来源 https://github.com/coolsnowwolf/openwrt-gl-ax1800

- [OpenWrt](https://github.com/openwrt/openwrt)
- [Lean's OpenWrt](https://github.com/coolsnowwolf/lede)
- [P3TERX](https://github.com/P3TERX/Actions-OpenWrt/blob/master/LICENSE)
Expand Down
2 changes: 1 addition & 1 deletion devices/ipq60xx_generic/.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CONFIG_TARGET_ipq60xx_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_cmiot_ax18=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_glinet_gl-ax1800=y
#CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_glinet_gl-axt1800=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_glinet_gl-axt1800=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_linksys_mr7350=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_qihoo_v6=y
CONFIG_TARGET_DEVICE_ipq60xx_generic_DEVICE_zn_m2=y
Expand Down
1 change: 1 addition & 0 deletions devices/ipq60xx_generic/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Kernel等部分源码来源 https://github.com/coolsnowwolf/openwrt-gl-ax1800 感谢
26 changes: 13 additions & 13 deletions devices/ipq60xx_generic/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
shopt -s extglob

rm -rf package/boot/uboot-envtools package/kernel package/firmware/ath11k* package/qca target/linux/generic target/linux/ipq60xx package/network/config/netifd feeds/kiddin9/fullconenat toolchain
svn export --force https://github.com/kiddin9/openwrt-ax1800/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
svn export --force https://github.com/kiddin9/openwrt-ax1800/trunk/package/firmware/ath11k-firmware package/firmware/ath11k-firmware
svn export --force https://github.com/kiddin9/openwrt-ax1800/trunk/package/qca package/qca
svn export --force https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
svn export --force https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/firmware/ath11k-firmware package/firmware/ath11k-firmware
svn export --force https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/qca package/qca

svn co https://github.com/kiddin9/openwrt-ax1800/trunk/target/linux/generic target/linux/generic
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/target/linux/ipq60xx target/linux/ipq60xx
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/dl dl
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/package/kernel package/kernel
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/package/network/utils/fullconenat feeds/kiddin9/fullconenat
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/package/network/config/netifd package/network/config/netifd
svn co https://github.com/kiddin9/openwrt-ax1800/trunk/toolchain toolchain
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/target/linux/generic target/linux/generic
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/target/linux/ipq60xx target/linux/ipq60xx
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/dl dl
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/kernel package/kernel
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/network/utils/fullconenat feeds/kiddin9/fullconenat
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/network/config/netifd package/network/config/netifd
svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/toolchain toolchain
rm -rf target/linux/generic/files
rm -rf package/network/config/netifd/patches

curl -sfL https://raw.githubusercontent.com/kiddin9/openwrt-ax1800/master/include/netfilter.mk -o include/netfilter.mk
curl -sfL https://raw.githubusercontent.com/kiddin9/openwrt-ax1800/master/include/quilt.mk -o include/quilt.mk
curl -sfL https://raw.githubusercontent.com/coolsnowwolf/openwrt-gl-ax1800/master/include/netfilter.mk -o include/netfilter.mk
curl -sfL https://raw.githubusercontent.com/coolsnowwolf/openwrt-gl-ax1800/master/include/quilt.mk -o include/quilt.mk

sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += luci-app-cpufreq automount/' target/linux/ipq60xx/Makefile
sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += autocore-arm luci-app-cpufreq automount/' target/linux/ipq60xx/Makefile

rm -f devices/common/patches/usb.patch
rm -rf feeds/packages/net/openvswitch feeds/kiddin9/shortcut-fe feeds/packages/net/xtables-addons package/kernel/mt76
Expand Down
12 changes: 12 additions & 0 deletions devices/ipq60xx_generic/patches/fix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,15 @@
PKG_SOURCE_VERSION:=50381d0a2998f6c0fc4823f0c2aa4206063d549e
PKG_MIRROR_HASH:=2718df3d3538c93ac77accf55716fb341741df3d231aac59e04dd1f80f558889
PKG_MAINTAINER:=Felix Fietkau <[email protected]>

--- a/target/linux/ipq60xx/image/Makefile
+++ b/target/linux/ipq60xx/image/Makefile
@@ -102,7 +102,7 @@ define Device/qihoo_v6
PAGESIZE := 2048
DEVICE_DTS := qcom-ipq6018-qihoo-v6
DEVICE_DTS_CONFIG := config@cp03-c1
- DEVICE_TITLE := Qihoo V6
+ DEVICE_TITLE := Qihoo 360 V6
DEVICE_PACKAGES := kmod-usb3 kmod-usb-phy-msm
endef
TARGET_DEVICES += qihoo_v6
1 change: 1 addition & 0 deletions devices/ipq807x/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Kernel等部分源码来源 https://github.com/Boos4721/openwrt 感谢
25 changes: 18 additions & 7 deletions devices/ipq807x/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,40 @@ shopt -s extglob

SHELL_FOLDER=$(dirname $(readlink -f "$0"))
bash $SHELL_FOLDER/../common/kernel_5.15.sh

rm -rf package/boot/uboot-envtools package/firmware/ipq-wifi package/firmware/ath11k* package/kernel/mac80211 package/qca package/qat

<<'COMMENT'
svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
svn export --force https://github.com/Boos4721/openwrt/trunk/package/firmware/ipq-wifi package/firmware/ipq-wifi
svn export --force https://github.com/Boos4721/openwrt/trunk/package/firmware/ath11k-board package/firmware/ath11k-board
svn export --force https://github.com/Boos4721/openwrt/trunk/package/firmware/ath11k-firmware package/firmware/ath11k-firmware
svn export --force https://github.com/Boos4721/openwrt/trunk/package/qca package/qca
svn export --force https://github.com/Boos4721/openwrt/trunk/package/qat package/qat
svn export --force https://github.com/Boos4721/openwrt/trunk/package/kernel/mac80211 package/kernel/mac80211
COMMENT

git clone https://github.com/Boos4721/openwrt boos
cd boos
git checkout 1f6a1e0d872d373d904cd4c16dec87ac3c03a042
cd -
mv -f boos/package/firmware/ipq-wifi package/firmware/
mv -f boos/package/firmware/ath11k-board package/firmware/
mv -f boos/package/firmware/ath11k-firmware package/firmware/
mv -f boos/package/qca package/
mv -f boos/package/qat package/
mv -f boos/package/kernel/mac80211 package/kernel/

svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic/pending-5.15 target/linux/generic/pending-5.15

svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
svn co https://github.com/Boos4721/openwrt/trunk/target/linux/ipq807x target/linux/ipq807x

svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic/pending-5.15 target/linux/generic/pending-5.15
curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/package/kernel/linux/modules/netsupport.mk -o package/kernel/linux/modules/netsupport.mk
curl -sfL https://raw.githubusercontent.com/Lstions/openwrt-boos/master/target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev -o target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev.patch

curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/include/kernel-5.15.mk -o include/kernel-5.15
kernel_v="$(cat include/kernel-5.15 | grep LINUX_KERNEL_HASH-* | cut -f 2 -d - | cut -f 1 -d ' ')"
echo "KERNEL=${kernel_v}" >> $GITHUB_ENV || true
sed -i "s?targets/%S/.*'?targets/%S/$kernel_v'?" include/feeds.mk

curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/package/kernel/linux/modules/netsupport.mk -o package/kernel/linux/modules/netsupport.mk

sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += luci-app-turboacc/' target/linux/ipq807x/Makefile

echo '
Expand Down
1 change: 1 addition & 0 deletions devices/rockchip_armv8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Kernel等部分源码来源 https://github.com/coolsnowwolf/lede 感谢
2 changes: 1 addition & 1 deletion devices/x86_64/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ svn co https://github.com/coolsnowwolf/lede/trunk/target/linux/x86/patches-5.15
rm -rf target/linux/x86/patches-5.15/.svn

sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += autocore-x86 lm-sensors-detect kmod-alx kmod-r8125 kmod-vmxnet3 kmod-igbvf kmod-iavf kmod-bnx2x kmod-pcnet32 kmod-tulip kmod-8139cp kmod-8139too kmod-i40e kmod-drm-i915 kmod-mlx4-core kmod-mlx5-core kmod-usb2 kmod-usb3 fdisk lsblk/' target/linux/x86/Makefile
sed -i 's/kmod-igb /kmod-igb kmod-igb-intel/' target/linux/x86/image/64.mk
sed -i 's/kmod-igb /kmod-igb-intel /' target/linux/x86/image/64.mk

mv -f tmp/{r81*,igb-intel} feeds/kiddin9/
sed -i 's,kmod-r8169,kmod-r8168,g' target/linux/x86/image/64.mk
Expand Down

0 comments on commit bd4aaaf

Please sign in to comment.