Read FRU of host through ipmi in Entity manager.
Vijay Khemka
vijaykhemka at fb.com
Wed Sep 16 05:20:55 AEST 2020
On 9/14/20, 10:29 AM, "Ed Tanous" <ed at tanous.net> wrote:
On Mon, Sep 14, 2020 at 9:57 AM Kumar Thangavel <thangavel.k at hcl.com> 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.
> We understand that entity manager does not support ipmb based host fru.
Minor adjustment. FruDevice has this capability, not Entity Manager.
>
>
>
> 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.
>
> Then, store the host fru info in the bin file to process and creating dbus objects in the entity manager.
Minor amendment again. I'd much rather the IPMBSensor daemon simply
create the same interface that fru device does, rather than adding
IPMB logic to FruDevice. In this way, platforms that don't have IPMB
don't need to include the feature at all. Also, all the IO can be
managed in one place.
https://github.com/openbmc/dbus-sensors/blob/master/src/IpmbSensor.cpp
Ideally, your IPMB device would also have an SDR that details what
FRUs and sensors exist, so that the inventory can be read and posted
to DBus at startup. If they don't then we might need a static mapping
from an EM config once the device on the other end is detected via get
device ID.
I agree with Ed here, all ipmb related interfaces should be implemented here.
>
>
>
> 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