Intel-BMC/mctpd

mctpd discuss

Closed this issue · 10 comments

Compile mctpd miss dependency,this open source depends the third library phosphor-dbus-interfaces,such as:

  1. #include <xyz/openbmc_project/MCTP/Base/server.hpp>
  2. #include <xyz/openbmc_project/MCTP/SupportedMessageTypes/server.hpp>
    But I did't find the corresponding file from phosphor-dbus-interfaces,Where can i get the dependent files?

Am i looking for the right one?Not uploaded to openbmc GitHub?

I want to integrate this to BMC. How should I integrate mctpd to bmc?

They are patches kept in Intel's internal phosphor-dbus-interface recipes. @arun-pm @sumbhat90 Can we opensource these patches?

They are patches kept in Intel's internal phosphor-dbus-interface recipes. @arun-pm @sumbhat90 Can we opensource these patches?

thank your answer,I think it can be open soure and we can discuss research together.

https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces

Please apply the two MCTP related D-Bus interfaces patches on phosphor-dbus-interfaces (0028 and 0032), may be you are missing these patches in your meta layers.

After patching, it can be compiled and passed. Thank u very much.

I tried to start mctpd with pcie by mctp_config.json, such as a busowner or an endpoint, but failed.

What are the prerequisites for debugging using the PCIe configuration file?

IntelBMC is designed to have MCTP endpoint on the BMC's PCIe interface. You can use external Bus Owner (ex: ME) to establish MCTP over PCIe communication.

IntelBMC is designed to have MCTP endpoint on the BMC's PCIe interface. You can use external Bus Owner (ex: ME) to establish MCTP over PCIe communication.

I think mctpd supports device discovery and endpoint communication by README.md.
I have replaced the aspeed-mctp driver of Aspeed, but I don't use driver of Intel. There is little difference between the two.
I want to know why Intel design BMC as an endpoint in MCTP over PCIe VDM, instead of bus owner? It must needs ME support?If so, we need to set the Intel ME parameter to make it to be the bus owner.

I also saw mctpd busctl debugging information as follows:
root@intel-obmc:~# busctl tree xyz.openbmc_project.MCTP_PCIe
-/xyz -/xyz/openbmc_project
-/xyz/openbmc_project/mctp -/xyz/openbmc_project/mctp/device
|-/xyz/openbmc_project/mctp/device/29
|-/xyz/openbmc_project/mctp/device/61
`-/xyz/openbmc_project/mctp/device/8
Can I use Intel branch(libmctp\mctpd\aspeed driver) on Github to complete the above DBus object?

Hi @chenhongbo2022 , please check with our support channel OpenBMC.Support@intel.com for such queries. Thanks!

@chenhongbo2022 Where are you running mctpd on? On host OS, or on BMC? Thanks.

@chenhongbo2022 Where are you running mctpd on? On host OS, or on BMC? Thanks.

BMC.