Skip to content

Update version checks during DFU update#253

Merged
xorptr merged 1 commit into
google:mainfrom
xorptr:dfu_update_version_check
May 28, 2026
Merged

Update version checks during DFU update#253
xorptr merged 1 commit into
google:mainfrom
xorptr:dfu_update_version_check

Conversation

@xorptr
Copy link
Copy Markdown
Collaborator

@xorptr xorptr commented May 19, 2026

  • Do not fail desired ROM_EXT version checks if the running ROM_EXT will cause ROM_EXT boot slot to not change after update
  • Check that the application security version is allowed by current minimum BL0 security version, and fail early if it isn't
  • Do not fail DFU check if the running ROM_EXT version is not the same as the one in the image being checked in cases where this is expected

@xorptr xorptr requested review from korran and stevenportley May 19, 2026 07:47
Comment thread protocol/opentitan_version.c Outdated
Comment thread protocol/opentitan_version.c Outdated
@xorptr xorptr force-pushed the dfu_update_version_check branch from 7a9b65f to c66504e Compare May 19, 2026 18:14
Comment thread protocol/opentitan_version_test.cc
Comment thread protocol/opentitan_version.c Outdated
Comment thread protocol/opentitan_version.c Outdated
Comment thread protocol/opentitan_version.c Outdated
Comment thread protocol/opentitan_version.h Outdated
Comment thread protocol/opentitan_version_test.cc
@xorptr xorptr force-pushed the dfu_update_version_check branch from c66504e to 848efb2 Compare May 27, 2026 06:58
@xorptr
Copy link
Copy Markdown
Collaborator Author

xorptr commented May 27, 2026

dfu check fails because current logic does not extract security version from firmware update package Fixed now

@xorptr xorptr force-pushed the dfu_update_version_check branch 2 times, most recently from 5d67983 to 2d6fc4d Compare May 27, 2026 16:34
Comment thread examples/htool_dfu.c Outdated
Comment thread protocol/opentitan_version.c Outdated
Comment thread protocol/opentitan_version.c Outdated
@xorptr xorptr force-pushed the dfu_update_version_check branch from 2d6fc4d to c170fb5 Compare May 28, 2026 05:39
- Do not fail desired ROM_EXT version checks if the running ROM_EXT will cause ROM_EXT boot slot to not change after update
- Check that the application security version is allowed by current minimum BL0 security version, and fail early if it isn't
    - Allow use to skip this check during force install
- Do not fail DFU check if the running ROM_EXT version is not the same as the one in the image being checked in cases where this is expected
@xorptr xorptr force-pushed the dfu_update_version_check branch from c170fb5 to c003e56 Compare May 28, 2026 05:40
@xorptr xorptr merged commit 445b0f6 into google:main May 28, 2026
9 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