增添 S5 支持

This commit is contained in:
riseforever2026
2026-10-03 00:01:12 +08:00
parent d4dff20600
commit 9a80b9de30
338 changed files with 9463 additions and 64 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+67
View File
@@ -0,0 +1,67 @@
==============================================================================
S5eChg 独立总校验(只读 dist/*.face + inputs/*/vela_system.bin)
==============================================================================
目标镜像 vela_system.bin:84429824 字节,charging/ 槽位 61 个
源镜像 vela_system.bin:61 帧
--- A 交付物形态 ---
S5Chg.face 11987588 字节 sha256=83e7ac4d7f83f685b68632a3608ac6739d58e9d33d911d92fa495f4c5bb53882
sha256[:16]=83e7ac4d7f83f685
[OK ] replace 魔数正确
[OK ] replace id == 462150103 b'462150103\x00'
[OK ] replace b5 == 0 b5=0
[OK ] replace 体积 < 20MB
[OK ] replace 占位符已回填
S5ChgRestore.face 11987588 字节 sha256=098cb9570436079d492fe96fe841ae03903431f379feeb22c1230660d780284f
sha256[:16]=098cb9570436079d
[OK ] restore 魔数正确
[OK ] restore id == 462150103 b'462150103\x00'
[OK ] restore b5 == 0 b5=0
[OK ] restore 体积 < 20MB
[OK ] restore 占位符已回填
--- B Lua 表(从 .face 反解)---
[OK ] replace 找到 pay / rb 表
replace:pay 61 条 / rb 61 条
[OK ] replace pay 条数 == 61 61
[OK ] replace rb 条数 == 61 61
[OK ] replace Lua 里的 ROLE == replace
[OK ] restore 找到 pay / rb 表
restore:pay 61 条 / rb 61 条
[OK ] restore pay 条数 == 61 61
[OK ] restore rb 条数 == 61 61
[OK ] restore Lua 里的 ROLE == restore
--- C 等长 + 目标偏移 / D 可解码(480x480,恰好 usize)---
[OK ] replace:61 条长度 == 原厂槽位长度 不符 0 条
[OK ] replace:目标偏移一一对应 chargeN 错位 0 条
[OK ] replace:61 条都解出 480x480 且 RLE 恰好 usize 不符 0 条
[OK ] restore:61 条长度 == 原厂槽位长度 不符 0 条
[OK ] restore:目标偏移一一对应 chargeN 错位 0 条
[OK ] restore:61 条都解出 480x480 且 RLE 恰好 usize 不符 0 条
--- E 帧内容:与 q63 源帧的独立 Lanczos 放大比对 ---
61 帧平均差:mean 0.189 max 0.260(第 17 帧)
[OK ] 每一帧与独立 Lanczos 基准的平均差 < 1.0/255 max=0.260
最像的源帧号与自身不一致的帧:0 个
[OK ] 交付物第 n 帧就是 q63 第 n 帧(最多容忍 2 帧近邻歧义) 0 个不一致
--- F 版本指纹 / 还原字节 ---
[OK ] replace 盘 rb == 原厂前 64 B(对固件镜像比对) 不符 0 条
[OK ] restore 盘 pay == 原厂整条字节(逐字节) 不符 0 条
[OK ] restore 盘 rb == replace 盘 pay 前 64 B(两份交付物互证) 不符 0 条
--- G 整镜像(用 replace 盘负载重建改后镜像)---
[OK ] inode 表逐位不变(2150 条)
[OK ] superblock 逐位不变 size=84429200 cksum=3275251810
[OK ] 分区长度不变
[OK ] 除 61 个槽位外没有任何字节变化 差异 11585280 字节,槽位外 0 字节
[info] 与构建中间产物逐字节一致:True
--- H 预览图(交付物解出来的帧)---
61 帧总览:D:\UserData\Documents\GitHub\o62lte-customising-plan\s5e-charge\docs\decode_preview.png
抽样对照:D:\UserData\Documents\GitHub\o62lte-customising-plan\s5e-charge\docs\face_before_after.png
==============================================================================
RESULT: 全部通过 —— 33 项通过,0 项失败
==============================================================================
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB