本帖最后由 小或 于 2023-10-3 23:21 编辑
immortalwrt-mt798x基于immortalwrt项目,
https://cmi.hanwckf.top/p/immortalwrt-mt798x/
特点如下
基于immortalwrt 21.02分支,内核版本5.4,目前仅支持mt7981/mt7986 使用mtk-openwrt-feeds提供的有线驱动、hnat驱动、内核补丁及配置工具,支持所有加速特性 mt7981/mt7986均支持两个ppe,每个ppe最大支持32k连接数,默认开启1个ppe 使用mtwifi原厂无线驱动(目前默认使用7.6.6.1无线驱动,并提供7.6.7.0版本的二进制包),默认开启802.11k,支持warp在内的所有加速特性 使用luci-app-mtk作为无线配置界面,支持查看连接的客户端相关信息、支持ApCli中继扫描,不支持原生luci的iwinfo
自行安装需要的软件即可 系统 - 软件包 - 更新列表
带 squashfs 字的 才能恢复到出厂设置
https://likesp.lanzouh.com/b01recmpc
密码:gqfp
编译教程
首先装好 Linux 系统,推荐 Ubuntu LTS
安装编译依赖
sudo apt update -y
sudo apt full-upgrade -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \
libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \
vim wget xmlto xxd zlib1g-dev python3-setuptools
拉取固件源码
git clone https://github.com/hanwckf/immortalwrt-mt798x.git
cd immortalwrt-mt798x
更新并安装feeds
./scripts/feeds update -a
./scripts/feeds install -a
使用defconfig目录内预置的配置文件作为配置模板,并运行make menuconfig进行配置
# 对于mt7981,使用mt7981-ax3000.config
cp -f defconfig/mt7981-ax3000.config .config
make menuconfig
下载 dl 库,编译固件 (-j 后面是线程数,第一次编译推荐用单线程)
make download -j8
运行make V=s开始编译固件,为了加快编译速度,建议使用make V=s -j$(nproc)
|