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

Failure in probing in-band BMC from host #31

Open
venka66 opened this issue Dec 2, 2022 · 2 comments
Open

Failure in probing in-band BMC from host #31

venka66 opened this issue Dec 2, 2022 · 2 comments

Comments

@venka66
Copy link

venka66 commented Dec 2, 2022

Hi,

I've encountered failure in probing the interfaces via in-band BMC from the host. Are there any pre-requisites that I may be missing before I start the probing?

[:~/culvert]# ./build/src/culvert probe --list-interfaces
[] failed to initialise devmem bridge: -1
[
] Failed to probe SoC revision: -19
[*] Failed to probe SoC, exiting: -19

Is there a support list I can refer to check which SOCs are supported by this utility?

@amboar
Copy link
Owner

amboar commented Jan 17, 2023

Hi, sorry, this issue slipped through the cracks. This looks like a logic bug in the probe subcommand, it currently it requires that we successfully probe the soc before listing the bridge interfaces supported in culvert, which wasn't what I was intending.

@amboar
Copy link
Owner

amboar commented Jan 17, 2023

Ah, no, it's just the intent is poorly documented. I remember now. --list-interfaces is listing the bridges we know the SoC supports, and it varies from SoC-to-SoC. To determine which SoC you have we need to have a functional AHB bridge to read out the SoC revision ID. From the output you've pasted it seems like we can't find a functional AHB bridge, so culvert exits. This is probably a good state to be in from a security standpoint, but doesn't help you with successfully running the command.

I guess that turns the issue into a documentation problem, which also came up in #32

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

2 participants