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

Consult XRT for power on startup sequence logic #7720

Open
crizy opened this issue Sep 25, 2023 · 2 comments
Open

Consult XRT for power on startup sequence logic #7720

crizy opened this issue Sep 25, 2023 · 2 comments
Assignees

Comments

@crizy
Copy link

crizy commented Sep 25, 2023

I have looked at the source code of the xrt driver, and its power-up sequence is roughly as follows:
(1)mgmtpf/userpf initialization, create/probe sub device separately
when userpf‘s all sub device are successfully probe and initialize,userpf launch the mailbox server
when mgmtpf's all sub device are successfully probe and initialize(Including downloading boot firmware and Load
microblaze),launch the mailbox server,send mgmtpf online notification mailbox request 12 to usertpf
(2) after usertpf received mgmt driver online,userpf send mailbox request 12 with XCL_SUBDEV(6) sub request
(3) after mgmg received XCL_SUBDEV(6) sub request,mgmtpf reply response
(4) after usertpf received response, userpf call xocl_mb_connect(xdev),userpf get xocl_mb_connect status

But how did the other processes start afterwards ? for example, XCL_SENSOR/XCL_ICAP sub request

@crizy
Copy link
Author

crizy commented Sep 26, 2023

I checked the code related to the XCL_ICAP sub request, and it seems to be a loopback between icap and mgmt?icap sends XCL_ICAP sub request, and the mgmt calls the icap to send XCL_ICAP sub request after receiving XCL_ICAP sub request?

@uday610
Copy link
Collaborator

uday610 commented Oct 5, 2023

@houlz0507

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

3 participants