Repository navigation
Conversation
amit-kumarh
approved these changes
Dec 1, 2026
Contributor
|
perhaps rename PR to include the caliptra-sw bump as well? |
cdb40e98 is the head of caliptra-mcu-sw's main-2.1 branch. 757b7445 is the caliptra-sw commit that it lists for hardware revision 2.1 in core/versions.toml. uprev reads the pin from that file when caliptra-mcu-sw's Cargo.lock has no caliptra-sw git source. caliptra-mcu-sw now keeps caliptra-sw as a submodule and selects the hardware revision in each crate's build script, with 2.2 as the default. The Caliptra crates are built for 2.1. Targets built from @caliptra_mcu_sw sources do not run the build script and get its cfg flags from caliptra_build.bzl. The crate_universe crates that have the build script get CALIPTRA_HW_REV. A [patch] section keeps one copy of each caliptra-sw crate, and uprev verify fails if a lockfile has two. The FMC and runtime link script puts the _fw_entry trampoline at the load address, which the image generator now requires. The OTP memory map moves to the caliptra-ss commit that caliptra-sw uses. hw_model_no_builder.patch is dropped because caliptra-mcu-builder is behind a cargo feature upstream. Assisted-by: Claude:claude-fable-5-2
swenson
force-pushed
the
claude/caliptra-pins-upgrade-dbcc38
branch
from
December 1, 2026 01:07
4b1113b to
f75beb6
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves
caliptra_mcu_swfromrt-sdk-2.1.1to themain-2.1head (cdb40e98).caliptra_swmoves fromfw-2.1.3to757b7445, the commit that caliptra-mcu-sw lists for hardware revision 2.1 incore/versions.toml.uprev.pyreads the pin from that file when caliptra-mcu-sw'sCargo.lockhas no caliptra-sw git source. The VCK190 bitstream is unchanged.caliptra-mcu-sw now keeps caliptra-sw as the
core/caliptra-swsubmodule and selects the hardware revision in each crate'sbuild.rs, with 2.2 as the default. The Caliptra crates are built for 2.1. Targets built from@caliptra_mcu_swsources do not run the build script and get its cfg flags fromCALIPTRA_HW_REV_RUSTC_FLAGSincaliptra_build.bzl. The crate_universe crates that have the build script getCALIPTRA_HW_REVthroughbuild_script_env. A[patch]section incrates_io/embedded/Cargo.tomlkeeps one copy of each caliptra-sw crate, anduprev -- verifyfails if a lockfile has two.link.xputs the_fw_entrytrampoline at the load address, which the image generator now requires.@caliptra_ss_otp_ctrl_mmapmoves to the caliptra-ss commit that caliptra-sw uses; the file is the same as at the caliptra-ss commit that the bitstream uses.hw_model_no_builder.patchis dropped becausecaliptra-mcu-builderis behind a cargo feature upstream.Testing
//target/veer/...tests pass.--config=fpgatests pass.ci_testspass../pw presubmitpasses.