oxidecomputer / oxidecomputer/omicron

Reject MGS driven update for bootloader when using known un-updateable device

Open
#8,457 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

Once the RoT bootloader pre-checks and post-update actions for MGS driven updates have been implemented in https://github.com/oxidecomputer/omicron/pull/8325, we'll want to add additional pre-checks.

There are known bootloader FWIDs that don't have cabooses and older versions of the SP have a bug that prevents setting the active slot for the RoT bootloader. We want to have a precheck that rejects any update that matches those bootloader FWIDs or SP versions. While none of our production racks will have any of those devices, this will help dev experience if anyone is attempting to update using an old device.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the MGS-driven update pre-check and post-update work in pull request 8325, then inspect the bootloader FWID and SP-version handling in wicketd/src/update_tracker.rs around lines 1705-1710 and 1817-1841. Done means updates matching the known bootloader FWIDs or affected SP versions are rejected before proceeding.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.