commit | 27a62ecab8ff322da41f53a1ffd0b2ca60eed7a9 | [log] [tgz] |
---|---|---|
author | JeffLin <JeffLin2@quantatw.com> | Wed Nov 24 15:40:33 2021 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Mar 08 00:21:41 2022 +0000 |
tree | a084de3015f0f1477ec1b55a6e5593d1a05f920e | |
parent | 071d00c5eb9e1f6d180b7b88d9db2a88b49ff852 [diff] |
Fix firmware revision is always 0.00 Sometimes ipmid will show "Could not found an BMC software Object" in journal and the firmware revision in command "ipmitool mc info" show 0.00 until BMC reboot or restart phosphor-ipmi-host. Root cause is that the firmware revision will only try to get version one time. The issue happend when xyz.openbmc_project.Software.BMC.Updater.service get started after the service phosphor-ipmi-host.service had been started. And the command "ipmitool mc info" is called before xyz.openbmc_project.Software.BMC.Updater.service get started. Tested: Test the result of xyz.openbmc_project.Software.BMC.Updater.service get started after phosphor-ipmi-host.service: $ ipmitool mc info | grep 'Firmware Revision' Firmware Revision : 2.09 $ systemctl stop xyz.openbmc_project.Software.BMC.Updater.service $ systemctl restart phosphor-ipmi-host $ ipmitool mc info | grep 'Firmware Revision' Firmware Revision : 0.00 $ systemctl start xyz.openbmc_project.Software.BMC.Updater.service $ ipmitool mc info | grep 'Firmware Revision' Firmware Revision : 2.09 Signed-off-by: JeffLin <JeffLin2@quantatw.com> Change-Id: Icd82d114d74a8f5cc778886d8392527a8c71907b
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.