diff options
author | AppaRao Puli <apparao.puli@linux.intel.com> | 2019-12-13 12:16:25 +0300 |
---|---|---|
committer | Puli, Apparao <apparao.puli@intel.com> | 2019-12-21 07:29:04 +0300 |
commit | 04698fc86d2759c05f406c90889ef71bb4f4d5c3 (patch) | |
tree | 90a23cb3221070cd3ecfb2fd37b76e58866416aa /intel-pfr-manager/libpfr/src/pfr.cpp | |
parent | d41ddd78dd631dd2e8774457defa407d9bf03374 (diff) | |
download | provingground-04698fc86d2759c05f406c90889ef71bb4f4d5c3.tar.xz |
Fix: PFR CPLD boot complete checkpoint 9
Sometimes BMC boot complete Checkpoint 9 is not been
set which is causing the BMC WDT trigger running in CPLD.
This commit has a correction in timer thread which is used
for checking BMC boot complete and setting checkpoint.
Also enhanced debug logs for identifing any further issues
in checkpoint.
Tested:
Flashed image on PFR enabled system and it boots fine.
Change-Id: I94c7c716ebcebf533fa5a6c8066a2fb3b96f7646
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Diffstat (limited to 'intel-pfr-manager/libpfr/src/pfr.cpp')
-rw-r--r-- | intel-pfr-manager/libpfr/src/pfr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intel-pfr-manager/libpfr/src/pfr.cpp b/intel-pfr-manager/libpfr/src/pfr.cpp index a5316ba..3b011f6 100644 --- a/intel-pfr-manager/libpfr/src/pfr.cpp +++ b/intel-pfr-manager/libpfr/src/pfr.cpp @@ -253,6 +253,8 @@ int setBMCBootCheckpoint(const uint8_t checkPoint) { I2CFile cpldDev(i2cBusNumber, i2cSlaveAddress, O_RDWR | O_CLOEXEC); cpldDev.i2cWriteByteData(bmcBootCheckpoint, checkPoint); + phosphor::logging::log<phosphor::logging::level::INFO>( + "Successfully set the PFR CPLD checkpoint 9."); return 0; } catch (const std::exception& e) |