Home
last modified time | relevance | path

Searched full:updater (Results 1 – 25 of 161) sorted by relevance

1234567

/openbmc/phosphor-power/tools/power-utils/test/
H A Dtest_updater.cpp16 #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 Dupdater.cpp17 #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 Dupdater.hpp28 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 Dupdater.cpp17 #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 Dphosphor-software-manager_%.bbappend3 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 Dexample_updater_main.cpp7 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 Dtools_updater_unittest.cpp5 #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 Dphosphor-software-manager_git.bb34 ${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 Ditem_updater_main.cpp29 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 Dsoftware_manager.hpp21 // 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 Dobmc-flash-bios-ubiremount.service3 Wants=org.open_power.Software.Host.Updater.service
4 Before=org.open_power.Software.Host.Updater.service
H A Dobmc-flash-bios-ubipatch.service6 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 Dopenpower-process-host-firmware.service3 After=org.open_power.Software.Host.Updater.service
12 WantedBy=org.open_power.Software.Host.Updater.service
H A Dobmc-flash-bios-init.service5 After=xyz.openbmc_project.Software.BMC.Updater.service
14 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
H A Dopenpower-update-bios-attr-table.service3 After=org.open_power.Software.Host.Updater.service
14 WantedBy=org.open_power.Software.Host.Updater.service
H A Dactivation_mmc.cpp7 namespace updater namespace
22 } // namespace updater
H A Dobmc-flash-bios-patch.service7 After=xyz.openbmc_project.Software.BMC.Updater.service
16 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
H A Dactivation_mmc.hpp9 namespace updater namespace
30 } // namespace updater
/openbmc/openpower-pnor-code-mgmt/dbus/
H A Dorg.open_power.Software.Host.Updater.conf5 <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 DMultipartUpdate.interface.yaml3 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 Dphosphor-software-manager-mmc.bbclass11 RDEPENDS:phosphor-software-manager-updater-mmc += " \
17 SYSTEMD_SERVICE:phosphor-software-manager-updater-mmc += " \
/openbmc/openpower-pnor-code-mgmt/static/
H A Dactivation_static.hpp12 namespace updater namespace
37 } // namespace updater
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/
H A Dobmc-flash-mmc-umount.service.in3 After=xyz.openbmc_project.Software.BMC.Updater.service
15 WantedBy=xyz.openbmc_project.Software.BMC.Updater.service
H A Dobmc-flash-mmc-mount.service.in3 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 Ditem_updater_main.cpp10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
19 ItemUpdaterIntf updater(ctx, SOFTWARE_OBJPATH, in main() local

1234567