Simple compilation without external packages, similar to the official build please find by link below:
https://drive.google.com/drive/folders/1lsYUxoyvi-zqXln8qlYRa4Y5rIMDfy-P
- Add support for the new spi-nand flash - W25N01KV. This patch is available in SNAPSHOT and is not yet present in the 23.x release.
- Fix work with u-boot variables for the stock u-boot. The new version of the stock u-boot has an updated algorithm for multi-slot switching. In some cases, the router may enter a boot loop after installing OpenWrt. The boot loop bug may only be reproducible with the stock u-boot.
- "kernel: Fix section mismatch in ubi" patch has been moved from the SNAPSHOT to the 23.x branch. https://github.com/openwrt/openwrt/commit/089c25f466dd496d165a02ab026fe55dbb802a8e
- Download OpenWrt source code to the local disk:
wget -t5 --timeout=20 --no-check-certificate -O openwrt-23.05.5.zip https://github.com/openwrt/openwrt/archive/refs/tags/v23.05.5.zip
unzip -q openwrt-23.05.5.zip
rm -f openwrt-23.05.5.zip
- Navigate to the downloaded source directory:
cd openwrt-23.05.5
- Get patch from git:
git clone https://github.com/Ser9ei/xiaomi_ax3000t-openwrt23_patch
- Execute patch:
patch -p1 -N < xiaomi_ax3000t-openwrt23_patch/xiaomi_ax3000t-dts.patch
- fix permissions to the bootcount file (see issue from the SNAPSHOT https://github.com/openwrt/openwrt/commit/cb86e313d3ad6faf894b626bdd311fb106223ddf)
chmod 755 target/linux/mediatek/filogic/base-files/etc/init.d/bootcount
- Check erros
- Copy config file:
cp xiaomi_ax3000t-openwrt23_patch/openwrt.config .config
- Build firmware from the patched sources
see more details by the link: https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem
- Update the feed:
./scripts/feeds update -a
./scripts/feeds install -a
- Configure the firmware image:
make menuconfig
- Build the firmware image:
make -j$(($(nproc)+1)) V=-1