History log of /openbmc/phosphor-ipmi-flash/tools/ (Results 151 – 163 of 163)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0bf8bf0c12-Dec-2018 Patrick Venture <venture@google.com>

tools: blob: implement get blob stat command

The firmware update process requires implementing the stat command, so
that one can verify the firmware mechanism requested is available.

Change-Id: I58

tools: blob: implement get blob stat command

The firmware update process requires implementing the stat command, so
that one can verify the firmware mechanism requested is available.

Change-Id: I582f344124767975ee305c420657f991d2223889
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

c79faa1612-Dec-2018 Patrick Venture <venture@google.com>

tools: blob: implement layer above ipmi

Implement the layer above actual IPMI calls, such that we can verify the
behavior. There is a layer beneath this that'll compute CRCs before
passing the comm

tools: blob: implement layer above ipmi

Implement the layer above actual IPMI calls, such that we can verify the
behavior. There is a layer beneath this that'll compute CRCs before
passing the commands down, that will go in next.

Change-Id: I0b8e3aa93c171d829e32727c7bb1b411659d80bd
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

035bbbb912-Dec-2018 Patrick Venture <venture@google.com>

tools: return data or throw exception on ipmi resp

When the IPMI_CC is non-zero, throw an exception and include the code,
otherwise if the response buffer is non-null, return the bytes received.

Ch

tools: return data or throw exception on ipmi resp

When the IPMI_CC is non-zero, throw an exception and include the code,
otherwise if the response buffer is non-null, return the bytes received.

Change-Id: Id81281d7fd79f3075fcdd4bbf86ffdd83d8a3721
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

9b750aa112-Dec-2018 Patrick Venture <venture@google.com>

tools: add crc implementation

Add crc implementation, copied from the internal portable source,
adjusted to be c++ where relevant (e.g. using a vector, etc).

Change-Id: I0998342f4ec8843ba27bf554c23

tools: add crc implementation

Add crc implementation, copied from the internal portable source,
adjusted to be c++ where relevant (e.g. using a vector, etc).

Change-Id: I0998342f4ec8843ba27bf554c2318ca9882e4f7a
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

aa107a6112-Dec-2018 Patrick Venture <venture@google.com>

tools: main, use copy instead of looping

Use a copy to ostream_iterator instead of looping with stringstream.

Change-Id: Ife8d31ce6ec970763dadbba813cab235156cb86c
Signed-off-by: Patrick Venture <ve

tools: main, use copy instead of looping

Use a copy to ostream_iterator instead of looping with stringstream.

Change-Id: Ife8d31ce6ec970763dadbba813cab235156cb86c
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

fec15df412-Dec-2018 Patrick Venture <venture@google.com>

test: move mocks into root test folder

Move the mocks from tools/test to test as the tools/test isn't being
picked up by the make check call.

Change-Id: I2e38fde95f443094a727295c8c4561b1eff844a9
Si

test: move mocks into root test folder

Move the mocks from tools/test to test as the tools/test isn't being
picked up by the make check call.

Change-Id: I2e38fde95f443094a727295c8c4561b1eff844a9
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

a658636f11-Dec-2018 Patrick Venture <venture@google.com>

tools: move interface building into main

Move interface building into the main method to simplify processing and
input further down the call stack.

Change-Id: Ib14827bfe8c4ea89a04a7c201fdff9d538546

tools: move interface building into main

Move interface building into the main method to simplify processing and
input further down the call stack.

Change-Id: Ib14827bfe8c4ea89a04a7c201fdff9d538546ef5
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

cf2d1b1011-Dec-2018 Patrick Venture <venture@google.com>

tools: start implementing ipmi interface

Start implementing ipmi interface to handle sending the actual IPMI
packet contents.

Change-Id: Idf55c1594992d0f188ee6b2940bfe3842509d91d
Signed-off-by: Pat

tools: start implementing ipmi interface

Start implementing ipmi interface to handle sending the actual IPMI
packet contents.

Change-Id: Idf55c1594992d0f188ee6b2940bfe3842509d91d
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

0088759711-Dec-2018 Patrick Venture <venture@google.com>

tools: start implementing blob interface

Start implementing blob interface to handle sending BLOB protocol
commands.

Change-Id: I9eeb6c1b6f49d9b0332e156e02476e2b07850d64
Signed-off-by: Patrick Vent

tools: start implementing blob interface

Start implementing blob interface to handle sending BLOB protocol
commands.

Change-Id: I9eeb6c1b6f49d9b0332e156e02476e2b07850d64
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

af69625f11-Dec-2018 Patrick Venture <venture@google.com>

tools: start implementing data interface

The host must provide multiple data interfaces. Each data interface is
responsible for configuring its data pathway and sending the contents
via this pathwa

tools: start implementing data interface

The host must provide multiple data interfaces. Each data interface is
responsible for configuring its data pathway and sending the contents
via this pathway, as well as any flow control.

Change-Id: If856519536d01043e69c45044fcd0ad525592486
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

bf58cd6411-Dec-2018 Patrick Venture <venture@google.com>

tools: start burn_my_bmc tool

Start implementation of burn_my_bmc host tool, the purpose of which is
to upload the firmware image and trigger the verification process.

The utility will accept four

tools: start burn_my_bmc tool

Start implementation of burn_my_bmc host tool, the purpose of which is
to upload the firmware image and trigger the verification process.

The utility will accept four parameters:
1) command - the command to run, initially only "update"
2) interface - the data interface to use, e.g. lpc or pci
3) image - the path to the image file
4) sig - the path to the image's signature file

Change-Id: Ifbab7df947f37dd3a6fddddcf523c0fa724c9551
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


/openbmc/phosphor-ipmi-flash/.clang-format
/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/bootstrap.sh
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/data_handler.hpp
/openbmc/phosphor-ipmi-flash/file_handler.cpp
/openbmc/phosphor-ipmi-flash/file_handler.hpp
/openbmc/phosphor-ipmi-flash/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/firmware_handler.hpp
/openbmc/phosphor-ipmi-flash/image_handler.hpp
/openbmc/phosphor-ipmi-flash/internal/sys.cpp
/openbmc/phosphor-ipmi-flash/internal/sys.hpp
/openbmc/phosphor-ipmi-flash/lpc_aspeed.cpp
/openbmc/phosphor-ipmi-flash/lpc_aspeed.hpp
/openbmc/phosphor-ipmi-flash/lpc_handler.cpp
/openbmc/phosphor-ipmi-flash/lpc_handler.hpp
/openbmc/phosphor-ipmi-flash/lpc_interface.hpp
/openbmc/phosphor-ipmi-flash/lpc_nuvoton.cpp
/openbmc/phosphor-ipmi-flash/lpc_nuvoton.hpp
/openbmc/phosphor-ipmi-flash/main.cpp
/openbmc/phosphor-ipmi-flash/pci_handler.cpp
/openbmc/phosphor-ipmi-flash/pci_handler.hpp
/openbmc/phosphor-ipmi-flash/test/Makefile.am
/openbmc/phosphor-ipmi-flash/test/data_mock.hpp
/openbmc/phosphor-ipmi-flash/test/file_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_canhandle_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_commit_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_createhandler_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_delete_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_sessionstat_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/image_mock.hpp
/openbmc/phosphor-ipmi-flash/test/internal_sys_mock.hpp
/openbmc/phosphor-ipmi-flash/test/lpc_mapper_mock.hpp
Makefile.am
main.cpp
updater.cpp
updater.hpp
971899af02-Nov-2018 Patrick Venture <venture@google.com>

Revert original implementation in favor of blob-based approach

Revert original implementation of the in-band firmware update to
pivot to using a blob-based implementation.

Blob-based design is und

Revert original implementation in favor of blob-based approach

Revert original implementation of the in-band firmware update to
pivot to using a blob-based implementation.

Blob-based design is under review here:
https://gerrit.openbmc-project.xyz/14444

Revert "tools: starting burn_my_bmc host utility"
This reverts commit 7dc4670d4be4884e0c6486ca4f0e799116935096.

Revert "phosphor-ipmi-flash: main: move to iana header"
This reverts commit e39f2b3a9a19b8e788a7225a0d291716325b77ee.

Revert "update clang-format"
This reverts commit 1aedab2391cd883e95ebde0129fcaf88d7f16233.

Revert "Build as c++17"
This reverts commit 004fb909202e39b34cb72d31390facd525b04c9b.

Revert "clang-format: always break template declarations"
This reverts commit ff0ee70f0fb8e0c2173f826f4d96fbfced09ca14.

Revert "clang-format-6.0 bump fixes"
This reverts commit 8f378c927a5789f30ba625595153bc1422d511dc.

Revert "flash-ipmi: implement flashAbort"
This reverts commit 605f75f7c026b5c2f454de155f6f211b2c3b187f.

Revert "flash-ipmi: implement flashDataVerify"
This reverts commit 9c6baad43fe7d1db8e449766eed35865ce6a2e4b.

Revert "flash-ipmi: implement flashVerifyCheck"
This reverts commit 7fc66de0d5465f4d25033d6baf48b6489f843331.

Revert "ipmi: start implementing flashVerifyCheck"
This reverts commit fdc65b2524bee544d35a6e2cbeef4c2f68aeb8fd.

Revert "flash-ipmi: implement flashHashFinish"
This reverts commit d5f590f955a67715e7903a04c3a8028f1d4f2664.

Revert "flash-ipmi: implement flashHashData"
This reverts commit cbe51498953d7bd29f516cdfcdb654706b463d2e.

Revert "flash-ipmi: implement flashStartHash"
This reverts commit 6f17bd2220d723fd349077ccd96845a5652403e0.

Revert "flash-ipmi: implement flashDataFinish"
This reverts commit 57703664cd76c2744adf4c5fa504388909efa824.

Revert "flash-ipmi: implement flashDataBlock"
This reverts commit 3c086f2f649d1c4cc7926cbd9375a39dd23e6997.

Revert "update copyright year"
This reverts commit 514f648b76c1a855a356e5a4ca83fd5bf6c53b3f.

Revert "flash-ipmi: implement flashStartTransfer"
This reverts commit 8ec019fdc15cb021f2c7d4cefb85a8ccd3581159.

Revert "ipmi: start implementing flashAbort"
This reverts commit 5c251ca550f56722280dcf17b8c48832ace07142.

Revert "ipmi: start implementing flashDataVerify"
This reverts commit 1cb87d25f79cfb905611b81348fbccb362f5e29a.

Revert "main: cleanup command handling"
This reverts commit 9a5a79a0797294ba9f5c7b2ab79e4dcbacac0c44.

Revert "test: rework ipmi validate test as table"
This reverts commit 39b3a82609511e2d855a2182f22361cc1332bb25.

Revert "ipmi: start implementing flashHashFinish"
This reverts commit fbc7d191eb6d49ff93379e90f372960b799b25c4.

Revert "ipmi: start implementing flashHashData"
This reverts commit cfe66877a5d7cc64bcce5c8789ca164edf9f1c56.

Revert "ipmi: start implementing flashStartHash"
This reverts commit 8d9f7322f46afaab81e32d1999f5bc000f1ba9a6.

Revert "ipmi: start implementing flashDataFinish"
This reverts commit 2c1205db94647c196c154bae0e106933b9ff526e.

Revert "ipmi: promote min length check to earlier"
This reverts commit a53a7b35085ddd41ef3cc47b084d29a1f413e818.

Revert "ipmi: start implementing flashDataBlock"
This reverts commit 79e131fce6e308f7e0f96bc71b07a7f0ebeeffcd.

Revert "ipmi: start implementing flashStartTransfer"
This reverts commit 54c3b53c0d0c7991469ab1be97bdf4e3f301e8f5.

Revert "add flash-ipmi header defining sub-commands"
This reverts commit 3d1786bcd038e4d042d268737a9b874fd667bf84.

Revert "main: start with no-op handler"
This reverts commit accc91799d6a1de4726313b907e5dfa7555bf919.

Change-Id: I1c4dc9dcd2bf7d110240a028a329fcb1e01a4e5b
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

7dc4670d08-Aug-2018 Patrick Venture <venture@google.com>

tools: starting burn_my_bmc host utility

burn_my_bmc is a host-run utility that in cooperation with the
phosphor-ipmi-flash library, attempts to send a BMC firmware image and
signature file to the B

tools: starting burn_my_bmc host utility

burn_my_bmc is a host-run utility that in cooperation with the
phosphor-ipmi-flash library, attempts to send a BMC firmware image and
signature file to the BMC and trigger verification of said image.

The program's current design and use were tailored towards the legacy
OpenBMC image and not UBI. Therefore, changes to support the UBI
process will get addressed as it all takes shape.

The overall process is:
1) Attempts to send firmware image over an interface.
2) Attempts to send signature file contents over an interface*.
3) Triggers a verification step.
4) Reboots the BMC**.

* The only interface in the initial version here is the blocktransfer
interface. It's technically also possibly KCS. It's sending the data
over the same communications channel as the normal IPMI packets. A
later patchset will enable sending the data bytes over an LPC memory
region or the PCI P2A region.

** The 4th step is done by a separate call to the 'reboot' command.
The 'reboot' and 'ping' commands will come in a later patchset.

Change-Id: I62d725274e56c55ca414fa6c2a3eab6c500066ed
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


/openbmc/phosphor-ipmi-flash/.clang-format
/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/.gitmodules
/openbmc/phosphor-ipmi-flash/COPYING.apache-2.0
/openbmc/phosphor-ipmi-flash/COPYING.bsd-3
/openbmc/phosphor-ipmi-flash/LICENSE
/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bootstrap.sh
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/docs/flash_update.md
/openbmc/phosphor-ipmi-flash/flash-ipmi.cpp
/openbmc/phosphor-ipmi-flash/flash-ipmi.hpp
/openbmc/phosphor-ipmi-flash/ipmi.cpp
/openbmc/phosphor-ipmi-flash/ipmi.hpp
/openbmc/phosphor-ipmi-flash/main.cpp
/openbmc/phosphor-ipmi-flash/test/Makefile.am
/openbmc/phosphor-ipmi-flash/test/flash_checkverify_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_flashabort_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_flashdata_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_flashfinish_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_hashdata_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_hashfinish_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_hashstart_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/flash_start_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_abort_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_command_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_flashdata_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_flashfinish_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_hashdata_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_hashfinish_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_starthash_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_starttransfer_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_startverify_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_validate_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/ipmi_verifycheck_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/updater_mock.hpp
Makefile.am
bt/bt.cpp
bt/bt.hpp
interface/interface.hpp
ipmi/raw.cpp
ipmi/raw.hpp
ipmi/updatehelper.cpp
ipmi/updatehelper.hpp
ipmitool.LICENSE
libs/ipmitool
libs/ipmitool.c
libs/ipmitoolintf.c
libs/ipmitoolintf.h
main.cpp
test/Makefile.am
test/interface_mock.hpp
test/raw_mock.hpp
updater.cpp
updater.hpp

1234567