Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

patch of OpenWrt 23.x source to build firmware for the Xiaomi AX3000T

Notifications You must be signed in to change notification settings

Ser9ei/xiaomi_ax3000t-openwrt23_patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

OpenWrt firmware build

Simple compilation without external packages, similar to the official build please find by link below:
https://drive.google.com/drive/folders/1lsYUxoyvi-zqXln8qlYRa4Y5rIMDfy-P

What's New?

Warning

AN8855 support not included in current patch!

How to build the firmware yourself

  1. 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

  1. Navigate to the downloaded source directory:

cd openwrt-23.05.5

  1. Get patch from git:

git clone https://github.com/Ser9ei/xiaomi_ax3000t-openwrt23_patch

  1. Execute patch:

patch -p1 -N < xiaomi_ax3000t-openwrt23_patch/xiaomi_ax3000t-dts.patch

  1. 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

  1. Check erros
  2. Copy config file:

cp xiaomi_ax3000t-openwrt23_patch/openwrt.config .config

  1. 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

About

patch of OpenWrt 23.x source to build firmware for the Xiaomi AX3000T

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published