A note for how to build a openwrt v23.05 image for RT1800 with MAK HNAT
Go to file
Sean.Hung 7cb5ef5e05 [Maintain] add openwrt 22 dts & image.mk for rt1800
Now we can build rt1800 on openwrt22
2024-01-10 16:11:57 +08:00
openwrt22/target/linux/ramips [Maintain] add openwrt 22 dts & image.mk for rt1800 2024-01-10 16:11:57 +08:00
openwrt23 [Maintain] add openwrt23 folder for .confg 2024-01-10 15:57:02 +08:00
LICENSE.txt Add files via upload 2023-12-21 10:08:58 +08:00
README.md Update README.md 2024-01-10 13:50:27 +08:00

belkin_rt1800_openwrt_23052

A note for how to build a openwrt 23.05.2 image for RT1800

CPU: MT7621

Wi-Fi chip: MT7615D (DBDC)

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

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

./scripts/feeds update -a

./scripts/feeds install -a

#====menuconfig=====

make menuconfig

#Select MediaTek Ralink MIPS => MT7621 based boards => Belkin RT1800

make defconfig

#====build the image=====

make

#====know issues====

#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

compile openwrt in WLS2

#you need to disable windows PATH: or it will meet build errors

~/openwrt$ cat /etc/wsl.conf

[interop]

enabled = false

appendWindowsPath = false