<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ipmi-fru-parser, branch master</title>
<subtitle>OpenBMC IPMI FRU parser sources</subtitle>
<id>https://git.raptorcs.com/git/ipmi-fru-parser/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/ipmi-fru-parser/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/'/>
<updated>2019-03-28T18:05:58+00:00</updated>
<entry>
<title>build: install into bin instead of sbin</title>
<updated>2019-03-28T18:05:58+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-28T18:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=7d740a670b4a81ba8f25864eb226af681d0be0b1'/>
<id>urn:sha1:7d740a670b4a81ba8f25864eb226af681d0be0b1</id>
<content type='text'>
Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Ifbf3b709c08bbd892060291530a906e88430f5be
</content>
</entry>
<entry>
<title>transition to cli11 instead of custom arg parser</title>
<updated>2019-03-28T18:05:25+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-26T18:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=d847f50827e6818ba257a119b4595355873bf34b'/>
<id>urn:sha1:d847f50827e6818ba257a119b4595355873bf34b</id>
<content type='text'>
Transition to use cli11 for argument parsing instead of a custom
argument parser.

Tested: Not tested on hardware.
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I9c516c8c2d76e35c6c31592f96e8f281e9d47ad6
</content>
</entry>
<entry>
<title>add autom4te.cache/ to .gitignore</title>
<updated>2019-03-28T18:05:11+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-26T18:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=349a33c1b859636fea78fb746c1984454cdc4cee'/>
<id>urn:sha1:349a33c1b859636fea78fb746c1984454cdc4cee</id>
<content type='text'>
Add missing "autom4te.cache/" to .gitignore file.

Tested: Not tested on hardware.
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Ie06d1b22bb2a74e2f6e2901d213fffa0cacac2c4
</content>
</entry>
<entry>
<title>Convert host-ipmid -&gt; libipmid</title>
<updated>2019-02-19T21:12:11+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-02-12T20:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=8ab5784aeee7065c7f8a843c08291f3fc55a8199'/>
<id>urn:sha1:8ab5784aeee7065c7f8a843c08291f3fc55a8199</id>
<content type='text'>
phosphor-host-ipmid now exposes a library along with headers for
interfacing with the ipmi daemon. Compile and link against the new
library.

Change-Id: Ib222df1605afe277457f34eb69a3d65c663325b7
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>build: pkg anti-pattern: use defaults</title>
<updated>2019-02-13T23:04:38+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-02-13T23:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=06fb28bcecb1f1f209bba5ba102e4d88742d0905'/>
<id>urn:sha1:06fb28bcecb1f1f209bba5ba102e4d88742d0905</id>
<content type='text'>
Use the defaults in the pkg check where the default error message is
sufficient to identify which package is missing.

Change-Id: Iccc91bcdd4ad57980a4731184b448936c1968f85
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>readeeprom: Allow FRU ID 0 to be selected</title>
<updated>2019-02-11T18:22:28+00:00</updated>
<author>
<name>Oskar Senft</name>
<email>osk@google.com</email>
</author>
<published>2018-12-04T18:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=8f51109d8ecd3a396e935a9705b452fdb11cc614'/>
<id>urn:sha1:8f51109d8ecd3a396e935a9705b452fdb11cc614</id>
<content type='text'>
We incorrectly checked that FRU ID != 0, which is the default FRU ID.
Actually, the IPMI spec specifies FRU ID 0xff as reserved, so the check
was changed to prevent that ID from being used instead.

Split out fruid parsing code to its own function to cover various edge
and failure cases.

Tested:
Ran 'phosphor-read-eeprom --eeprom fru.bin --fruid=0' and checked that
values are reported to inventory as expected.
Ran with '--fruid=ff' ('invalid' FRU ID): rejected
Ran with '--fruid=xx' (non-HEX FRU ID): rejected
Ran with '--fruid=100' (out-of-range FRU ID): rejected
Ran with '--fruid="0 0"' (invalid number): rejected
Ran with '--fruid=10.0' (non-integer): rejected
Ran with '--fruid=0x12' (valid HEX FRU ID): accepted
Ran with '--fruid=fe' (valid HEX FRU ID): accepted

Change-Id: Ic1fb79cefc6931f21d0b5cb4363ad5fd44f47c92
Signed-off-by: Oskar Senft &lt;osk@google.com&gt;
</content>
</entry>
<entry>
<title>writefrudata: Fix verifyFruData to skip CRC check for internal use area.</title>
<updated>2019-01-08T15:49:55+00:00</updated>
<author>
<name>Oskar Senft</name>
<email>osk@google.com</email>
</author>
<published>2018-12-04T20:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=695408618ed50ba886080b898aa77b980589ee4c'/>
<id>urn:sha1:695408618ed50ba886080b898aa77b980589ee4c</id>
<content type='text'>
The contents of the internal use area are not defined beyond the first
byte, which means that we should not expect its last byte to be a CRC
for the area.

Change-Id: I15aba7f48e13f8a93c5a6b7e3262d9227da5dad7
Signed-off-by: Oskar Senft &lt;osk@google.com&gt;
</content>
</entry>
<entry>
<title>frup: gcc8: swap abusive use strncpy w/ memcpy</title>
<updated>2018-11-21T21:04:13+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2018-11-21T21:04:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=ec73c95892cbbabe9da556e1f68db70a7ff3d46a'/>
<id>urn:sha1:ec73c95892cbbabe9da556e1f68db70a7ff3d46a</id>
<content type='text'>
Fix the following warning under gcc8:

| ../git/frup.cpp: In function 'void _append_to_dict(uint8_t, uint8_t*, IPMIFruInfo&amp;)':
| ../git/frup.cpp:664:24: error: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 2 bytes from a string of the same length [-Werror=stringop-truncation]
|                  strncpy(bin_in_ascii, "0x", 2);
|                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Ia35d0ae733f0879f6c9d23126bab5fc899e89def
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>writefrudata: add doxygen for methods</title>
<updated>2018-11-12T23:36:04+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-10-21T21:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=6cc890440830c135a0519bff739c68357f401852'/>
<id>urn:sha1:6cc890440830c135a0519bff739c68357f401852</id>
<content type='text'>
Add doxygen comments for methods.

Change-Id: Ifc155279a21b258300dadd409abfb617652159dc
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>IPMIFruArea: Add doxygen to class</title>
<updated>2018-10-31T19:52:20+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-10-21T20:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/ipmi-fru-parser/commit/?id=1816ff30cfb2796ec0b4b1122b03940857cd491a'/>
<id>urn:sha1:1816ff30cfb2796ec0b4b1122b03940857cd491a</id>
<content type='text'>
Add doxygen to IPMIFruArea class.

Change-Id: Ie28dd84c25df939671771741d7e4faca931e613e
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
</feed>
