Skip to content

Commit 4ab6436

Browse files
committed
update
1 parent c48e915 commit 4ab6436

File tree

4 files changed

+58
-61
lines changed

4 files changed

+58
-61
lines changed

devices/qualcommax_ipq60xx/.config

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,3 @@ CONFIG_TARGET_qualcommax=y
33
CONFIG_TARGET_qualcommax_ipq60xx=y
44
CONFIG_TARGET_MULTI_PROFILE=y
55
CONFIG_TARGET_ALL_PROFILES=y
6-
7-
CONFIG_PACKAGE_kmod-qca-nss-drv-ipsecmgr=n
8-
CONFIG_PACKAGE_kmod-qca-nss-drv-ovpn-mgr=n
9-
CONFIG_PACKAGE_kmod-qca-nss-drv-ovpn-link=n
10-
CONFIG_PACKAGE_kmod-qca-nss-drv-match=n
11-
CONFIG_PACKAGE_kmod-qca-nss-drv-map-t=n
12-
CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6=n
13-
CONFIG_PACKAGE_kmod-qca-nss-drv-netlink=n

devices/qualcommax_ipq60xx/diy.sh

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,29 @@ shopt -s extglob
44

55
SHELL_FOLDER=$(dirname $(readlink -f "$0"))
66

7-
rm -rf package/boot package/kernel/qca* package/firmware/ipq-wifi target/linux/qualcommax target/linux/generic package/devel/perf
7+
rm -rf package/boot package/firmware/ipq-wifi target/linux/qualcommax target/linux/generic package/kernel package/firmware/ath11k-firmware
88

9-
git_clone_path master https://github.com/coolsnowwolf/lede target/linux/qualcommax target/linux/generic package/boot package/qca package/firmware/ipq-wifi
9+
git_clone_path k6.12-nss https://github.com/LiBwrt/openwrt-6.x target/linux/qualcommax target/linux/generic package/kernel package/boot package/firmware/ipq-wifi package/firmware/ath11k-firmware
1010

11-
wget -N https://github.com/coolsnowwolf/lede/raw/master/include/kernel-6.6 -P include/
11+
wget -N https://github.com/openwrt/openwrt/raw/refs/heads/main/include/kernel-version.mk -P include/
12+
wget -N https://github.com/openwrt/openwrt/raw/refs/heads/main/include/target.mk -P include/
13+
wget -N https://github.com/LiBwrt/openwrt-6.x/raw/refs/heads/k6.12-nss/include/image-commands.mk -P include/
14+
wget -N https://github.com/LiBwrt/openwrt-6.x/raw/refs/heads/k6.12-nss/scripts/tplink-mkimage-2022.py -P scripts/
15+
wget -N https://github.com/LiBwrt/openwrt-6.x/raw/refs/heads/k6.12-nss/config/Config-ipq.in -P config/
16+
wget -N https://github.com/LiBwrt/openwrt-6.x/raw/refs/heads/k6.12-nss/Config.in -P ./
1217

13-
sed -i -e "s/wpad-openssl/wpad-basic-mbedtls/" \
14-
-e "/KERNEL_TESTING_PATCHVER/d" \
15-
-e "s/KERNEL_PATCHVER:=6.12/KERNEL_PATCHVER:=6.6/" \
16-
target/linux/qualcommax/Makefile
18+
sed -i "s/DEFAULT_PACKAGES:=/DEFAULT_PACKAGES:=luci-app-advancedplus luci-app-firewall luci-app-package-manager luci-app-upnp luci-app-syscontrol luci-proto-wireguard \
19+
luci-app-wizard luci-base luci-compat luci-lib-ipkg luci-lib-fs luci-app-log-viewer \
20+
coremark wget-ssl curl autocore htop nano zram-swap kmod-lib-zstd kmod-tcp-bbr bash openssh-sftp-server block-mount resolveip ds-lite swconfig luci-app-fan luci-app-filemanager /" include/target.mk
21+
sed -i "s/procd-ujail//" include/target.mk
1722

18-
sed -i "/ECM_INTERFACE_MAP_T_ENABLE/d" package/qca/qca-nss-ecm/Makefile
23+
chmod +x scripts/tplink-mkimage-2022.py
1924

25+
git clone https://github.com/qosmio/nss-packages.git package/nss-packages
26+
git clone https://github.com/qosmio/sqm-scripts-nss.git package/sqm-scripts-nss
27+
28+
sed -i "/ECM_INTERFACE_RAWIP_ENABLE/d" package/nss-packages/qca-nss-ecm/Makefile
29+
30+
rm -rf package/feeds/kiddin9/{xtables-wgobfs,shortcut-fe} package/devel/perf package/feeds/packages/{ovpn-dco,xr_usb_serial_common,openvswitch,xtables-addons}
31+
32+
sed -i "s/luci uboot-envtools wpad-openssl/luci uboot-envtools wpad-mbedtls/" target/linux/qualcommax/Makefile
Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
1-
--- a/package/kernel/linux/modules/netfilter.mk
2-
+++ b/package/kernel/linux/modules/netfilter.mk
3-
@@ -330,7 +330,7 @@ define KernelPackage/ipt-ipopt
4-
KCONFIG:=$(KCONFIG_IPT_IPOPT)
5-
FILES:=$(foreach mod,$(IPT_IPOPT-m),$(LINUX_DIR)/net/$(mod).ko)
6-
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_IPOPT-m)))
7-
- $(call AddDepends/ipt)
8-
+ $(call AddDepends/ipt,+kmod-nf-conntrack)
9-
endef
10-
11-
define KernelPackage/ipt-ipopt/description
1+
--- a/target/linux/qualcommax/image/ipq60xx.mk
2+
+++ b/target/linux/qualcommax/image/ipq60xx.mk
3+
@@ -312,7 +312,7 @@ define Device/jdcloud_re-ss-01
4+
$(call Device/FitImage)
5+
$(call Device/EmmcImage)
6+
DEVICE_VENDOR := JDCloud
7+
- DEVICE_MODEL := RE-SS-01
8+
+ DEVICE_MODEL := AX1800 Pro
9+
KERNEL_SIZE := 6144k
10+
BLOCKSIZE := 128k
11+
SOC := ipq6000
12+
@@ -326,7 +326,7 @@ define Device/jdcloud_re-cs-02
13+
$(call Device/FitImage)
14+
$(call Device/EmmcImage)
15+
DEVICE_VENDOR := JDCloud
16+
- DEVICE_MODEL := RE-CS-02
17+
+ DEVICE_MODEL := AX6600
18+
KERNEL_SIZE := 6144k
19+
BLOCKSIZE := 128k
20+
SOC := ipq6010
21+
diff --git a/target/linux/qualcommax/patches-6.12/999-fix-netdev-cacheline-size.patch b/target/linux/qualcommax/patches-6.12/999-fix-netdev-cacheline-size.patch
22+
new file mode 100644
23+
index 00000000000000..1481f8844bf45e
24+
--- /dev/null
25+
+++ b/target/linux/qualcommax/patches-6.12/999-fix-netdev-cacheline-size.patch
26+
@@ -0,0 +1,11 @@
27+
+--- a/net/core/dev.c
28+
++++ b/net/core/dev.c
29+
+@@ -12060,7 +12060,7 @@ static void __init net_dev_struct_check(void)
30+
+ #ifdef CONFIG_NET_XGRESS
31+
+ CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, tcx_egress);
32+
+ #endif
33+
+- CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_tx, 160);
34+
++ CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_tx, 192);
35+
+
36+
+ /* TXRX read-mostly hotpath */
37+
+ CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats);

devices/qualcommax_ipq60xx/patches/zn-m2.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)