Skip to content

fix(uboot): honor board timeout in serial interaction stage#88

Merged
ZR233 merged 1 commit intomainfrom
fix-timeout
Apr 15, 2026
Merged

fix(uboot): honor board timeout in serial interaction stage#88
ZR233 merged 1 commit intomainfrom
fix-timeout

Conversation

@ZR233
Copy link
Copy Markdown
Member

@ZR233 ZR233 commented Apr 15, 2026

What changed

This updates board-driven U-Boot timeout handling so .board.toml timeout is propagated into the U-Boot runtime config.

It also keeps the timeout semantics aligned with the existing terminal behavior: the timeout starts when the serial terminal interaction stage begins, not during earlier U-Boot setup, probing, or image staging.

Why

ostool board did not honor the configured timeout because BoardRunConfig was not carrying timeout into UbootConfig.

That meant board runs silently ignored the timeout value even though direct U-Boot config parsing already supported it.

Impact

Users running ostool board can now configure timeout in .board.toml and have it take effect consistently.

The countdown starts from the later serial interaction stage, which matches the existing behavior of the terminal runner.

Validation

  • cargo test -p ostool

@ZR233 ZR233 marked this pull request as ready for review April 15, 2026 06:33
@ZR233 ZR233 merged commit d47986b into main Apr 15, 2026
2 checks passed
@ZR233 ZR233 deleted the fix-timeout branch April 15, 2026 06:35
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.

1 participant