Skip to content

fix(ostool): handle timestamped U-Boot output and TFTP startup - #223

Merged
ZCShou merged 1 commit into
feat/ostool-server-auth-postgresfrom
fix/k3-uboot-boot
Nov 19, 2026
Merged

ZCShou merged 1 commit into
feat/ostool-server-auth-postgresfrom
fix/k3-uboot-boot

Conversation

@YanLien

@YanLien YanLien commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Accept timestamped command echoes, replies, and address values. Report TFTP bind failures so the listener can be retried, bound connection shutdown, and check deployed settings without passing the database password in command arguments.

Accept timestamped command echoes, replies, and address values. Report TFTP bind failures so the listener can be retried, bound connection shutdown, and check deployed settings without passing the database password in command arguments.

@mai-team-app mai-team-app Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:通过

本 PR 适配带固件时间戳的 U-Boot 命令回显、完成标记和环境变量值;同时让内置 TFTP 的绑定错误可见并可重试,为服务器连接排空增加 10 秒上限,并在 systemd 配置检查中对比数据库运行设置且避免将数据库密码放入命令参数。

改动影响 uboot-shell 串口命令协议、服务器的 TFTP 与关闭生命周期,以及部署检查;范围集中在这些操作契约。新增测试覆盖时间戳解析和 TFTP 绑定失败/重试。本次未发现仍需阻止合并的问题。此前没有可处理的审查意见,也未发现相关重复 PR。

验证:当前 head 的两个 GitHub Actions check (stable, x86_64-unknown-linux-gnu) 均为成功;其中较早一次成功检查带有两条 target/tests/target 不存在的 failure-level annotations,但检查结论仍为 success。bash -n ostool-server/scripts/deploy.sh 本地通过。当前环境没有 cargo,因此未能运行本地 cargo fmt --check、clippy 或 crate 测试。未进行真实 U-Boot/开发板硬件验证;CI 和本地检查未报告由本 PR 导致的失败。

Powered by gpt-6-luna

@ZCShou
ZCShou merged commit cd97e35 into feat/ostool-server-auth-postgres Nov 19, 2026
2 checks passed
@YanLien
YanLien deleted the fix/k3-uboot-boot branch November 19, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants