Optimize README.md

This commit is contained in:
xinshouyong 2023-04-04 07:00:37 -04:00
parent 971089cc8b
commit 0db2682a53

View File

@ -67,7 +67,6 @@ AX1800
| ---------------- | ---------------------- | --------------- |
| 4.1.0 | v4.1.0_ax1800_release6 | no record |
| 4.2.0 | v4.2.0_release3 | v4.2.0_release3 |
| 4.2.1 | v4.2.1_release2 | v4.2.1_release2 |
AXT1800
@ -78,7 +77,6 @@ AXT1800
| 4.0.3 | v4.0.3_release1 | no record |
| 4.1.0 | v4.1.0_axt1800_release7 | no record |
| 4.2.0 | v4.2.0_release3 | v4.2.0_release3 |
| 4.2.1 | v4.2.1_release2 | v4.2.1_release2 |
MT3000
@ -87,7 +85,6 @@ MT3000
| 4.1.2 | v4.1.2_mt3000_release3 | no record |
| 4.1.3 | v4.1.3_mt3000_release3 | v4.1.3 |
| 4.2.0 | v4.2.0_mt3000_release1 | v4.2.0_MT3000_release1 |
| 4.2.1 | v4.2.1_release2 | v4.2.1_release2 |
MT2500
@ -95,12 +92,9 @@ MT2500
| ---------------- | ---------------------- | --------------- |
| 4.1.1 | v4.1.1_mt2500_release2 | no record |
| 4.2.0 | v4.2.0_release3 | v4.2.0_release3 |
| 4.2.1 | v4.2.1_release2 | v4.2.1_release2 |
A1300
| Firmware version | gl-infra-builder tag | glinet4.x tag |
| ---------------- | --------------------- | --------------- |
@ -108,7 +102,6 @@ A1300
| 4.1.0 | v4.1.0_a1300_release8 | no record |
| 4.1.2 | v4.1.2_a1300_release3 | no record |
| 4.2.0 | v4.2.0_release3 | v4.2.0_release3 |
| 4.2.1 | v4.2.1_a1300_release2 | v4.2.1_release2 |
S200
@ -118,16 +111,13 @@ S200
# Example compile firmware
## 1. Compile MT2500 V4.2.1 firmware
## 1. Compile MT2500(2023.03.17)
1.1 Compile MT2500 OpenWrt firmware(No GL.iNet packages)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
git checkout v4.2.1_release2
```
```
python3 setup.py -c configs/config-mt798x-7.6.6.1.yml && cd mt7981
```
```
@ -140,26 +130,29 @@ make V=s -j5
1.2 Compile MT2500 GL.iNet standard firmware
```
git clone https://github.com/gl-inet/glinet4.x.git && cd glinet4.x/
```
```
git checkout v4.2.1_release2 && cd ../
git clone https://github.com/gl-inet/glinet4.x.git
```
```
cp ./glinet4.x/pkg_config/gl_pkg_config_mt2500.mk ./glinet4.x/mt7981/gl_pkg_config.mk
```
```
cp ./glinet4.x/pkg_config/glinet_depends_mt2500.yml ./profiles/glinet_depends.yml
```
```
./scripts/gen_config.py glinet_depends
```
```
make V=s -j5 GL_PKGDIR=`pwd`/glinet4.x/mt7981/
```
## 2. Compile MT3000 V4.2.1 firmware
## 2. Compile MT3000 V4.2.0 firmware(2023.03.21)
2.1 Compile MT3000 OpenWrt firmware(No GL.iNet packages)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
git checkout v4.2.1_mt3000_release1
git checkout v4.2.0_mt3000_release1
```
```
python3 setup.py -c configs/config-mt798x-7.6.6.1.yml && cd mt7981
@ -174,28 +167,27 @@ make V=s -j5
2.2 Compile MT3000 GL.iNet standard firmware(Base on the steps above)
```
git clone https://github.com/gl-inet/glinet4.x.git && cd glinet4.x/
```
```
git checkout v4.2.1_release2 && cd ../
git clone https://github.com/gl-inet/glinet4.x.git
```
```
cp ./glinet4.x/pkg_config/gl_pkg_config_mt3000.mk ./glinet4.x/mt7981/gl_pkg_config.mk
```
```
cp ./glinet4.x/pkg_config/glinet_depends_mt3000.yml ./profiles/glinet_depends.yml
```
```
./scripts/gen_config.py glinet_depends
```
```
make -j5 V=s GL_PKGDIR=`pwd`/glinet4.x/mt7981/
```
## 3. Compile AXT1800 V4.2.1 firmware
## 3. Compile AXT1800(2023.03.17)
3.1 Compile AXT1800 OpenWrt firmware(No GL.iNet packages)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
git checkout v4.2.1_release2
```
```
python3 setup.py -c configs/config-wlan-ap.yml && cd wlan-ap/openwrt
```
```
@ -206,29 +198,27 @@ make V=s -j5
```
3.2 Compile AXT1800 GL.iNet standard firmware(Base on the steps above)
```
git clone https://github.com/gl-inet/glinet4.x.git && cd glinet4.x/
```
```
git checkout v4.2.1_release2 && cd ../
git clone https://github.com/gl-inet/glinet4.x.git
```
```
cp ./glinet4.x/pkg_config/gl_pkg_config_axt1800.mk ./glinet4.x/ipq60xx/gl_pkg_config.mk
```
```
cp ./glinet4.x/pkg_config/glinet_depends_axt1800.yml ./profiles/glinet_depends.yml
```
```
./scripts/gen_config.py glinet_depends
```
```
make V=s -j5 GL_PKGDIR=`pwd`/glinet4.x/ipq60xx/
```
## 4. Compile AX1800 V4.2.1 firmware
## 4. Compile AX1800(2023.03.17)
4.1 Compile AX1800 OpenWrt firmware(No GL.iNet packages)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
git checkout v4.2.1_release2
```
```
python3 setup.py -c configs/config-wlan-ap.yml && cd wlan-ap/openwrt
```
```
@ -239,30 +229,27 @@ make V=s -j5
```
4.2 Compile AX1800 GL.iNet standard firmware
```
git clone https://github.com/gl-inet/glinet4.x.git && cd glinet4.x/
```
```
git checkout v4.2.1_release2 && cd ../
git clone https://github.com/gl-inet/glinet4.x.git
```
```
cp ./glinet4.x/pkg_config/gl_pkg_config_ax1800.mk ./glinet4.x/ipq60xx/gl_pkg_config.mk
```
```
cp ./glinet4.x/pkg_config/glinet_depends_ax1800.yml ./profiles/glinet_depends.yml
```
```
./scripts/gen_config.py glinet_depends
```
```
make V=s -j5 GL_PKGDIR=`pwd`/glinet4.x/ipq60xx/
```
## 5. Compile A1300 V4.2.1 firmware
## 5. Compile A1300(2023.03.17)
5.1 Compile A1300 OpenWrt firmware(No GL.iNet packages)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
git checkout v4.2.1_a1300_release2
```
```
python3 setup.py -c configs/config-21.02.2.yml && cd openwrt-21.02/openwrt-21.02.2
```
```
@ -273,25 +260,26 @@ make V=s -j5
```
5.2 Compile A1300 GL.iNet standard firmware
```
git clone https://github.com/gl-inet/glinet4.x.git && cd glinet4.x/
```
```
git checkout v4.2.1_release2 && cd ../
git clone https://github.com/gl-inet/glinet4.x.git
```
```
cp ./glinet4.x/pkg_config/gl_pkg_config_a1300.mk ./glinet4.x/ipq40xx/gl_pkg_config.mk
```
```
cp ./glinet4.x/pkg_config/glinet_depends_a1300.yml ./profiles/glinet_depends.yml
```
```
./scripts/gen_config.py glinet_depends
```
```
make V=s -j5 GL_PKGDIR=`pwd`/glinet4.x/ipq40xx/
```
## 6. Compile SFT1200(2022.11.23)
```
git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
```
```
python3 setup.py -c config-siflower-18.x.yml && cd openwrt-18.06/siflower/openwrt-18.06
python3 setup.py -c configs/config-siflower-18.x.yml && cd openwrt-18.06/siflower/openwrt-18.06
```
```
./scripts/gen_config.py target_siflower_gl-sft1200 luci