Files
MemRelay/projects/bc51a377-ed2d-4afc-a176-554fce220d45/Checkpoint 2026-11-30 04-41-36 UTC [89445a4e28].md
T
memrelay cbd283b122 create: Checkpoint 2026-11-30 04:41:36 UTC [89445a4e28]
MemRelay-Operation: checkpoint-save:ltedongle-mifipanel-aarch64-20261130
MemRelay-Resource: 3e8fbb5a-2e05-4ffa-ae1a-de2b502fc087
2026-11-30 12:41:41 +08:00

2.1 KiB
Raw Blame History

title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
title type permalink stable_id scope memory_type project_id usage_profile_id status revision request_id created_at updated_at tags
Checkpoint 2026-11-30 04:41:36 UTC [89445a4e28] checkpoint main/projects/bc51a377-ed2d-4afc-a176-554fce220d45/checkpoint-2026-11-30-04-41-36-utc-89445a4e28 3e8fbb5a-2e05-4ffa-ae1a-de2b502fc087 project checkpoint bc51a377-ed2d-4afc-a176-554fce220d45 0c9feb46-d06e-43cd-9ef0-c5813c84a998 active 1 ltedongle-mifipanel-aarch64-20261130 2026-11-30T04:41:36.427399+00:00 2026-11-30T04:41:36.427399+00:00
build
mifipanel
checkpoint

做了什么:按本机 cargo + Zig 0.14.1 交叉编译了当前分支的 MiFiPanel release,并用 package-release.ps1 收进 flasher\panel 和 flasher\dist\panel.zip。

为什么:压缩包里的旧面板是 V0.9,比 a0c20e0 的页面改动旧。后续刷机要装最新面板。编译不走 Docker。

关键实现:工作目录 mifipanel。链接器在 mifipanel/target/zig/zig-x86_64-windows-0.14.1/aarch64-linux-gnu-gcc.exe,ar 是同目录 aarch64-linux-gnu-ar.exe。命令是 cargo build --release --target aarch64-unknown-linux-gnu --offline。这台机器清掉 target 后只有 zig.exe,没有那两个包装;已在该目录放回调用 zig.exe cc/ar 的包装。包装会把 Rust 响应文件里的转义路径还原成正斜杠,丢掉 Zig 0.14.1 不认的 --fix-cortex-a53-843419,并把 -lgcc_s 换成 -lunwind。

验证:cargo 退出码 0,Finished release。产物 9923312 字节,ELF64,e_machine=183(AArch64),时间 2026-11-30 12:40:55。flasher\panel\mifipanel 与产物大小一致。panel.zip 已生成。没有推到板子 093151a4。

问题:链接仍有警告 ignoring deprecated linker optimization setting '1',不影响产物。

下一步:刷机会从 flasher\panel 装这份面板。不要对 093151a4 随便 adb 覆盖。不要用 Docker 编面板。

给下个会话:编译记忆已写入项目经验「编译安装:面板和刷机工具本机直接编,只有镜像走 Docker」。本机链接器是自己放进 zig-x86_64-windows-0.14.1 目录的包装,源码在 mifipanel/target/zig/gcc.rs 和 ar.rs,都被 gitignore。