mirror of
https://github.com/seanhungtw/belkin_rt1800_openwrt.git
synced 2025-12-16 15:01:45 +00:00
Update README.md for correct Readme.md format
This commit is contained in:
parent
c43ec44f73
commit
e44836f14b
75
README.md
75
README.md
@ -1,5 +1,7 @@
|
||||
# belkin_rt1800_openwrt_23052
|
||||
A note for how to build a openwrt 23.05.2 image for RT1800
|
||||
- (C) 2024 Sean.Hung <https://github.com/seanhungtw/belkin_rt1800_openwrt_23052>
|
||||
|
||||
# belkin_rt1800_openwrt
|
||||
A note for how to build a openwrt image for RT1800
|
||||
|
||||
CPU: MT7621
|
||||
|
||||
@ -9,60 +11,54 @@ Refer:
|
||||
|
||||
https://openwrt.org/docs/guide-developer/toolchain/beginners-build-guide
|
||||
|
||||
# Get the code
|
||||
|
||||
#===== you may want to set some git config to avoid git error
|
||||
|
||||
#====git config -l
|
||||
|
||||
#====git config --global http.postBuffer 1048576000
|
||||
|
||||
#====git config --global https.postBuffer 1048576000
|
||||
|
||||
#====git config --global http.lowSpeedLimit 0
|
||||
|
||||
#====git config --global http.lowSpeedTime 999999
|
||||
|
||||
## Get the code
|
||||
```
|
||||
git clone https://git.openwrt.org/openwrt/openwrt.git # or https://github.com/openwrt/openwrt.git
|
||||
|
||||
cd openwrt
|
||||
|
||||
git checkout v23.05.2
|
||||
|
||||
git checkout -b rt1800_23052
|
||||
|
||||
#====update feeds=====
|
||||
|
||||
```
|
||||
### update feeds
|
||||
```
|
||||
./scripts/feeds update -a
|
||||
|
||||
./scripts/feeds install -a
|
||||
|
||||
#====menuconfig=====
|
||||
|
||||
```
|
||||
### menuconfig
|
||||
```
|
||||
make menuconfig
|
||||
|
||||
#Select MediaTek Ralink MIPS => MT7621 based boards => Belkin RT1800
|
||||
|
||||
make defconfig
|
||||
```
|
||||
### build the image
|
||||
```
|
||||
make -j$thread
|
||||
```
|
||||
### Known issues
|
||||
|
||||
#====build the image=====
|
||||
- MTK hardware nat may not working on Linux kernel 5.15.137
|
||||
- The WAN to LAN speed can reach about 890~900 Mbps, but it will cost a lot of CPU power
|
||||
- Some sone have try to porting mtk hnat to 5.10 (but 23.05 is using DSA, so it might have problems)
|
||||
- https://forum.openwrt.org/t/use-mtk-sdk-hwnat-driver-to-replace-hw-flow-offload/128120
|
||||
|
||||
make
|
||||
## Troble shooting
|
||||
|
||||
#====know issues====
|
||||
### git issue
|
||||
|
||||
#MTK hardware nat may not working on Linux kernel 5.15.137
|
||||
you may want to set some git config to avoid git error
|
||||
|
||||
#The WAN to LAN speed can reach about 890~900 Mbps, but it will cost a lot of CPU power
|
||||
```
|
||||
git config -l
|
||||
git config --global http.postBuffer 1048576000
|
||||
git config --global https.postBuffer 1048576000
|
||||
git config --global http.lowSpeedLimit 0
|
||||
git config --global http.lowSpeedTime 999999
|
||||
```
|
||||
|
||||
Some sone have try to porting mtk hnat to 5.10 (but 23.05 is using DSA, so it might have problems)
|
||||
|
||||
https://forum.openwrt.org/t/use-mtk-sdk-hwnat-driver-to-replace-hw-flow-offload/128120
|
||||
|
||||
# compile openwrt in WLS2
|
||||
|
||||
#you need to disable windows PATH: or it will meet build errors
|
||||
### compile openwrt in WLS2
|
||||
|
||||
you need to disable windows PATH: or it will meet build errors
|
||||
```
|
||||
~/openwrt$ cat /etc/wsl.conf
|
||||
|
||||
[interop]
|
||||
@ -70,3 +66,4 @@ https://forum.openwrt.org/t/use-mtk-sdk-hwnat-driver-to-replace-hw-flow-offload/
|
||||
enabled = false
|
||||
|
||||
appendWindowsPath = false
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user