summaryrefslogtreecommitdiffstats
path: root/ipmi_fru_info_area.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix FRU BuildDate DBus/IPMI exportingAndres Oportus2018-04-171-4/+25
| | | | | | | | | | | | | | | | When BMC exports the date into DBUS it translates/expands the 3 bytes FRU format date into an easy to read string as in "2015-11-06 - 22:23:00", when exporting the DBUS date back to IPMI it needs to translate back this date into the 3 bytes FRU format, without this fix we get a build date in 1996 that is the epoch for the FRU date format. This change reconstructs the FRU date from the easy to read string for exporting into IPMI. Tested: Manual check that BuildDate from busctl and ipmitool match Resolves openbmc/openbmc#3013 Change-Id: I0fd1dd8f945f18b53c14bff321c9e233fdb2d742 Signed-off-by: Andres Oportus <andresoportus@google.com>
* Fix the typoRatan Gupta2018-02-131-7/+7
| | | | | Change-Id: I5eff36514969ca7e301578f0913b5da250b426c9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* FRU: Change the type code to ASCIIRatan Gupta2018-02-131-2/+15
| | | | | | | | | | | | | | | In board and product area format there is type and length field for each field. 6-7 bit of typelength field specifies the type and first five bits specify the length.a eg:- Board Manufacturer type/length byte followed by actual number of bytes defined in first five bits of type length of Board Manufacturer field. Change-Id: Iaaf608cc93829fb1dd8d0c54a49bd467a7cadbea Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* FRU: Fix the area offset calculation of Read FRU Data responseRatan Gupta2018-02-131-8/+16
| | | | | | | | Common header contains the offset of areas This commit fixes the offset calculation. Change-Id: Iba002d1832063a329df43834d4e30d359ecaf7b0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* construct IPMI FRU Info data based on inventory dataMarri Devender Rao2017-07-251-0/+369
Change-Id: If8ee75b48323d29b568ef807d381a3e5600527d5 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
OpenPOWER on IntegriCloud