kiddin9 3 년 전
부모
커밋
9e972202c0

+ 10 - 3
README.md

@@ -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
@@ -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)

+ 2 - 0
devices/at91_sama5/diy.sh

@@ -6,6 +6,8 @@ SHELL_FOLDER=$(dirname $(readlink -f "$0"))
 
 sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += autocore-arm luci-app-cpufreq fdisk lsblk btrfs-progs block-mount blkid parted dosfstools e2fsprogs pv losetup uuidgen automount tune2fs resize2fs/' target/linux/at91/Makefile
 
+rm -rf target/linux/at91/base-files/etc/config
+
 echo '
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
 CONFIG_CPU_FREQ_GOV_ONDEMAND=y

+ 20 - 0
devices/ipq40xx_generic/patches/target.patch

@@ -0,0 +1,20 @@
+--- a/target/linux/ipq40xx/image/generic.mk
++++ b/target/linux/ipq40xx/image/generic.mk
+@@ -694,7 +694,7 @@ TARGET_DEVICES += meraki_mr33
+ define Device/mobipromo_cm520-79f
+ 	$(call Device/FitzImage)
+ 	$(call Device/UbiFit)
+-	DEVICE_VENDOR := MobiPromo
++	DEVICE_VENDOR := MobiPromo星际宝盒
+ 	DEVICE_MODEL := CM520-79F
+ 	SOC := qcom-ipq4019
+ 	BLOCKSIZE := 128k
+@@ -834,7 +834,7 @@ TARGET_DEVICES += openmesh_a62
+ define Device/p2w_r619ac
+ 	$(call Device/FitzImage)
+ 	$(call Device/UbiFit)
+-	DEVICE_VENDOR := P&W
++	DEVICE_VENDOR := P&W竞斗云
+ 	DEVICE_MODEL := R619AC
+ 	SOC := qcom-ipq4019
+ 	DEVICE_DTS_CONFIG := config@10

+ 1 - 1
devices/ipq60xx_generic/.config

@@ -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

+ 1 - 0
devices/ipq60xx_generic/README.md

@@ -0,0 +1 @@
+Kernel等部分源码来源 https://github.com/coolsnowwolf/openwrt-gl-ax1800 感谢

+ 13 - 13
devices/ipq60xx_generic/diy.sh

@@ -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

+ 12 - 0
devices/ipq60xx_generic/patches/fix.patch

@@ -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 - 0
devices/ipq807x/.config

@@ -15,4 +15,5 @@ CONFIG_PACKAGE_kmod-qca-mcs=n
 CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=n
 CONFIG_PACKAGE_kmod-qca-nss-ecm=n
 CONFIG_PACKAGE_kmod-qca-nss-crypto=n
+CONFIG_PACKAGE_kmod-switch-ar8xxx=n
 

+ 1 - 0
devices/ipq807x/README.md

@@ -0,0 +1 @@
+Kernel等部分源码来源 https://github.com/Boos4721/openwrt 感谢

+ 19 - 8
devices/ipq807x/diy.sh

@@ -3,28 +3,39 @@ 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/qca package/qat target/linux/generic package/kernel/mac80211
 
-rm -rf package/boot/uboot-envtools package/firmware/ipq-wifi package/firmware/ath11k* package/kernel/mac80211 package/qca package/qat
 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
 
-svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic/pending-5.15 target/linux/generic/pending-5.15
-
-svn co https://github.com/Boos4721/openwrt/trunk/target/linux/ipq807x target/linux/ipq807x
+svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
+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
+function git_sparse_clone() (
+          commitid="$1" rurl="$2" localdir="$3" && shift 3
+          git clone --filter=blob:none --sparse $rurl $localdir
+          cd $localdir
+		  git checkout $commitid
+          git sparse-checkout init --cone
+          git sparse-checkout set $@
+          )
+
+git_sparse_clone 0890af20fadfd30b9e201fc7c279cdcabf2120f1 "https://github.com/Boos4721/openwrt" "boos" target/linux/ipq807x target/linux/generic include package/kernel/mac80211
+cp -rf boos/target/linux/ipq807x target/linux/
+cp -rf boos/target/linux/generic target/linux/
+cp -rf boos/package/kernel/mac80211 package/kernel/
+cp -rf boos/include/kernel-5.15.mk include/kernel-5.15
 
-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
+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
 
 sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += luci-app-turboacc/' target/linux/ipq807x/Makefile
 

+ 1 - 0
devices/rockchip_armv8/README.md

@@ -0,0 +1 @@
+Kernel等部分源码来源 https://github.com/coolsnowwolf/lede 感谢

+ 1 - 1
devices/x86_64/diy.sh

@@ -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