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

mailbox_flow_done is not triggered after successful Mailbox command status and Mailbox Execute clearing. #678

Open
samathagavva opened this issue Jan 2, 2025 · 0 comments

Comments

@samathagavva
Copy link

Hi,

When loading firmware via Mailbox from SOC, My test waits for ready_for_fw indication, locks Mailbox, Loads CMD, DLEN and DATAOUT, triggers Mailbox execute. It then waits for mailbox successful status to clears the Execute to complete the mailbox flow as mentioned in the integration spec. I do see the flow complete and see the eady_for_runtime bit set as expected. However, during this whole flow, "mailbox_flow_done" bit was never asserted/"mailbox_flow_done" field of CPTRA_FLOW_STATUS csr was never set by Risc-V.

Questions:

  1. There is no clear mention of when to expect the "mailbox_flow_done" bit to be set during the Firmware loading thru mailbox process. Ive looked in the Integration and Hardware spec. Please point me to any documentation if you can.
  2. I do see the mailbox_data_avail and other fields in CPTRA_FLOW_STATUS triggered as expected. Is there any delay or additional steps to trigger the "mailbox_flow_done"? Please let me know.

https://github.com/chipsalliance/caliptra-rtl/blob/main/docs/CaliptraIntegrationSpecification.md#mailbox

Thanks

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

No branches or pull requests

1 participant