All of lore.kernel.org
 help / color / mirror / Atom feed
* IPMI implementation of Get Device ID command
@ 2020-08-14 17:34 TOM JOSEPH
  2020-08-14 21:48 ` Patrick Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: TOM JOSEPH @ 2020-08-14 17:34 UTC (permalink / raw)
  To: OpenBMC Maillist, OpenBMC Maillist, anoo
  Cc: benjaminfair, Mauery, Vernon, Brad Bishop

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

Hello,

We have an implementation of this command 
https://github.com/openbmc/phosphor-host-ipmid/blob/master/apphandler.cpp#L571 
. The current version of the code derives the major and minor firmware 
revision from the VERSION_ID field, and the auxiliary firmware revision 
is picked from dev_id.json. The auxiliary firmware revision is populated 
at build time 
https://github.com/openbmc/openbmc/blob/master/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend.

The implementation of the code is obsolete, as it was based on an 
earlier format. The current format of VERSION_ID for example is, 
2.9.0-dev-609-g56f86d23c. There is already a WIP patch to fix this for 
the master tag format 
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/33893. 
<https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/33893>

IBM tagging format is different from the tag format of master builds. 
One choice is to have the major and minor version added to the 
dev_id.json and if the format of VERSION_ID does not match the master 
tag format,  pick from the json.

How are other companies converting their arbitrary tag formats to IPMI 
firmware revision fields? Does every company maintain their own 
downstream implementation of this command?

Is a common code possible for converting arbitrary tag formats to IPMI 
firmware revision fields?

Regards,
Tom



[-- Attachment #2: Type: text/html, Size: 1920 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-01 16:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14 17:34 IPMI implementation of Get Device ID command TOM JOSEPH
2020-08-14 21:48 ` Patrick Williams
2020-08-14 22:26 ` Benjamin Fair
2020-08-14 23:11 ` Mauery, Vernon
2020-08-24 11:57   ` TOM JOSEPH
2020-08-24 17:31     ` Benjamin Fair
2020-08-24 21:27     ` Patrick Williams
2020-09-01 12:53       ` TOM JOSEPH
2020-09-01 16:27         ` Patrick Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.