Access Intel ME IPMB from BMC

Anton Kachalov rnouse at google.com
Tue Apr 21 05:12:22 AEST 2020


ipmbbridge works over ipmb-dev:
https://github.com/openbmc/ipmbbridge/blob/master/ipmbbridged.cpp#L548

Seems like the difference between ipmb-dev and ipmb-host is the only way
they act: as an IPMB device (receive requests and sends answers) or as an
initiator (sends requests and receives answers).

Perhaps, the upstreamed ipmb-dev works in either way (technically, the
difference only in send/receive order).

On Mon, 20 Apr 2020 at 20:35, Oskar Senft <osk at google.com> wrote:

> Hi Vijay
>
> Thanks for the pointer!
>
> I also found both https://github.com/Mellanox/ipmb-host and
> https://github.com/openbmc/linux/blob/dev-5.4/drivers/char/ipmi/ipmb_dev_int.c
> .
>
> Is it right that with ipmbbridge I don't need either of them since
> ipmbbridge uses the raw i2c dev?
>
> Thanks
> Oskar.
>
> On Mon, Apr 20, 2020 at 2:12 PM Vijay Khemka <vijaykhemka at fb.com> wrote:
>
>> Hi Oskar,
>>
>> You need to configure your ME channel in ipmb channel config file
>> https://github.com/openbmc/ipmbbridge/blob/master/ipmb-channels.json
>>
>> And make sure ipmbbridge is running. Then you can send get device id
>> command to ME from command line itself to test if everything is working.
>>
>>
>>
>> busctl call xyz.openbmc_project.Ipmi.Channel.Ipmb
>> /xyz/openbmc_project/Ipmi/Channel/Ipmb org.openbmc.Ipmb sendRequest yyyyay
>> 1 6 0 0x1 0
>>
>>
>>
>> Regards
>>
>> -Vijay
>>
>>
>>
>> *From: *openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org> on
>> behalf of Oskar Senft <osk at google.com>
>> *Date: *Saturday, April 18, 2020 at 6:47 PM
>> *To: *OpenBMC Maillist <openbmc at lists.ozlabs.org>
>> *Subject: *Access Intel ME IPMB from BMC
>>
>>
>>
>> Hi everyone
>>
>>
>>
>> I'm trying to find out how I can access the Intel ME via IPMB from the
>> BMC (OpenBMC).
>>
>>
>>
>> From what I gathered, Intel ME's IPMB is on the PCH's SMLink0. I know
>> this is connected to one of the SMBus modules on my AST2500. But what I
>> can't find out is how I actually send commands there? I'm sure I'm missing
>> a document that makes this obvious.
>>
>>
>>
>> Or is it as simple as dropping IPMI packets onto the bus?
>>
>>
>>
>> Is this by any chance already implemented in OpenBMC?
>>
>>
>>
>> Thanks for any hints!
>>
>>
>>
>> Oskar
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200420/623c73d3/attachment-0001.htm>


More information about the openbmc mailing list