Files

36 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# v33 完美固件源码包
对应 sysupgrade-v33.binmd5 57d43f1a56c66fafd5c62e8846641232)。
## 包含文件(相对 ImmortalWrt 源码树根)
### package/mtk/ — MTK 闭源驱动层补丁
- `applications/mtwifi-cfg/files/mtwifi-cfg/mtwifi_cfg` — 5G/HE160 双分支写 VHT_Sec80_Channel=155
- `applications/mtwifi-cfg/files/mtwifi.sh` — detect_mtwifi 诚实 UCIidx=1=5g/HE160, idx=2=2g/HE40
- `applications/mtwifi-cfg/files/netifd/mtwifi.sh` — v33 关键补丁:setup 完成后 deferred 后台检测 dat MacAddress 与物理 netdev MAC,重发 wireless_add_vif 上报物理 ifname
- `applications/luci-app-mtk/luasrc/controller/mtkwifi.lua` — 顶部空 index() 禁用 MTK 私有面板
### package/mtk/drivers/wifi-profile/
- `files/mt7981/l1profile.dat` — 主次顺序 b0;b1(出厂值,未改动)
### feeds/luci/
- `modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js` — Overview/Modal SSID 读 iwinfo、reload-block 补丁、freqlist/txpowerlist 改传物理 ifname
### files/ — 烤入 squashfs 的配置与脚本
- `etc/uci-defaults/99-custom-config` — 首启 UCI 默认值(诚实标签 + turboacc tcpcca=bbr
- `etc/wifi-band-verify.sh` — log-only 验证脚本
- `etc/rc.local` — 开机兜底(检测 vxlan0,缺失重触发)
- `etc/hotplug.d/iface/30-mss-clamp` — MSS clamp 持久化
- `etc/hotplug.d/iface/40-wg-track` — WG 隧道状态跟踪
- `etc/sysctl.d/99-bridge-nf.conf` — bridge-nf-call-{ip,ip6,ar}tables=1
- `etc/config/{wireless,firewall,dhcp,turboacc,dropbear,network}` — 7 个核心 UCI 配置全部烤入(**network 已脱敏:private_key 与 preshared_key 替换为占位符,使用前必须重新生成 WG 密钥对**)
### 顶层
- `netifd-wireless.sh``/lib/netifd/netifd-wireless.sh` (wifi-scripts 包)
## 刷入流程
1. 克隆 padavanonly fork 的 ImmortalWrt-Actions 源码树到 build server
2. 用本包覆盖对应路径
3. `make -j4``bin/targets/mediatek/filogic/immortalwrt-mediatek-filogic-cudy_tr3000-v1-ubootmod-squashfs-sysupgrade.bin`
4. FIT 镜像雕刻验证:`OFF=$(grep -abo "hsqs" image.bin | head -1 | cut -d: -f1); dd if=image.bin of=root.sqfs bs=1 skip=$OFF; unsquashfs -d sq root.sqfs`
5. U-Boot TFTP/网页刷入(**绝不用 sysupgrade**