<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-ipmi-flash/tools/test, branch master</title>
<subtitle>OpenBMC Phosphor host-side firmware update tool</subtitle>
<id>https://git.raptorcs.com/git/phosphor-ipmi-flash/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/'/>
<updated>2019-12-05T03:43:09+00:00</updated>
<entry>
<title>tools: net: support IPv4 and IPv6 addresses</title>
<updated>2019-12-05T03:43:09+00:00</updated>
<author>
<name>Benjamin Fair</name>
<email>benjaminfair@google.com</email>
</author>
<published>2019-12-05T00:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=2aa55347312c400f9dd61a32c8c1e37b1691bb1c'/>
<id>urn:sha1:2aa55347312c400f9dd61a32c8c1e37b1691bb1c</id>
<content type='text'>
Switch from IPv4-only to an unspecified address family, which will allow
either IPv4 or IPv6 addresses to be used.

Signed-off-by: Benjamin Fair &lt;benjaminfair@google.com&gt;
Change-Id: I6f4d3e71e2a310fc158ec90793f5c7479e060f02
</content>
</entry>
<entry>
<title>tools: add network bridge support</title>
<updated>2019-11-21T23:09:48+00:00</updated>
<author>
<name>Benjamin Fair</name>
<email>benjaminfair@google.com</email>
</author>
<published>2019-10-11T23:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=30d09a316b49a89a7ea01368911fc92d8260b5e6'/>
<id>urn:sha1:30d09a316b49a89a7ea01368911fc92d8260b5e6</id>
<content type='text'>
Add support to the host tool for sending the image data over a network
connection.

Signed-off-by: Benjamin Fair &lt;benjaminfair@google.com&gt;
Change-Id: I88630d79499254d6c80ceaa8c7721c241d394fc8
</content>
</entry>
<entry>
<title>sys: add networking functions</title>
<updated>2019-11-21T23:09:48+00:00</updated>
<author>
<name>Benjamin Fair</name>
<email>benjaminfair@google.com</email>
</author>
<published>2019-10-12T00:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=f7ccadb0a1bd074d731244d45cf9e1b45a27e2f6'/>
<id>urn:sha1:f7ccadb0a1bd074d731244d45cf9e1b45a27e2f6</id>
<content type='text'>
Add networking related functions to the syscall wrapper.

Signed-off-by: Benjamin Fair &lt;benjaminfair@google.com&gt;
Change-Id: I0ccb4138963ce2a8c7bb6f6f3a556de1afcd0c08
</content>
</entry>
<entry>
<title>tools: remove stat() check for supported interface</title>
<updated>2019-11-16T00:20:06+00:00</updated>
<author>
<name>Benjamin Fair</name>
<email>benjaminfair@google.com</email>
</author>
<published>2019-11-14T21:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=060be01fee2b63104921ea6a5b2901b75fb63f2e'/>
<id>urn:sha1:060be01fee2b63104921ea6a5b2901b75fb63f2e</id>
<content type='text'>
If an unsupported interface is requested, the open() call will simply
fail.

Signed-off-by: Benjamin Fair &lt;benjaminfair@google.com&gt;
Change-Id: Iefd11657d957931873a4d20246d9ccdd791ba0e5
</content>
</entry>
<entry>
<title>internal: Add pread pwrite support in sys</title>
<updated>2019-11-06T01:04:58+00:00</updated>
<author>
<name>Brandon Kim</name>
<email>brandonkim@google.com</email>
</author>
<published>2019-11-06T00:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=493b3af0ae9eaaa39333239df59aa3b45178c7f1'/>
<id>urn:sha1:493b3af0ae9eaaa39333239df59aa3b45178c7f1</id>
<content type='text'>
Signed-off-by: Brandon Kim &lt;brandonkim@google.com&gt;
Change-Id: I84c5e7f493afbb0894528f5d0986180b7109e170
</content>
</entry>
<entry>
<title>tools: Add ignoreUpdate parameter</title>
<updated>2019-09-20T02:39:05+00:00</updated>
<author>
<name>Brandon Kim</name>
<email>brandonkim@google.com</email>
</author>
<published>2019-09-19T20:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=6749ba1c93c9b4f65c9ef7791987fc2f98bc15d1'/>
<id>urn:sha1:6749ba1c93c9b4f65c9ef7791987fc2f98bc15d1</id>
<content type='text'>
Adds ignoreUpdate flag to skip checking the update status and always
return success instead. This is needed for platforms that use the reboot
json and encounters an update failure due to IPMI going down during
shutdown.

Tested: Tried out an update with and without --ignore-update to verify
that the flag ignores the update status and returns success.

Signed-off-by: Brandon Kim &lt;brandonkim@google.com&gt;
Change-Id: Ie20774f997229cd5ff8ae9082dc8a747079f9a2c
</content>
</entry>
<entry>
<title>tools: add progress implementation</title>
<updated>2019-06-28T15:23:43+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-06-27T19:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=cf9b2195a3509b7481cbe564b0fc290c9bfc1475'/>
<id>urn:sha1:cf9b2195a3509b7481cbe564b0fc290c9bfc1475</id>
<content type='text'>
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I9da1674d6cbc688efc7bab0e033788d6ee4694f7
</content>
</entry>
<entry>
<title>tools: remove phosphor-ipmi-blobs dependency</title>
<updated>2019-06-27T14:38:43+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-06-27T03:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=84778b8d630ecfb7dbac7ca98ae3e9778ae8cdde'/>
<id>urn:sha1:84778b8d630ecfb7dbac7ca98ae3e9778ae8cdde</id>
<content type='text'>
The host tool depended on the BMC header: firmware_handler.hpp because
it defined the flags.  This header depends on phosphor-ipmi-blobs,
therefore the host-tool depends on this.  Move the flags into a separate
common header file and snip this dependency.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4
</content>
</entry>
<entry>
<title>move bmc code into bmc folder</title>
<updated>2019-06-27T14:38:43+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-06-27T02:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=f0c71df2514927e933f6fc33d9669ab0663a0706'/>
<id>urn:sha1:f0c71df2514927e933f6fc33d9669ab0663a0706</id>
<content type='text'>
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I2407359461a1a2f0e733ff8cd0cb1744b6304c32
</content>
</entry>
<entry>
<title>tools: implement lpc support</title>
<updated>2019-06-25T00:52:57+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-06-24T23:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-ipmi-flash/commit/?id=7c79b252c11f0d5fb711c1af5384719d49aea45e'/>
<id>urn:sha1:7c79b252c11f0d5fb711c1af5384719d49aea45e</id>
<content type='text'>
Tested: Verified this works for a Nuvoton BMC.

EXTRA_OECONF_append_xxx = " \
  --enable-static-layout \
  --enable-lpc-bridge \
  --enable-nuvoton-lpc \
  --enable-reboot-update \
  MAPPED_ADDRESS=0xc0008000 \
  "

/tmp/phosphor_ipmi_flash_tool \
 --command update \
 --interface ipmilpc \
 --image image-bmc \
 --sig image-bmc.sig \
 --type static \
 --address 0xfedc1000 \
 --length 0x1000
Sending over the firmware image.
trying to open blob
sending writeMeta
caught exception
EFBIG returned!
sending writeMeta
writemeta sent
Sending over the hash file.
trying to open blob
sending writeMeta
caught exception
EFBIG returned!
sending writeMeta
writemeta sent
Opening the verification file
Committing to /flash/verify to trigger service
Calling stat on /flash/verify session to check status
other
success
Returned success
succeeded
Opening the update file
Committing to /flash/update to trigger service
Calling stat on /flash/update session to check status
running
Opening the cleanup blob
Exception received: blob exception received: Received IPMI_CC: 255

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