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

[sival,rstmgr] Adjust rstmgr_alert_info_test #20907

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

matutem
Copy link
Contributor

@matutem matutem commented Jan 20, 2024

A minor cleanup of the test to expect an otp_ctrl error if not
in rom_ext. There is still an unexpected flash_ctrl read error
for cw310 upon entry to test_main, so it is pending from rom_ext.

Add utility to log the bits set in flash_ctrl fault status.

The issue #20589 has an explanation of this test's failures.

@matutem matutem requested a review from a team as a code owner January 20, 2024 07:21
@matutem matutem requested review from moidx and removed request for a team January 20, 2024 07:21
@matutem matutem marked this pull request as draft January 20, 2024 07:21
@matutem matutem force-pushed the rstmgr_alert_info branch 2 times, most recently from 42e9e30 to 9ee5753 Compare January 22, 2024 19:54
@matutem matutem marked this pull request as ready for review January 22, 2024 20:34
}
}

void flash_ctrl_show_faults(const dif_flash_ctrl_state_t *flash_ctrl) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this function! It may be useful to have in flash_ctrl_testutils.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

A minor cleanup of the test to expect an otp_ctrl error if not
in rom_ext. There is still an unexpected flash_ctrl read error
for cw310 upon entry to test_main, so it is pending from rom_ext.

Add utility to log the bits set in flash_ctrl fault status.

The issue lowRISC#20589 has an explanation of this test's failures.

Signed-off-by: Guillermo Maturana <[email protected]>
@matutem matutem merged commit 74022d4 into lowRISC:master Jan 25, 2024
32 checks passed
@matutem matutem deleted the rstmgr_alert_info branch January 25, 2024 23:34
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