History log of /openbmc/phosphor-ipmi-flash/bmc/ (Results 101 – 125 of 125)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4456490221-Aug-2019 Patrick Venture <venture@google.com>

bmc: use string literals instead of variables

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

097435fc15-Aug-2019 Patrick Venture <venture@google.com>

bmc: require blob ids to start with /flash/

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

9cce5a2606-Aug-2019 Patrick Venture <venture@google.com>

bmc: buildjson: provide helper for common filesystemd type

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

cf066ace06-Aug-2019 Patrick Venture <venture@google.com>

bmc: cleanup verification language and symbols

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

29af1e3e05-Aug-2019 Patrick Venture <venture@google.com>

bmc: s/SystemdVerification/SystemdWithStatusFile/g

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

c2baac9605-Aug-2019 Patrick Venture <venture@google.com>

bmc: allow update to use systemd with path

Verification provides a mechanism that has a systemd unit and mode, and
also a path to check the result. This object can be used for updates,
and will be

bmc: allow update to use systemd with path

Verification provides a mechanism that has a systemd unit and mode, and
also a path to check the result. This object can be used for updates,
and will be renamed in a later patchset to be more generically named.

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

show more ...

984d94d605-Aug-2019 Patrick Venture <venture@google.com>

bmc: add mode json option for verification systemd

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

ee614ec105-Aug-2019 Patrick Venture <venture@google.com>

bmc: move verify systemd mode to parameter

Move the mode for the trigger service to a parameter instead of
hard-coding it. This isn't yet a json configuration option, that'll be
next.

Signed-off-b

bmc: move verify systemd mode to parameter

Move the mode for the trigger service to a parameter instead of
hard-coding it. This isn't yet a json configuration option, that'll be
next.

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

show more ...

0caec99f05-Aug-2019 Patrick Venture <venture@google.com>

bmc: json configuration: update: add mode parameter

Add the mode parameter as an optional configuration option for the
update systemd approach. Previously this was hard-coded as "replace"
but now t

bmc: json configuration: update: add mode parameter

Add the mode parameter as an optional configuration option for the
update systemd approach. Previously this was hard-coded as "replace"
but now the user can specify something else.

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

show more ...

ec105dda05-Aug-2019 Patrick Venture <venture@google.com>

bugfix: bmc: update service requires mode

Systemd startunit requires a job-mode. Default it to "replace." In a
later patchset, the update systemd and verify system will collapse into
one object, b

bugfix: bmc: update service requires mode

Systemd startunit requires a job-mode. Default it to "replace." In a
later patchset, the update systemd and verify system will collapse into
one object, but this fix applies to the current implementation.

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

show more ...

1871fe9419-Jul-2019 Patrick Venture <venture@google.com>

bmc: use json for configuration

Use a json file for configuration of the flash image.

Tested: Verified that /flash/image worked as expected.
Signed-off-by: Patrick Venture <venture@google.com>
Chan

bmc: use json for configuration

Use a json file for configuration of the flash image.

Tested: Verified that /flash/image worked as expected.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I205978203360140870f0e68208912a894e00a6fc

show more ...

a6b4abde19-Jul-2019 Patrick Venture <venture@google.com>

bmc: implement search for json files

Tested: Verified it prints out the blobs expected.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I1ba6af8b2ca066e6eb1699cb4214ce32f148005d

f32a453e19-Jul-2019 Patrick Venture <venture@google.com>

bmc: consolidate action pack code slightly

Consolidate the code slightly as part of moving towards using the json
configuration.

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

bmc: consolidate action pack code slightly

Consolidate the code slightly as part of moving towards using the json
configuration.

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

show more ...

d4e20de618-Jul-2019 Patrick Venture <venture@google.com>

bmc: move from data section objs to owned

Move from objects created ahead of purpose to owned objects. This is a
step towards integrating with the json support.

Signed-off-by: Patrick Venture <ven

bmc: move from data section objs to owned

Move from objects created ahead of purpose to owned objects. This is a
step towards integrating with the json support.

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

show more ...

298930a103-Jul-2019 Patrick Venture <venture@google.com>

bmc: provide disabled json support

Provide support such that a json configuration file can define a firmware
handler and its behavior. This is not yet enabled.

Signed-off-by: Patrick Venture <vent

bmc: provide disabled json support

Provide support such that a json configuration file can define a firmware
handler and its behavior. This is not yet enabled.

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

show more ...

7c2a00e001-Jul-2019 Patrick Venture <venture@google.com>

build: add option --enable-host-bios

Add option to enable building in support for the host bios.

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

build: add option --enable-host-bios

Add option to enable building in support for the host bios.

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

show more ...

fa06a5f001-Jul-2019 Patrick Venture <venture@google.com>

bmc: add ActionPack notion to bundle actions

Each firmware type will provide its own set of action implementations
for each step, preparation, verification, and update.

Signed-off-by: Patrick Ventu

bmc: add ActionPack notion to bundle actions

Each firmware type will provide its own set of action implementations
for each step, preparation, verification, and update.

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

show more ...

1999eef001-Jul-2019 Patrick Venture <venture@google.com>

bmc: only add verifyBlobId if data sent for image

If data was sent to the hash only, don't add verify until they've at
least opened the image blob id.

Signed-off-by: Patrick Venture <venture@google

bmc: only add verifyBlobId if data sent for image

If data was sent to the hash only, don't add verify until they've at
least opened the image blob id.

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

show more ...

fd18216801-Jul-2019 Patrick Venture <venture@google.com>

build: install three targets to handle bmc updates

Transition from three service files to three targets installed by the
BMC library:
- phosphor-ipmi-flash-bmc-prepare.target
- phosphor-ipmi-flash

build: install three targets to handle bmc updates

Transition from three service files to three targets installed by the
BMC library:
- phosphor-ipmi-flash-bmc-prepare.target
- phosphor-ipmi-flash-bmc-verify.target
- phosphor-ipmi-flash-bmc-update.target

The prepare target is started each time the firmware update state
machine changes from notYetStarted to uploadInProgress and can be
leveraged to free memory (flush caches) or anything else required.

The verify target is started when the verify blob is committed. The
implementation of services within this target are such that they are
expected to output a status value that's readable (typically via a
file).

The update target is started when the update blob is committed.

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

show more ...

33740b9b28-Jun-2019 Patrick Venture <venture@google.com>

build: drop --enable-lpc-bridge option

Tested: Not tested beyond build verification.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I56581665b5f12b2c00dd1debca42a75758a46d94

89e97ba528-Jun-2019 Patrick Venture <venture@google.com>

build: drop --enable-pci-bridge option

Now if you enable aspeed-p2a it'll enable that for you.

Tested: Only build verified, did not perform testing.
Signed-off-by: Patrick Venture <venture@google.c

build: drop --enable-pci-bridge option

Now if you enable aspeed-p2a it'll enable that for you.

Tested: Only build verified, did not perform testing.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5d9bbd3ac62a9260efaec8035aaed9fd747e9f99

show more ...

48e309c529-Jun-2019 Patrick Venture <venture@google.com>

bmc: split out service objects

Split out the service objects from being declaring inline as parameters
into objects created and then moved. This is a step towards supporting
adding another firmware

bmc: split out service objects

Split out the service objects from being declaring inline as parameters
into objects created and then moved. This is a step towards supporting
adding another firmware type of bios.

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

show more ...

1ff1f93527-Jun-2019 Patrick Venture <venture@google.com>

build: use a common library for shared pieces

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

84778b8d26-Jun-2019 Patrick Venture <venture@google.com>

tools: remove phosphor-ipmi-blobs dependency

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 h

tools: remove phosphor-ipmi-blobs dependency

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 <venture@google.com>
Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4

show more ...


firmware_handler.cpp
firmware_handler.hpp
main.cpp
pci_handler.cpp
pci_handler.hpp
test/firmware_canhandle_unittest.cpp
test/firmware_close_unittest.cpp
test/firmware_commit_unittest.cpp
test/firmware_createhandler_unittest.cpp
test/firmware_handler_unittest.cpp
test/firmware_sessionstat_unittest.cpp
test/firmware_stat_unittest.cpp
test/firmware_state_notyetstarted_tarball_unittest.cpp
test/firmware_state_notyetstarted_unittest.cpp
test/firmware_state_updatecompleted_unittest.cpp
test/firmware_state_updatepending_unittest.cpp
test/firmware_state_updatestarted_unittest.cpp
test/firmware_state_uploadinprogress_unittest.cpp
test/firmware_state_verificationcompleted_unittest.cpp
test/firmware_state_verificationpending_unittest.cpp
test/firmware_state_verificationstarted_unittest.cpp
test/firmware_unittest.hpp
test/firmware_write_unittest.cpp
test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/data.hpp
/openbmc/phosphor-ipmi-flash/flags.hpp
/openbmc/phosphor-ipmi-flash/tools/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/bt.hpp
/openbmc/phosphor-ipmi-flash/tools/handler.cpp
/openbmc/phosphor-ipmi-flash/tools/interface.hpp
/openbmc/phosphor-ipmi-flash/tools/lpc.cpp
/openbmc/phosphor-ipmi-flash/tools/lpc.hpp
/openbmc/phosphor-ipmi-flash/tools/p2a.cpp
/openbmc/phosphor-ipmi-flash/tools/p2a.hpp
/openbmc/phosphor-ipmi-flash/tools/test/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/test/data_interface_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
f0c71df226-Jun-2019 Patrick Venture <venture@google.com>

move bmc code into bmc folder

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


/openbmc/phosphor-ipmi-flash/.clang-format
/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/.lcovrc
/openbmc/phosphor-ipmi-flash/LICENSE
/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/README.md
Makefile.am
data_handler.hpp
file_handler.cpp
file_handler.hpp
firmware_handler.cpp
firmware_handler.hpp
image_handler.hpp
lpc_aspeed.cpp
lpc_aspeed.hpp
lpc_handler.cpp
lpc_handler.hpp
lpc_nuvoton.cpp
lpc_nuvoton.hpp
main.cpp
mapper_errors.hpp
pci_handler.cpp
pci_handler.hpp
prepare_systemd.cpp
prepare_systemd.hpp
test/Makefile.am
test/crc_mock.hpp
test/data_mock.hpp
test/file_handler_unittest.cpp
test/firmware_canhandle_unittest.cpp
test/firmware_close_unittest.cpp
test/firmware_commit_unittest.cpp
test/firmware_createhandler_unittest.cpp
test/firmware_handler_unittest.cpp
test/firmware_sessionstat_unittest.cpp
test/firmware_stat_unittest.cpp
test/firmware_state_notyetstarted_tarball_unittest.cpp
test/firmware_state_notyetstarted_unittest.cpp
test/firmware_state_updatecompleted_unittest.cpp
test/firmware_state_updatepending_unittest.cpp
test/firmware_state_updatestarted_unittest.cpp
test/firmware_state_uploadinprogress_unittest.cpp
test/firmware_state_verificationcompleted_unittest.cpp
test/firmware_state_verificationpending_unittest.cpp
test/firmware_state_verificationstarted_unittest.cpp
test/firmware_unittest.hpp
test/firmware_write_unittest.cpp
test/firmware_writemeta_unittest.cpp
test/image_mock.hpp
test/triggerable_mock.hpp
test/window_mapper_mock.hpp
update_systemd.cpp
update_systemd.hpp
verify_systemd.cpp
verify_systemd.hpp
window_hw_interface.hpp
/openbmc/phosphor-ipmi-flash/bootstrap.sh
/openbmc/phosphor-ipmi-flash/cleanup/Makefile.am
/openbmc/phosphor-ipmi-flash/cleanup/cleanup.cpp
/openbmc/phosphor-ipmi-flash/cleanup/cleanup.hpp
/openbmc/phosphor-ipmi-flash/cleanup/fs.cpp
/openbmc/phosphor-ipmi-flash/cleanup/fs.hpp
/openbmc/phosphor-ipmi-flash/cleanup/main.cpp
/openbmc/phosphor-ipmi-flash/cleanup/test/Makefile.am
/openbmc/phosphor-ipmi-flash/cleanup/test/cleanup_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/cleanup/test/filesystem_mock.hpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/internal/sys.cpp
/openbmc/phosphor-ipmi-flash/internal/sys.hpp
/openbmc/phosphor-ipmi-flash/ipmi_flash.md
/openbmc/phosphor-ipmi-flash/status.hpp
/openbmc/phosphor-ipmi-flash/tools/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/bt.cpp
/openbmc/phosphor-ipmi-flash/tools/bt.hpp
/openbmc/phosphor-ipmi-flash/tools/handler.cpp
/openbmc/phosphor-ipmi-flash/tools/handler.hpp
/openbmc/phosphor-ipmi-flash/tools/helper.cpp
/openbmc/phosphor-ipmi-flash/tools/helper.hpp
/openbmc/phosphor-ipmi-flash/tools/interface.hpp
/openbmc/phosphor-ipmi-flash/tools/io.cpp
/openbmc/phosphor-ipmi-flash/tools/io.hpp
/openbmc/phosphor-ipmi-flash/tools/lpc.cpp
/openbmc/phosphor-ipmi-flash/tools/lpc.hpp
/openbmc/phosphor-ipmi-flash/tools/main.cpp
/openbmc/phosphor-ipmi-flash/tools/p2a.cpp
/openbmc/phosphor-ipmi-flash/tools/p2a.hpp
/openbmc/phosphor-ipmi-flash/tools/pci.cpp
/openbmc/phosphor-ipmi-flash/tools/pci.hpp
/openbmc/phosphor-ipmi-flash/tools/test/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/test/data_interface_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/internal_sys_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/io_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_bt_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_helper_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_lpc_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/updater_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/tool_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
/openbmc/phosphor-ipmi-flash/util.cpp
/openbmc/phosphor-ipmi-flash/util.hpp

12345