Skip to content

orchestrator: Say start, not arm, outside the watchdogs - #540

Merged
chrysh merged 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:rename-walk-start
Oct 4, 2026
Merged

chrysh merged 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:rename-walk-start

Conversation

@chrysh

@chrysh chrysh commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

BootWatch::arm becomes BootWatch::start, and Phase::Armed in the walk adapter becomes Phase::Started. The trait doc already said "starts a fresh attempt", so the name now matches it. 26 call sites, mechanical.

Arm stays wherever a deadline is involved: the boot and commit watchdogs, services/orchestrator/timer, BootWatchdogs in the server, and the watchdog sections of the design docs.

It also stays in the i2c, i3c, usart and sgpiom drivers. Those are not ours to rename, though for the record the AST1060 datasheet does not use "arm" in the interrupt sense either: it says enable, and the register is int_en.

The rest is prose. The trial-boot record is set pending, which matches set_trial_pending and is_pending on the trait. The SPI write filter is enabled, which is what the register does. The GPIO boot monitor cannot clear the latch.

This touches driver.rs, so #513 will conflict when it rebases. #513 needs a port to the merged free-function shape anyway; this lands on the base first and #513 rebases onto it.

BootWatch::arm becomes BootWatch::start and Phase::Armed becomes
Phase::Started. The trait doc already said "starts a fresh attempt", so
the name now says what the method does.

Arm stays where a deadline is involved: the boot and commit watchdogs,
the timer, and BootWatchdogs in the server. It also stays in the i2c,
i3c, usart and sgpiom drivers, which are not ours.

The rest is prose. The trial-boot record is set pending, matching
set_trial_pending and is_pending on the trait. The SPI write filter is
enabled, which is what the register does. The GPIO boot monitor cannot
clear the latch.

Assisted-by: Claude
@chrysh
chrysh merged commit 79ddd63 into OpenPRoT:ocp-global-demo-wip Oct 4, 2026
5 checks passed
@chrysh
chrysh deleted the rename-walk-start branch October 5, 2026 17:51
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