Skip to content

Add release history tables and ci-tools/release/release_info.py#3626

Merged
swenson merged 1 commit into
chipsalliance:mainfrom
swenson:release-table
Apr 21, 2026
Merged

Add release history tables and ci-tools/release/release_info.py#3626
swenson merged 1 commit into
chipsalliance:mainfrom
swenson:release-table

Conversation

@swenson
Copy link
Copy Markdown
Collaborator

@swenson swenson commented Apr 16, 2026

Add tables to README.md listing every official ROM and FMC+Runtime firmware release with version, git commit, SVN, and hashes:

  • ROM rows include the SHA256 embedded in the RomInfo struct and the SHA384 over the full ROM binary, for both the no-log and with-log variants.
  • FW rows include the FMC and Runtime SHA384 digests extracted from the firmware image manifest's TOC entries (not hashes of the bundle file itself).

Add ci-tools/release/release_info.py to (re)generate these tables. The script downloads pre-built release assets from GitHub, parses the 1.x and 2.x firmware manifest formats, and verifies each ROM's embedded SHA256 by recomputing it with the builder's word-reversed hashing convention. Releases without pre-built binaries (rom-1.0.3) can be built from source via --build, which checks out a git worktree at the tag and invokes caliptra-builder.

Comment thread ci-tools/release/release_info.py Outdated
Comment thread xtask/src/main.rs Outdated
Comment thread xtask/src/release_info.rs Outdated
clundin25
clundin25 previously approved these changes Apr 17, 2026
Adds Release history section to README.md with tables listing every
ROM and FMC+Runtime firmware release, including versions, SHA256 and
SHA384 hashes, git commit links, release links, and SVN values.

For ROM releases, SHA256 is the digest embedded inside the ROM binary
and is verified by recomputation; SHA384 covers the entire raw ROM
binary. Both no-log and with-log ROM variants are included. For FW
releases, SHA384 values come from the FMC/Runtime TOC entries inside
the firmware image manifest (not the bundle hash).

Adds a new `cargo xtask release info` subcommand that regenerates
the tables by downloading release artifacts via `gh` and parsing
the firmware manifest. It can also build releases without pre-built
artifacts (e.g. rom-1.0.3) via `--build`, producing the matching
git-revision-embedded ROM.
Copy link
Copy Markdown
Collaborator

@clundin25 clundin25 left a comment

Choose a reason for hiding this comment

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

Awesome!

@swenson
Copy link
Copy Markdown
Collaborator Author

swenson commented Apr 21, 2026

Thanks!

@swenson swenson added this pull request to the merge queue Apr 21, 2026
Merged via the queue into chipsalliance:main with commit 119684c Apr 21, 2026
25 checks passed
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.

3 participants