feat: add fast factory stage prompts

This commit is contained in:
chenjintao
2026-09-24 09:48:51 +08:00
parent c615b30e20
commit 339873517e
6 changed files with 18 additions and 5 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
"""Validate and package the three fixed FT1 audio prompts."""
"""Validate and package the fixed FT1 audio prompts."""
from __future__ import annotations
@@ -15,6 +15,8 @@ from pathlib import Path
EXPECTED_FILES = (
"factory_boot_zh.mp3",
"factory_audio_loopback_zh.mp3",
"factory_nfc_test_zh.mp3",
"factory_pass_zh.mp3",
"factory_shutdown_zh.mp3",
)
@@ -165,7 +167,7 @@ def build_package(root: Path, output: Path) -> tuple[Path, Path, dict]:
readme_path.write_text(
"班班 FT1 产测音频包\n\n"
"customer_fs.bin 固定为 262144 字节,用于 EG800AKCN_11LG 的 customer_fs 分区。\n"
"三个 MP3 必须位于 U:/ 根目录;不要将此镜像混入正式业务固件。\n"
"五个 MP3 必须位于 U:/ 根目录;不要将此镜像混入正式业务固件。\n"
"烧录后以 FT1 BOOT_AUDIO 和最终 session_result 作为设备侧验证。\n",
encoding="utf-8-sig",
)