Skip to content

Commit ff7b3c2

Browse files
authored
Merge branch 'ZqinKing:main' into main
2 parents 1742cb5 + 013177f commit ff7b3c2

20 files changed

+354
-123
lines changed

.github/workflows/build_wrt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
options:
1313
- aliyun_ap8220_immwrt
1414
- cmcc_rax3000m_immwrt
15+
- gemtek_w1701k_immwrt
1516
- jdcloud_ax6000_immwrt
1617
- jdcloud_ipq60xx_immwrt
1718
- jdcloud_ipq60xx_libwrt

.github/workflows/release_wrt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
options:
1313
- aliyun_ap8220_immwrt
1414
- cmcc_rax3000m_immwrt
15+
- gemtek_w1701k_immwrt
1516
- jdcloud_ax6000_immwrt
1617
- jdcloud_ipq60xx_immwrt
1718
- jdcloud_ipq60xx_libwrt

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ xray-client.json
2222
xray-server.json
2323
.clineignore
2424
update.sh.bak
25+
dts/

README.md

Lines changed: 127 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,127 @@
1-
首先安装 Linux 系统,推荐 Ubuntu LTS
2-
3-
安装编译依赖
4-
sudo apt -y update
5-
sudo apt -y full-upgrade
6-
sudo apt install -y dos2unix libfuse-dev
7-
sudo bash -c 'bash <(curl -sL https://build-scripts.immortalwrt.org/init_build_environment.sh)'
8-
9-
使用步骤:
10-
git clone https://github.com/ZqinKing/wrt_release.git
11-
cd wrt_relese
12-
13-
编译京东云雅典娜(02)、亚瑟(01)、太乙(07)、AX5(JDC版):
14-
./build.sh jdcloud_ipq60xx_immwrt
15-
./build.sh jdcloud_ipq60xx_libwrt
16-
17-
编译京东云百里:
18-
./build.sh jdcloud_ax6000_immwrt
19-
20-
编译阿里云AP8220:
21-
./build.sh aliyun_ap8220_immwrt
22-
23-
编译领势MX4200v1、MX4200v2、MX4300:
24-
./build.sh linksys_mx4x00_immwrt
25-
26-
编译奇虎360v6:
27-
./build.sh qihoo_360v6_immwrt
28-
29-
编译红米AX5:
30-
./build.sh redmi_ax5_immwrt
31-
32-
编译红米AX6:
33-
./build.sh redmi_ax6_immwrt
34-
35-
编译红米AX6000:
36-
./build.sh redmi_ax6000_immwrt21
37-
38-
编译CMCC RAX3000M:
39-
./build.sh cmcc_rax3000m_immwrt
40-
41-
编译N1:
42-
./build.sh n1_immwrt
43-
44-
编译X64:
45-
./build.sh x64_immwrt
46-
47-
编译兆能M2:
48-
./build.sh zn_m2_immwrt
49-
./build.sh zn_m2_libwrt
50-
51-
三方插件源自:https://github.com/kenzok8/small-package.git
52-
53-
使用OAF(应用过滤)功能前,需先完成以下操作:
54-
1. 打开系统设置 → 启动项 → 定位到「appfilter」
55-
2. 将「appfilter」当前状态**从已禁用更改为已启用**
56-
3. 完成配置后,点击**启动**按钮激活服务
1+
# 编译指南
2+
3+
## 1. 环境准备
4+
5+
首先安装 Linux 系统,推荐 Ubuntu LTS。
6+
7+
## 2. 安装编译依赖
8+
9+
```bash
10+
sudo apt -y update
11+
sudo apt -y full-upgrade
12+
sudo apt install -y dos2unix libfuse-dev
13+
sudo bash -c 'bash <(curl -sL https://build-scripts.immortalwrt.org/init_build_environment.sh)'
14+
```
15+
16+
## 3. 使用步骤
17+
18+
1. 克隆仓库:
19+
```bash
20+
git clone https://github.com/ZqinKing/wrt_release.git
21+
```
22+
2. 进入目录:
23+
```bash
24+
cd wrt_relese
25+
```
26+
27+
## 4. 编译固件
28+
29+
使用 `./build.sh` 脚本进行编译,支持以下设备:
30+
31+
### 京东云
32+
33+
* **雅典娜(02)、亚瑟(01)、太乙(07)、AX5(JDC版)**:
34+
```bash
35+
./build.sh jdcloud_ipq60xx_immwrt
36+
./build.sh jdcloud_ipq60xx_libwrt
37+
```
38+
* **百里**:
39+
```bash
40+
./build.sh jdcloud_ax6000_immwrt
41+
```
42+
43+
### 阿里云
44+
45+
* **AP8220**:
46+
```bash
47+
./build.sh aliyun_ap8220_immwrt
48+
```
49+
50+
### 领势
51+
52+
* **MX4200v1、MX4200v2、MX4300**:
53+
```bash
54+
./build.sh linksys_mx4x00_immwrt
55+
```
56+
57+
### 奇虎
58+
59+
* **360v6**:
60+
```bash
61+
./build.sh qihoo_360v6_immwrt
62+
```
63+
64+
### 红米
65+
66+
* **AX5**:
67+
```bash
68+
./build.sh redmi_ax5_immwrt
69+
```
70+
* **AX6**:
71+
```bash
72+
./build.sh redmi_ax6_immwrt
73+
```
74+
* **AX6000**:
75+
```bash
76+
./build.sh redmi_ax6000_immwrt21
77+
```
78+
79+
### CMCC (中国移动)
80+
81+
* **RAX3000M**:
82+
```bash
83+
./build.sh cmcc_rax3000m_immwrt
84+
```
85+
86+
### 斐讯
87+
88+
* **N1**:
89+
```bash
90+
./build.sh n1_immwrt
91+
```
92+
93+
### 兆能
94+
95+
* **M2**:
96+
```bash
97+
./build.sh zn_m2_immwrt
98+
./build.sh zn_m2_libwrt
99+
```
100+
101+
### Gemtek
102+
103+
* **W1701K**:
104+
```bash
105+
./build.sh gemtek_w1701k_immwrt
106+
```
107+
108+
### 其他
109+
110+
* **X64**:
111+
```bash
112+
./build.sh x64_immwrt
113+
```
114+
115+
---
116+
117+
## 5. 三方插件
118+
119+
三方插件源自:[https://github.com/kenzok8/small-package.git](https://github.com/kenzok8/small-package.git)
120+
121+
## 6. OAF(应用过滤)功能使用说明
122+
123+
使用 OAF(应用过滤)功能前,需先完成以下操作:
124+
125+
1. 打开系统设置 → 启动项 → 定位到「appfilter」
126+
2. 将「appfilter」当前状态**从已禁用更改为已启用**
127+
3. 完成配置后,点击**启动**按钮激活服务
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
REPO_URL=https://github.com/ZqinKing/immortalwrt.git
2+
REPO_BRANCH=airoha
3+
BUILD_DIR=airoha-wrt

deconfig/aliyun_ap8220_immwrt.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ CONFIG_PACKAGE_qrencode=y
5454
CONFIG_PACKAGE_smartmontools-drivedb=y
5555
CONFIG_PACKAGE_usbutils=y
5656
CONFIG_PACKAGE_mii-tool=y
57+
CONFIG_PACKAGE_xl2tpd=y
5758
CONFIG_PACKAGE_default-settings=y
5859
CONFIG_PACKAGE_default-settings-chn=y
5960
# Coremark
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# TARGET config
2+
CONFIG_TARGET_airoha=y
3+
CONFIG_TARGET_airoha_an7581=y
4+
CONFIG_TARGET_airoha_an7581_DEVICE_gemtek_w1701k=y
5+
6+
# Compile
7+
CONFIG_USE_APK=n
8+
CONFIG_DEVEL=y
9+
CONFIG_CCACHE=y
10+
11+
# BUSYBOX
12+
CONFIG_BUSYBOX_CUSTOM=y
13+
CONFIG_BUSYBOX_CONFIG_TELNET=y
14+
15+
# Proto
16+
CONFIG_PACKAGE_proto-bonding=y
17+
CONFIG_PACKAGE_luci-proto-wireguard=y
18+
CONFIG_PACKAGE_luci-proto-relay=y
19+
20+
# Kernel modules
21+
CONFIG_PACKAGE_kmod-netlink-diag=y
22+
CONFIG_PACKAGE_kmod-inet-diag=y
23+
CONFIG_PACKAGE_kmod-tls=y
24+
CONFIG_PACKAGE_kmod-tun=y
25+
CONFIG_PACKAGE_kmod-ipt-fullconenat=y
26+
CONFIG_PACKAGE_kmod-nft-fullcone=y
27+
CONFIG_PACKAGE_ip6tables-mod-fullconenat=y
28+
CONFIG_PACKAGE_iptables-mod-fullconenat=y
29+
30+
# Libraries
31+
CONFIG_PACKAGE_luci-lib-ipkg=y
32+
CONFIG_PACKAGE_libopenssl-legacy=y
33+
34+
# Package
35+
CONFIG_PACKAGE_easytier=y
36+
CONFIG_PACKAGE_htop=y
37+
CONFIG_PACKAGE_fuse-utils=y
38+
CONFIG_PACKAGE_openssh-sftp-server=y
39+
CONFIG_PACKAGE_tcpdump=y
40+
CONFIG_PACKAGE_openssl-util=y
41+
CONFIG_PACKAGE_qrencode=y
42+
CONFIG_PACKAGE_mii-tool=y
43+
CONFIG_PACKAGE_pciutils=y
44+
CONFIG_PACKAGE_xl2tpd=y
45+
CONFIG_PACKAGE_default-settings=y
46+
CONFIG_PACKAGE_default-settings-chn=y
47+
# Coremark
48+
CONFIG_PACKAGE_coremark=y
49+
CONFIG_COREMARK_OPTIMIZE_O3=y
50+
CONFIG_COREMARK_ENABLE_MULTITHREADING=y
51+
CONFIG_COREMARK_NUMBER_OF_THREADS=6
52+
# iptables nft
53+
CONFIG_PACKAGE_iptables-nft=y
54+
CONFIG_PACKAGE_ip6tables-nft=y
55+
# mwan3 dependencies
56+
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
57+
58+
# Enable Luci App
59+
CONFIG_PACKAGE_luci-app-adguardhome=y
60+
CONFIG_PACKAGE_luci-app-adguardhome_INCLUDE_binary=n
61+
CONFIG_PACKAGE_luci-app-autoreboot=y
62+
CONFIG_PACKAGE_luci-app-easytier=y
63+
CONFIG_PACKAGE_luci-app-istorex=y
64+
CONFIG_PACKAGE_luci-app-lucky=y
65+
CONFIG_PACKAGE_luci-app-mosdns=y
66+
CONFIG_PACKAGE_luci-app-oaf=y
67+
CONFIG_PACKAGE_luci-app-smartdns=y
68+
CONFIG_PACKAGE_luci-app-ttyd=y
69+
CONFIG_PACKAGE_luci-app-upnp=y
70+
CONFIG_PACKAGE_luci-app-vlmcsd=y
71+
CONFIG_PACKAGE_luci-app-wol=y

deconfig/jdcloud_ipq60xx_immwrt.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ CONFIG_PACKAGE_smartmontools-drivedb=y
8686
CONFIG_PACKAGE_usbutils=y
8787
CONFIG_PACKAGE_usbmuxd=y
8888
CONFIG_PACKAGE_mii-tool=y
89+
CONFIG_PACKAGE_xl2tpd=y
8990
CONFIG_PACKAGE_default-settings=y
9091
CONFIG_PACKAGE_default-settings-chn=y
9192
# Coremark

deconfig/jdcloud_ipq60xx_libwrt.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ CONFIG_PACKAGE_smartmontools-drivedb=y
9494
CONFIG_PACKAGE_usbutils=y
9595
CONFIG_PACKAGE_usbmuxd=y
9696
CONFIG_PACKAGE_mii-tool=y
97+
CONFIG_PACKAGE_xl2tpd=y
9798
CONFIG_PACKAGE_default-settings=y
9899
CONFIG_PACKAGE_default-settings-chn=y
99100
# Coremark

deconfig/linksys_mx4x00_immwrt.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ CONFIG_PACKAGE_smartmontools-drivedb=y
6666
CONFIG_PACKAGE_usbutils=y
6767
CONFIG_PACKAGE_usbmuxd=y
6868
CONFIG_PACKAGE_mii-tool=y
69+
CONFIG_PACKAGE_xl2tpd=y
6970
CONFIG_PACKAGE_default-settings=y
7071
CONFIG_PACKAGE_default-settings-chn=y
7172
# Coremark

0 commit comments

Comments
 (0)