belkin_rt1800_openwrt-seanh.../README.md
2024-01-11 13:28:48 +08:00

1.5 KiB

belkin_rt1800_openwrt

A note for how to build a openwrt image for RT1800

CPU: MT7621

Wi-Fi chip: MT7615D (DBDC)

Refer:

https://openwrt.org/docs/guide-developer/toolchain/beginners-build-guide

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

./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 -j$thread

Known issues

Troble shooting

git issue

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

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