IPMI implementation of Get Device ID command
TOM JOSEPH
tomjose at linux.vnet.ibm.com
Tue Sep 1 22:53:36 AEST 2020
Hello Patrick,
For translating IBM firmware revision to IPMI firmware version, the plan
is to continue using VERSION_ID in os-release. This translation is
obsolete
(https://github.com/openbmc/openbmc/blob/master/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend),
but I will update this to handle the major and minor firmware revision.
I will work on pushing a patch for that.
Regards,
Tom
On 25-08-2020 02:57, Patrick Williams wrote:
> On Mon, Aug 24, 2020 at 05:27:55PM +0530, TOM JOSEPH wrote:
>> My proposal is to add major and minor version to the dev_id.json and
>> this can be populated in the meta-xxx layer (something like this
>> https://github.com/openbmc/openbmc/blob/master/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend).
>> If the format of the VERSION_ID does not match the master tag format,
>> then major and minor version will be picked from the dev_id.json. With
>> this approach every company can share the upstream implementation of the
>> command. Thoughts?
> Hi Tom,
>
> Would you be able to work out an example where the git-describe is used
> to create this, similar to what we do with os-release? I think this is
> going to be the typical use case and we had a huge trouble getting
> os-release to be done "correctly" at the beginning. I think having a
> well-tested example to copy from should limit the issues others will
> have in trying to implement their own.
>
More information about the openbmc
mailing list