History log of /openbmc/phosphor-ipmi-flash/cleanup/ (Results 1 – 15 of 15)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
35b77c9b13-Sep-2021 Willy Tu <wltu@google.com>

build: remove autotool

Change-Id: I662c8a5d29453622744f44c1984416f1303354e6
Signed-off-by: Willy Tu <wltu@google.com>

0df4085001-Nov-2021 William A. Kennington III <wak@google.com>

build: Remove unused phosphor-logging dependency

Change-Id: I4f4e5efc998ed9738a548a353a6bd315ebe5f47c
Signed-off-by: William A. Kennington III <wak@google.com>

bcae900212-Sep-2021 Willy Tu <wltu@google.com>

build: Add meson build

Changes to note,
- `with_systemdsystemunitdir` and `with_tmpfilesdir` is removed since it
is not being documented nor used in OpenBMC.
- Removed the Code coverage feature wi

build: Add meson build

Changes to note,
- `with_systemdsystemunitdir` and `with_tmpfilesdir` is removed since it
is not being documented nor used in OpenBMC.
- Removed the Code coverage feature with `-DDHAVE_GCOV`, since it is not
used and meson covers it.
- Removed `--enable-oe-sdk` for using the OpenBMC SDK. It should work
directly with no change required.

Tested:
```
Jan 01 00:01:54 ipmid[709]: Try loading blob from persistent data
Jan 01 00:01:54 ipmid[709]: Stale blob data, resetting internals...
Jan 01 00:01:56 ipmid[709]: config loaded: /flash/bios
Jan 01 00:01:56 ipmid[709]: config loaded: /flash/image
Jan 01 00:01:56 ipmid[709]: config loaded: /flash/dummy
...
```

```
$ ls /usr/lib/blob-ipmid/
libfirmwareblob.so
libfirmwarecleanupblob.so libversionblob.so
```

Testing the service,
```
$ echo "hello" > /tmp/test.txt
$ burn_my_bmc -command update -layout dummy -image /tmp/test.txt
Sending over the firmware image.
Opening the verification file
Committing to /flash/verify to trigger service
Calling stat on /flash/verify session to check status
running
success
Returned success
succeeded
```

On the BMC.
```
/run/initramfs$ cat dummy
hello
```

Change-Id: I21c7c33bd62c0ee40681cb40da90125c125bea2f
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/OWNERS
/openbmc/phosphor-ipmi-flash/bmc/file_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/meson.build
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/file_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/meson.build
/openbmc/phosphor-ipmi-flash/bmc/meson.build
/openbmc/phosphor-ipmi-flash/bmc/test/meson.build
/openbmc/phosphor-ipmi-flash/bmc/version-handler/meson.build
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/meson.build
meson.build
test/meson.build
/openbmc/phosphor-ipmi-flash/meson.build
/openbmc/phosphor-ipmi-flash/meson_options.txt
/openbmc/phosphor-ipmi-flash/subprojects/fmt.wrap
/openbmc/phosphor-ipmi-flash/subprojects/googletest.wrap
/openbmc/phosphor-ipmi-flash/subprojects/pciaccess.wrap
/openbmc/phosphor-ipmi-flash/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-ipmi-flash/subprojects/phosphor-ipmi-blobs.wrap
/openbmc/phosphor-ipmi-flash/subprojects/phosphor-logging.wrap
/openbmc/phosphor-ipmi-flash/subprojects/sdbusplus.wrap
/openbmc/phosphor-ipmi-flash/subprojects/stdplus.wrap
/openbmc/phosphor-ipmi-flash/tools/bt.cpp
/openbmc/phosphor-ipmi-flash/tools/handler.cpp
/openbmc/phosphor-ipmi-flash/tools/helper.cpp
/openbmc/phosphor-ipmi-flash/tools/helper.hpp
/openbmc/phosphor-ipmi-flash/tools/lpc.cpp
/openbmc/phosphor-ipmi-flash/tools/meson.build
/openbmc/phosphor-ipmi-flash/tools/net.cpp
/openbmc/phosphor-ipmi-flash/tools/p2a.cpp
/openbmc/phosphor-ipmi-flash/tools/test/meson.build
/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_net_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_updater_unittest.cpp
b487eb4716-Sep-2021 Willy Tu <wltu@google.com>

phosphor-ipmi-flash: Fix all C++ warnings

Change-Id: I89236b2dab88ca725e269bb8f5b2cbfd271e807a
Signed-off-by: Willy Tu <wltu@google.com>


/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/net_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/pci_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/pci_nuvoton_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_commit_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_multiplebundle_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_sessionstat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_notyetstarted_tarball_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_uploadinprogress_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_unittest.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handler.hpp
cleanup.cpp
cleanup.hpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/tools/helper.cpp
/openbmc/phosphor-ipmi-flash/tools/main.cpp
/openbmc/phosphor-ipmi-flash/tools/pci.hpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_bt_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_lpc_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_pci_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
f450486f25-Apr-2021 Willy Tu <wltu@google.com>

test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD

Change-Id: I5099c727e9e918f19fa61acc91ef75250ebc6fa6
Signed-off-by: Willy Tu <wltu@google.com>


/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/buildjson.cpp
/openbmc/phosphor-ipmi-flash/bmc/buildjson.hpp
/openbmc/phosphor-ipmi-flash/bmc/file_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/file_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/config-bios.json.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/config-static-bmc-reboot.json.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/config-static-bmc-with-update-status.json.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/config-static-bmc.json.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/data_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/firmware_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/firmware_handlers_builder.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/firmware_handlers_builder.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_aspeed.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_aspeed.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_nuvoton.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/lpc_nuvoton.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/mapper_errors.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/net_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/net_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/pci_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/pci_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/pci_nuvoton_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bios-prepare.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bios-update.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bios-verify.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bmc-prepare.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bmc-update.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash-bmc-verify.target.in
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/phosphor-ipmi-flash.conf
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/crc_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/create_action_map.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/data_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/file_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_canhandle_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_commit_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_multiplebundle_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_sessionstat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_skip_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_notyetstarted_tarball_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_notyetstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_updatecompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_updatepending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_updatestarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_uploadinprogress_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_verificationcompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_verificationpending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_state_verificationstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_unittest.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/window_mapper_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/window_hw_interface.hpp
/openbmc/phosphor-ipmi-flash/bmc/fs.cpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/handler_config.hpp
/openbmc/phosphor-ipmi-flash/bmc/image_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/skip_action.cpp
/openbmc/phosphor-ipmi-flash/bmc/skip_action.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/image_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/triggerable_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/version-handler/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_canhandle_enumerate_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_createhandler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_read_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/version_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handlers_builder.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/version_handlers_builder.hpp
/openbmc/phosphor-ipmi-flash/bootstrap.sh
test/filesystem_mock.hpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/status.hpp
/openbmc/phosphor-ipmi-flash/tools/bt.cpp
/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/io.cpp
/openbmc/phosphor-ipmi-flash/tools/io.hpp
/openbmc/phosphor-ipmi-flash/tools/io_interface.hpp
/openbmc/phosphor-ipmi-flash/tools/lpc.cpp
/openbmc/phosphor-ipmi-flash/tools/main.cpp
/openbmc/phosphor-ipmi-flash/tools/net.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/pciaccess.cpp
/openbmc/phosphor-ipmi-flash/tools/pciaccess.hpp
/openbmc/phosphor-ipmi-flash/tools/progress.cpp
/openbmc/phosphor-ipmi-flash/tools/progress.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/io_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/pciaccess_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/progress_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_helper_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_net_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_pci_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/util.hpp
48474bc105-Oct-2020 Patrick Venture <venture@google.com>

cleanup: coverage: add missing coverage

The uninteresting blob methods did not receive unit-tests. This adds
those missing unit-tests.

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

cleanup: coverage: add missing coverage

The uninteresting blob methods did not receive unit-tests. This adds
those missing unit-tests.

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

show more ...

ede9c9f630-Sep-2020 Patrick Venture <venture@google.com>

util: use constexpr string instead of string objects

This handles an initialization order issue found with address
santization testing.

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

util: use constexpr string instead of string objects

This handles an initialization order issue found with address
santization testing.

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

show more ...

2950c25816-Jul-2020 Patrick Venture <venture@google.com>

cleanup: let the handler own the file system implementation

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

80748c3316-Jul-2020 Patrick Venture <venture@google.com>

cleanup: drop default filesystem handler

Drop the default file system handler from the constructor and just pass
it in to the one place it's needed.

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

cleanup: drop default filesystem handler

Drop the default file system handler from the constructor and just pass
it in to the one place it's needed.

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

show more ...

5084b70116-Jul-2020 Patrick Venture <venture@google.com>

cleanup: drop inclusion of unused filesystem header

The filesystem header is included and referenced but never used.

This is a leftover from before the filesystem calls where handled
through an int

cleanup: drop inclusion of unused filesystem header

The filesystem header is included and referenced but never used.

This is a leftover from before the filesystem calls where handled
through an interface.

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

show more ...

83a71c4214-Jun-2020 Patrick Venture <venture@google.com>

bmc+cleanup: drop remaining log includes

Drop remaining references to phosphor-logging.

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

1ab824a826-May-2020 Patrick Venture <venture@google.com>

log consistently via stderr

Most log messages in this codebase use stderr, while a few used
phosphor-logging. Transition all to use stderr.

Signed-off-by: Patrick Venture <venture@google.com>
Chan

log consistently via stderr

Most log messages in this codebase use stderr, while a few used
phosphor-logging. Transition all to use stderr.

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

show more ...

9b37b09528-May-2020 Patrick Venture <venture@google.com>

update gcc10 and clang-format10

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


/openbmc/phosphor-ipmi-flash/.clang-format
/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/buildjson.cpp
/openbmc/phosphor-ipmi-flash/bmc/buildjson.hpp
/openbmc/phosphor-ipmi-flash/bmc/config-bios.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc-reboot.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc-with-update-status.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc.json.in
/openbmc/phosphor-ipmi-flash/bmc/file_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/file_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.hpp
/openbmc/phosphor-ipmi-flash/bmc/image_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/mapper_errors.hpp
/openbmc/phosphor-ipmi-flash/bmc/net_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/net_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/pci_nuvoton_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/skip_action.cpp
/openbmc/phosphor-ipmi-flash/bmc/skip_action.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_sessionstat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_skip_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_notyetstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatecompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatepending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatestarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_uploadinprogress_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationcompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationpending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_unittest.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc_json_config.md
cleanup.cpp
cleanup.hpp
main.cpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/flags.hpp
/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/tools/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/bt.cpp
/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/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/net.cpp
/openbmc/phosphor-ipmi-flash/tools/net.hpp
/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/internal_sys_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_net_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/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
cec91dd116-Sep-2019 Brandon Kim <brandonkim@google.com>

bmc : add config-static-bmc-with-update-status.json.in

Add a default json file with update status (file path defined with
UPDATE_STATUS_FILENAME) enabled with --enable-update-status flag.

Change-Id

bmc : add config-static-bmc-with-update-status.json.in

Add a default json file with update status (file path defined with
UPDATE_STATUS_FILENAME) enabled with --enable-update-status flag.

Change-Id: I62d3b547d91840451906e26cbec55dfa74934b5e
Signed-off-by: Brandon Kim <brandonkim@google.com>

show more ...


/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/buildjson.cpp
/openbmc/phosphor-ipmi-flash/bmc/buildjson.hpp
/openbmc/phosphor-ipmi-flash/bmc/config-bios.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc-reboot.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc-with-update-status.json.in
/openbmc/phosphor-ipmi-flash/bmc/config-static-bmc.json.in
/openbmc/phosphor-ipmi-flash/bmc/data_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/file_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/file_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/fs.cpp
/openbmc/phosphor-ipmi-flash/bmc/fs.hpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/general_systemd.hpp
/openbmc/phosphor-ipmi-flash/bmc/image_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_aspeed.cpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_aspeed.hpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_nuvoton.cpp
/openbmc/phosphor-ipmi-flash/bmc/lpc_nuvoton.hpp
/openbmc/phosphor-ipmi-flash/bmc/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/mapper_errors.hpp
/openbmc/phosphor-ipmi-flash/bmc/pci_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/pci_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bios-prepare.target.in
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bios-update.target.in
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bios-verify.target.in
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bmc-prepare.target.in
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bmc-update.target.in
/openbmc/phosphor-ipmi-flash/bmc/phosphor-ipmi-flash-bmc-verify.target.in
/openbmc/phosphor-ipmi-flash/bmc/test/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/test/crc_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/data_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/file_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_canhandle_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_commit_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_createhandler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_multiplebundle_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_sessionstat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_notyetstarted_tarball_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_notyetstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatecompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatepending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_updatestarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_uploadinprogress_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationcompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationpending_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_state_verificationstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_unittest.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/image_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/triggerable_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/window_mapper_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/window_hw_interface.hpp
/openbmc/phosphor-ipmi-flash/bmc_json_config.md
main.cpp
/openbmc/phosphor-ipmi-flash/configure.ac
/openbmc/phosphor-ipmi-flash/data.hpp
/openbmc/phosphor-ipmi-flash/flags.hpp
/openbmc/phosphor-ipmi-flash/internal/sys.cpp
/openbmc/phosphor-ipmi-flash/internal/sys.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/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/progress.cpp
/openbmc/phosphor-ipmi-flash/tools/progress.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/progress_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/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
/openbmc/phosphor-ipmi-flash/util.cpp
/openbmc/phosphor-ipmi-flash/util.hpp
9efef5d919-Jun-2019 Patrick Venture <venture@google.com>

bmc: add cleanup blob handler

Add a cleanup blob handler, such that there is a new blob id present
named "/flash/cleanup" that will delete temporary files. This blob
handler expects a client to ope

bmc: add cleanup blob handler

Add a cleanup blob handler, such that there is a new blob id present
named "/flash/cleanup" that will delete temporary files. This blob
handler expects a client to open/commit/close the blob. This blob
handler will delete files that are specified as temporary. The host
client may use this to clean up artifacts on verification or update
failure.

This can be extended later to handle calling a service or doing anything
else to cleanup. The cleanup handler will be added if
--enable-cleanup-delete. The recipe will automatically add this blob
handler if that configure variable is set.

Tested: Not tested on real hardware.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I4502b2613e38f0a947d7235d084287376c6b0ce1

show more ...


/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
/openbmc/phosphor-ipmi-flash/bootstrap.sh
Makefile.am
cleanup.cpp
cleanup.hpp
fs.cpp
fs.hpp
main.cpp
test/Makefile.am
test/cleanup_handler_unittest.cpp
test/filesystem_mock.hpp
/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/ipmi_flash.md
/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_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/status.hpp
/openbmc/phosphor-ipmi-flash/test/Makefile.am
/openbmc/phosphor-ipmi-flash/test/crc_mock.hpp
/openbmc/phosphor-ipmi-flash/test/data_interface_mock.hpp
/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_handler_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_state_notyetstarted_tarball_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_notyetstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_updatecompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_updatepending_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_updatestarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_uploadinprogress_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_verificationcompleted_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_verificationpending_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_state_verificationstarted_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/firmware_unittest.hpp
/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/io_mock.hpp
/openbmc/phosphor-ipmi-flash/test/tools_bt_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/tools_lpc_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/triggerable_mock.hpp
/openbmc/phosphor-ipmi-flash/test/updater_mock.hpp
/openbmc/phosphor-ipmi-flash/test/window_mapper_mock.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/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/tool_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
/openbmc/phosphor-ipmi-flash/update_systemd.cpp
/openbmc/phosphor-ipmi-flash/update_systemd.hpp
/openbmc/phosphor-ipmi-flash/util.cpp
/openbmc/phosphor-ipmi-flash/util.hpp
/openbmc/phosphor-ipmi-flash/verify_systemd.cpp
/openbmc/phosphor-ipmi-flash/verify_systemd.hpp
/openbmc/phosphor-ipmi-flash/window_hw_interface.hpp