Porting a device using MCTP over SMBUS

Jeremy Kerr jk at codeconstruct.com.au
Mon Nov 21 13:12:12 AEDT 2022


Hi Gyeongtaek,

> I had a couple of questions on implementing a service that
> communicate with a device using MCTP over SMBUS.
>
> It would be appreciated if anyone give me some clarification.
> 
> In my observation, there is already libmctp package which is an
> implementation of  MCTP.
> However, libmctp doesn't have a binding for SMBUS.

We're moving to an in-kernel MCTP stack, rather than using libmctp in
the OpenBMC system. With the kernel stack, there is a MCTP-over-SMBus
driver available.

I have some background information on the kernel MCTP support here:

  https://codeconstruct.com.au/docs/mctp-on-linux-introduction/

For some background on the OpenBMC-specific uses of the MCTP stack, we
have this:

  https://github.com/openbmc/docs/blob/master/designs/mctp/mctp.md

and, in case you're looking at NVMe-MI support:

  https://codeconstruct.com.au/docs/nvme-mi-with-libnvme/
  https://codeconstruct.com.au/docs/nvme-mi-firmware-update/

Cheers,


Jeremy



More information about the openbmc mailing list