Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentitantool: option for parsing BFV codes #25816

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

vbendeb
Copy link

@vbendeb vbendeb commented Jan 8, 2025

Given the hex value reported in the BFV: xxxxxxxx entry of the crash log, print the symbolic name of the error.

Usage example:

bazel run //sw/host/opentitantool:opentitantool -- --rcfile-= bfv 50540d 0c4f5705 123
...
0050540d: kErrorPersoTlvInternal
0c4f5705: kErrorOwnershipKeyNotFound
00000123: unknown error code

Signed-off-by: Vadim Bendebury vbendeb@chromium.org
(cherry picked from commit ee783ac)

Given the hex value reported in the `BFV: xxxxxxxx` entry of the crash
log, print the symbolic name of the error.

Usage example:

  > bazel run //sw/host/opentitantool:opentitantool -- --rcfile-= bfv 50540d 0c4f5705 123
  ...
  0050540d: kErrorPersoTlvInternal
  0c4f5705: kErrorOwnershipKeyNotFound
  00000123: unknown error code

Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
(cherry picked from commit ee783ac)
@vbendeb vbendeb requested review from a team as code owners January 8, 2025 17:46
@vbendeb vbendeb requested review from timothytrippel and removed request for a team January 8, 2025 17:46
@timothytrippel timothytrippel merged commit 685f4bd into lowRISC:earlgrey_1.0.0 Jan 9, 2025
32 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.

2 participants