Read FRU of host through ipmi in Entity manager.
James Feist
james.feist at linux.intel.com
Tue Sep 15 03:28:05 AEST 2020
On 9/14/2020 9:55 AM, Kumar Thangavel wrote:
> Classification: *HCL Internal*
>
> Hi All,
>
> We are working on the Platform which has multi host and the
> host are FRUs. The host and BMC communication is based on IPMB. We have
> each host is connected in separate ipmb bus.
>
> Existing Entity manager has the FRU read info from EEPROM
> (I2C)in the form of bin file.
Small correction here, FruDevice reads the fru from the eeprom, EM just
reacts to the d-bus objects.
> We understand that entity manager does not support ipmb based
> host fru.
>
> So, we are proposing the design to support ipmb based FRU in
> entity manager.
> From Entity manager, we will send the generic "read host fru"
> command request to ipmbbrige to read the host FRU.
That would be directly out of scope for entity-manager
https://github.com/openbmc/entity-manager#explicitly-out-of-scope
"Entity manager shall not directly participate in the detection of
devices". It would be better to either 1. Create a new daemon that can
parse the frus over ipmb, and have entity-manager probe that. Or 2.
Update Fru-Device to be able to probe over ipmb.
>
> Then, store the host fru info in the bin file to process and
> creating dbus objects in the entity manager.
Why is this? If you're going this route, Fru Device already has the
ability to read the baseboard FRU from the file system, it would not be
hard to have some daemon place the frus in some location that FruDevice
could then process them.
>
> Please let us know your comments on this.
>
> Thanks,
>
> Kumar.
>
> ::DISCLAIMER::
> ------------------------------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. E-mail transmission is not
> guaranteed to be secure or error-free as information could be
> intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
> may contain viruses in transmission. The e mail and its contents (with
> or without referred errors) shall therefore not attach any liability on
> the originator or HCL or its affiliates. Views or opinions, if any,
> presented in this email are solely those of the author and may not
> necessarily reflect the views or opinions of HCL or its affiliates. Any
> form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of HCL is strictly
> prohibited. If you have received this email in error please delete it
> and notify the sender immediately. Before opening any email and/or
> attachments, please check them for viruses and other defects.
> ------------------------------------------------------------------------
More information about the openbmc
mailing list