| /openbmc/phosphor-power/tools/power-utils/test/ |
| H A D | test_updater.cpp | 16 #include "../updater.hpp" 30 using namespace updater; 67 return *reinterpret_cast<MockedI2CInterface*>(updater->i2c.get()); in getMockedI2c() 71 std::unique_ptr<Updater> updater; member in TestUpdater 81 updater = std::make_unique<Updater>(psuInventoryPath, devPath, imageDir); in TEST_F() 86 updater = std::make_unique<Updater>(psuInventoryPath, devPath, imageDir); in TEST_F() 87 updater->createI2CDevice(); in TEST_F() 93 updater->doUpdate(); in TEST_F()
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | updater.cpp | 17 #include "updater.hpp" 38 namespace updater namespace 48 // Get the appropriate Updater class instance based PSU model number 49 std::unique_ptr<updater::Updater> getClassInstance( in getClassInstance() 58 return std::make_unique<Updater>(psuInventoryPath, devPath, imageDir); in getClassInstance() 196 std::unique_ptr<updater::Updater> updaterPtr = internal::getClassInstance( in update() 221 return updater::update(bus, psuInventoryPath, imageDir); in validateAndUpdate() 229 Updater::Updater(const std::string& psuInventoryPath, in Updater() function in updater::Updater 252 void Updater::bindUnbind(bool doBind) in bindUnbind() 276 void Updater::setPresent(bool present) in setPresent() [all …]
|
| H A D | updater.hpp | 28 namespace updater namespace 71 class Updater class 75 Updater() = delete; 76 Updater(const Updater&) = delete; 77 Updater& operator=(const Updater&) = delete; 78 Updater(Updater&&) = default; 79 Updater& operator=(Updater&&) = default; 88 Updater(const std::string& psuInventoryPath, const std::string& devPath, 92 virtual ~Updater() = default; 325 * @brief Factory function to create an Updater instance based on PSU model [all …]
|
| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | updater.cpp | 17 #include "updater.hpp" 38 void updaterMain(UpdateHandlerInterface* updater, ipmiblob::BlobInterface* blob, in updaterMain() argument 47 bool goalSupported = updater->checkAvailable(layout); in updaterMain() 65 updater->cleanArtifacts(); in updaterMain() 75 updater->sendFile(layout, imagePath); in updaterMain() 79 updater->sendFile(ipmi_flash::hashBlobId, signaturePath); in updaterMain() 84 if (updater->verifyFile(ipmi_flash::verifyBlobId, false)) in updaterMain() 96 if (updater->verifyFile(ipmi_flash::updateBlobId, ignoreUpdate)) in updaterMain() 113 updater->cleanArtifacts(); in updaterMain()
|
| /openbmc/openbmc/meta-openpower/recipes-phosphor/flash/ |
| H A D | phosphor-software-manager_%.bbappend | 3 SYSTEMD_OVERRIDE:${PN}-updater:append:df-openpower = \ 4 …" software-bmc-updater.conf:xyz.openbmc_project.Software.BMC.Updater.service.d/software-bmc-update…
|
| /openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/ |
| H A D | example_updater_main.cpp | 7 sdbusplus::async::task<void> init(ExampleCodeUpdater& updater) in init() argument 18 co_await updater.initDevice("", "", ExampleDevice::defaultConfig); in init() 27 ExampleCodeUpdater updater(ctx); in main() local 30 ctx.spawn(init(updater)); in main()
|
| /openbmc/phosphor-ipmi-flash/tools/test/ |
| H A D | tools_updater_unittest.cpp | 5 #include "updater.hpp" 34 UpdateHandler updater{&blobMock, &handlerMock}; member in host_tool::UpdateHandlerTest 43 EXPECT_TRUE(updater.checkAvailable(ipmi_flash::staticLayoutBlobId)); in TEST_F() 51 EXPECT_FALSE(updater.checkAvailable(ipmi_flash::staticLayoutBlobId)); in TEST_F() 76 updater.sendFile(ipmi_flash::staticLayoutBlobId, firmwareImage); in TEST_F() 96 updater.sendFile(ipmi_flash::staticLayoutBlobId, firmwareImage), in TEST_F() 122 updater.sendFile(ipmi_flash::staticLayoutBlobId, firmwareImage), in TEST_F() 149 updater.sendFile(ipmi_flash::staticLayoutBlobId, firmwareImage); in TEST_F() 166 EXPECT_TRUE(updater.verifyFile(ipmi_flash::verifyBlobId, false)); in TEST_F() 178 EXPECT_TRUE(updater.verifyFile(ipmi_flash::verifyBlobId, true)); in TEST_F() [all …]
|
| /openbmc/openbmc/meta-phosphor/recipes-phosphor/flash/ |
| H A D | phosphor-software-manager_git.bb | 34 ${PN}-updater \ 35 ${PN}-updater-ubi \ 36 ${PN}-updater-mmc \ 49 SYSTEMD_SERVICE:${PN}-updater += " \ 56 SYSTEMD_SERVICE:${PN}-updater += "${@bb.utils.contains('PACKAGECONFIG', 'flash_bios', 'obmc-flash-h… 59 SYSTEMD_SERVICE:${PN}-updater += "${@bb.utils.contains('PACKAGECONFIG', 'static-dual-image', 'obmc-… 60 SYSTEMD_SERVICE:${PN}-updater += "${@bb.utils.contains('PACKAGECONFIG', 'static-dual-image', 'obmc-… 61 SYSTEMD_SERVICE:${PN}-updater += "${@bb.utils.contains('PACKAGECONFIG', 'static-dual-image', 'obmc-… 83 RDEPENDS:${PN}-updater += " \ 110 FILES:${PN}-updater += " \ [all …]
|
| /openbmc/openpower-pnor-code-mgmt/ |
| H A D | item_updater_main.cpp | 29 namespace updater namespace 35 static ItemUpdaterUbi updater(bus, SOFTWARE_OBJPATH); in initializeService() local 39 &updater, std::placeholders::_1)); in initializeService() 41 static ItemUpdaterMMC updater(bus, SOFTWARE_OBJPATH); in initializeService() local 43 static ItemUpdaterStatic updater(bus, SOFTWARE_OBJPATH); in initializeService() local 47 } // namespace updater 53 using namespace openpower::software::updater; in main()
|
| /openbmc/phosphor-bmc-code-mgmt/common/include/ |
| H A D | software_manager.hpp | 21 // This is the base class for the code updater 22 // Every code updater can inherit from this 30 // This should be called once by a code updater at startup. 42 // The component code updater overrides this function and may create a
|
| /openbmc/openpower-pnor-code-mgmt/ubi/ |
| H A D | obmc-flash-bios-ubiremount.service | 3 Wants=org.open_power.Software.Host.Updater.service 4 Before=org.open_power.Software.Host.Updater.service
|
| H A D | obmc-flash-bios-ubipatch.service | 6 After=org.open_power.Software.Host.Updater.service 14 WantedBy=org.open_power.Software.Host.Updater.service
|
| /openbmc/openpower-pnor-code-mgmt/mmc/ |
| H A D | openpower-process-host-firmware.service | 3 After=org.open_power.Software.Host.Updater.service 12 WantedBy=org.open_power.Software.Host.Updater.service
|
| H A D | obmc-flash-bios-init.service | 5 After=xyz.openbmc_project.Software.BMC.Updater.service 14 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
|
| H A D | openpower-update-bios-attr-table.service | 3 After=org.open_power.Software.Host.Updater.service 14 WantedBy=org.open_power.Software.Host.Updater.service
|
| H A D | activation_mmc.cpp | 7 namespace updater namespace 22 } // namespace updater
|
| H A D | obmc-flash-bios-patch.service | 7 After=xyz.openbmc_project.Software.BMC.Updater.service 16 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
|
| H A D | activation_mmc.hpp | 9 namespace updater namespace 30 } // namespace updater
|
| /openbmc/openpower-pnor-code-mgmt/dbus/ |
| H A D | org.open_power.Software.Host.Updater.conf | 5 <allow own="org.open_power.Software.Host.Updater"/> 6 <allow send_destination="org.open_power.Software.Host.Updater"/>
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/ |
| H A D | MultipartUpdate.interface.yaml | 3 updater, which will process a multi part image and orchestrate the code 5 bundled together using a defined encoding format; the multi part updater
|
| /openbmc/openbmc/meta-phosphor/classes/ |
| H A D | phosphor-software-manager-mmc.bbclass | 11 RDEPENDS:phosphor-software-manager-updater-mmc += " \ 17 SYSTEMD_SERVICE:phosphor-software-manager-updater-mmc += " \
|
| /openbmc/openpower-pnor-code-mgmt/static/ |
| H A D | activation_static.hpp | 12 namespace updater namespace 37 } // namespace updater
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/mmc/ |
| H A D | obmc-flash-mmc-umount.service.in | 3 After=xyz.openbmc_project.Software.BMC.Updater.service 15 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
|
| H A D | obmc-flash-mmc-mount.service.in | 3 Before=xyz.openbmc_project.Software.BMC.Updater.service 15 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | item_updater_main.cpp | 10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater; 19 ItemUpdaterIntf updater(ctx, SOFTWARE_OBJPATH, in main() local
|