History log of /openbmc/phosphor-ipmi-flash/internal/ (Results 1 – 11 of 11)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9bb21e3e08-Apr-2022 William A. Kennington III <wak@google.com>

tools/net: Handle files which don't support sendfile

This adds a fallback read / write model.

Tested: ran against non-sendfile compatible file and it sent to the BMC successfully.

Change-Id: I6fd7

tools/net: Handle files which don't support sendfile

This adds a fallback read / write model.

Tested: ran against non-sendfile compatible file and it sent to the BMC successfully.

Change-Id: I6fd781ad19cd37376ca90743f799988e50ed460e
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/MAINTAINERS
/openbmc/phosphor-ipmi-flash/OWNERS
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/README.md
/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/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/meson.build
/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/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/meson.build
/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/log-handler/log_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/log_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/log_handlers_builder.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/log_handlers_builder.hpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/meson.build
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_canhandle_enumerate_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_close_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_createhandler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_json_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_open_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_read_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/log_stat_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/meson.build
/openbmc/phosphor-ipmi-flash/bmc/meson.build
/openbmc/phosphor-ipmi-flash/bmc/skip_action.cpp
/openbmc/phosphor-ipmi-flash/bmc/skip_action.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/image_mock.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/image_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/meson.build
/openbmc/phosphor-ipmi-flash/bmc/test/triggerable_mock.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/triggerable_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/version-handler/meson.build
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/meson.build
/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/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/meson.build
/openbmc/phosphor-ipmi-flash/cleanup/test/cleanup_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/cleanup/test/filesystem_mock.hpp
/openbmc/phosphor-ipmi-flash/cleanup/test/meson.build
sys.cpp
sys.hpp
/openbmc/phosphor-ipmi-flash/meson.build
/openbmc/phosphor-ipmi-flash/meson_options.txt
/openbmc/phosphor-ipmi-flash/status.hpp
/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/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/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/meson.build
/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/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/meson.build
/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_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_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/tools/tool_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
/openbmc/phosphor-ipmi-flash/util.hpp
c04c2c5c05-Jun-2020 Benjamin Fair <benjaminfair@google.com>

tools/pci: replace pciutils with pciaccess

The pciutils library has a license which is incompatible with ours, so
switch to pciaccess instead since it's MIT-licensed.

Signed-off-by: Benjamin Fair <

tools/pci: replace pciutils with pciaccess

The pciutils library has a license which is incompatible with ours, so
switch to pciaccess instead since it's MIT-licensed.

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Ie40580d9992f7c30d9fdc904f97c89057791b10e

show more ...


/openbmc/phosphor-ipmi-flash/.clang-format
/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.hpp
/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_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_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_write_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_writemeta_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc_json_config.md
/openbmc/phosphor-ipmi-flash/cleanup/cleanup.cpp
/openbmc/phosphor-ipmi-flash/cleanup/cleanup.hpp
/openbmc/phosphor-ipmi-flash/cleanup/main.cpp
/openbmc/phosphor-ipmi-flash/configure.ac
sys.hpp
/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/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/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
f7ccadb011-Oct-2019 Benjamin Fair <benjaminfair@google.com>

sys: add networking functions

Add networking related functions to the syscall wrapper.

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: I0ccb4138963ce2a8c7bb6f6f3a556de1afcd0c08


/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/firmware_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/net_handler.cpp
/openbmc/phosphor-ipmi-flash/bmc/net_handler.hpp
/openbmc/phosphor-ipmi-flash/bmc/test/Makefile.am
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_handler_unittest.cpp
/openbmc/phosphor-ipmi-flash/bmc/test/firmware_open_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/configure.ac
/openbmc/phosphor-ipmi-flash/flags.hpp
sys.cpp
sys.hpp
/openbmc/phosphor-ipmi-flash/tools/handler.cpp
/openbmc/phosphor-ipmi-flash/tools/test/internal_sys_mock.hpp
/openbmc/phosphor-ipmi-flash/tools/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
493b3af005-Nov-2019 Brandon Kim <brandonkim@google.com>

internal: Add pread pwrite support in sys

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


/openbmc/phosphor-ipmi-flash/.gitignore
/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/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/main.cpp
/openbmc/phosphor-ipmi-flash/bmc/pci_nuvoton_handler.cpp
/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/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_uploadinprogress_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/triggerable_mock.hpp
/openbmc/phosphor-ipmi-flash/bmc_json_config.md
/openbmc/phosphor-ipmi-flash/cleanup/main.cpp
/openbmc/phosphor-ipmi-flash/configure.ac
sys.cpp
sys.hpp
/openbmc/phosphor-ipmi-flash/ipmi_flash.md
/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/main.cpp
/openbmc/phosphor-ipmi-flash/tools/p2a.cpp
/openbmc/phosphor-ipmi-flash/tools/progress.cpp
/openbmc/phosphor-ipmi-flash/tools/test/internal_sys_mock.hpp
/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
cf9b219527-Jun-2019 Patrick Venture <venture@google.com>

tools: add progress implementation

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


/openbmc/phosphor-ipmi-flash/.gitignore
/openbmc/phosphor-ipmi-flash/.lcovrc
/openbmc/phosphor-ipmi-flash/Makefile.am
/openbmc/phosphor-ipmi-flash/README.md
/openbmc/phosphor-ipmi-flash/bmc/Makefile.am
/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/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/prepare_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/prepare_systemd.hpp
/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_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/update_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/update_systemd.hpp
/openbmc/phosphor-ipmi-flash/bmc/verify_systemd.cpp
/openbmc/phosphor-ipmi-flash/bmc/verify_systemd.hpp
/openbmc/phosphor-ipmi-flash/bmc/window_hw_interface.hpp
/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/data.hpp
/openbmc/phosphor-ipmi-flash/flags.hpp
sys.cpp
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/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
cec0490115-Jan-2019 Patrick Venture <venture@google.com>

internal: add read() method

Add the read() method to the internal syscall interface.

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

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

s/size_t/std::size_t/g - for compatibility with other builds

For compatibility with the Google3 build system, use std::size_t instead
of gnu size_t.

Change-Id: Ie361de9c507119aa7db93d24b6e199547bd1

s/size_t/std::size_t/g - for compatibility with other builds

For compatibility with the Google3 build system, use std::size_t instead
of gnu size_t.

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

show more ...

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

internal: add poll() method

Add the poll() method to the internal syscall interface.

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

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

internal: remove extra namespaces

Remove blobs and flash namespaces and leave code in internal namespace.
This interface will be used by the host-side tool as well now.

Change-Id: I2446827abe4cad11

internal: remove extra namespaces

Remove blobs and flash namespaces and leave code in internal namespace.
This interface will be used by the host-side tool as well now.

Change-Id: I2446827abe4cad116624ac926955190ea417c0df
Signed-off-by: Patrick Venture <venture@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/configure.ac
/openbmc/phosphor-ipmi-flash/firmware_handler.cpp
/openbmc/phosphor-ipmi-flash/firmware_handler.hpp
sys.cpp
sys.hpp
/openbmc/phosphor-ipmi-flash/lpc_aspeed.hpp
/openbmc/phosphor-ipmi-flash/lpc_nuvoton.hpp
/openbmc/phosphor-ipmi-flash/main.cpp
/openbmc/phosphor-ipmi-flash/test/Makefile.am
/openbmc/phosphor-ipmi-flash/test/blob_interface_mock.hpp
/openbmc/phosphor-ipmi-flash/test/crc_mock.hpp
/openbmc/phosphor-ipmi-flash/test/data_interface_mock.hpp
/openbmc/phosphor-ipmi-flash/test/firmware_createhandler_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/internal_sys_mock.hpp
/openbmc/phosphor-ipmi-flash/test/ipmi_interface_mock.hpp
/openbmc/phosphor-ipmi-flash/test/tools_blob_unittest.cpp
/openbmc/phosphor-ipmi-flash/test/tools_updater_unittest.cpp
/openbmc/phosphor-ipmi-flash/tools/Makefile.am
/openbmc/phosphor-ipmi-flash/tools/blob_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/blob_handler.cpp
/openbmc/phosphor-ipmi-flash/tools/blob_handler.hpp
/openbmc/phosphor-ipmi-flash/tools/blob_interface.hpp
/openbmc/phosphor-ipmi-flash/tools/bt.cpp
/openbmc/phosphor-ipmi-flash/tools/bt.hpp
/openbmc/phosphor-ipmi-flash/tools/crc.cpp
/openbmc/phosphor-ipmi-flash/tools/crc.hpp
/openbmc/phosphor-ipmi-flash/tools/interface.hpp
/openbmc/phosphor-ipmi-flash/tools/ipmi_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/ipmi_handler.cpp
/openbmc/phosphor-ipmi-flash/tools/ipmi_handler.hpp
/openbmc/phosphor-ipmi-flash/tools/ipmi_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/tool_errors.hpp
/openbmc/phosphor-ipmi-flash/tools/updater.cpp
/openbmc/phosphor-ipmi-flash/tools/updater.hpp
7b91cbc128-Nov-2018 Patrick Venture <venture@google.com>

lpc_aspeed: add mapping implementation

Add mapper implementation for Aspeed.

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

8b58856f18-Nov-2018 Patrick Venture <venture@google.com>

add system interface to enable testing

Add system interface to enable testing of the linux syscalls.

Change-Id: Ia135695de4ae8ed561516b8355f03c7191523780
Signed-off-by: Patrick Venture <venture@goo

add system interface to enable testing

Add system interface to enable testing of the linux syscalls.

Change-Id: Ia135695de4ae8ed561516b8355f03c7191523780
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/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/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
sys.cpp
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_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