Skip to content

Commit a9a7477

Browse files
authored
[mgs-updates] Adjust RoT bootloader post-update timeout (#8825)
During the RoT bootloader's post_update stage, we are currently giving [120 seconds](https://github.com/oxidecomputer/omicron/blob/main/nexus/mgs-updates/src/rot_bootloader_updater.rs#L31) to [poll the RoT to retrieve boot_info](https://github.com/oxidecomputer/omicron/blob/main/nexus/mgs-updates/src/rot_bootloader_updater.rs#L191-L203), and then [resetting the device again](https://github.com/oxidecomputer/omicron/blob/main/nexus/mgs-updates/src/rot_bootloader_updater.rs#L252). `post_update_timeout()` should align more closely to that.
1 parent d92c778 commit a9a7477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nexus/mgs-updates/src/driver_update.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ fn post_update_timeout(update: &PendingMgsUpdate) -> Duration {
672672
PendingMgsUpdateDetails::RotBootloader { .. } => {
673673
// Resetting the bootloader requires multiple RoT resets; give this
674674
// a longer timeout.
675-
Duration::from_secs(120)
675+
Duration::from_secs(180)
676676
}
677677
PendingMgsUpdateDetails::HostPhase1(..) => {
678678
// Resetting a sled takes several minutes (mostly DRAM training);

0 commit comments

Comments
 (0)