Read Firmware Versions

Jayashree D jayashree-d at hcl.com
Tue Sep 22 23:34:50 AEST 2020


Classification: HCL Internal

Thanks Patrick for your response.

In phosphor-bmc-code-mgmt, I am seeing the software image is upgraded and based on the image update, version is updated.
But in my platform, I have to read firmware versions using oem commands and that version should be displayed under dbus objects.
Whether phosphor-bmc-code-mgmt repo will be suitable to display the firmware version using dbus objects?

Regards,
Jayashree

-----Original Message-----
From: Patrick Williams <patrick at stwcx.xyz>
Sent: Monday, September 21, 2020 8:54 PM
To: Jayashree D <jayashree-d at hcl.com>
Cc: openbmc at lists.ozlabs.org; Velumani T-ERS,HCLTech <velumanit at hcl.com>
Subject: Re: Read Firmware Versions

On Mon, Sep 21, 2020 at 02:12:55PM +0000, Jayashree D wrote:
> We are working on a platform which has multi host and each host have firmware versions such as CPLD, ME, BIOS, Bridge IC and VR.
> We have to display it in dbus objects.
> Can you please provide your comments on which dbus objects it will be suitable to store all firmware versions.
>
> Also in phosphor-dbus-interfaces, I am seeing "System.interface.yaml" in /xyz/openbmc_project/Inventory/Item/.
> Whether it will be suitable to store all the firmware versions (/xyz/openbmc_project/Inventory/Item/System/HostN).

All software versions should be modelled per [1].  The sub-section [2] tells how to associate an inventory object to a software version (to show which BIOS version a specific host card is running for example).

I don't think 'Inventory.Item.System' is intended to represent a single host in a multi-host system; 'System' would represent the entire chassis.  You may want to use 'Chassis' or 'Board' to model a sub-assembly.


1. https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Software
2. https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Software#find-all-software-versions-on-a-managed-element

--
Patrick Williams
::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