Home
last modified time | relevance | path

Searched full:psu (Results 1 – 25 of 213) sorted by relevance

123456789

/openbmc/docs/designs/
H A Dpsu-firmware-update.md1 # PSU firmware update
35 For PSU firmware update, it is preferred to re-use the same function for the
40 The PSU firmware shall be updated in the below cases:
43 2. After BMC code update and if there is a newer PSU image in the BMC's
44 filesystem, BMC shall update the PSU firmware;
45 3. When a PSU is replaced and the version is older than the one in BMC's
46 filesystem, BMC shall update the PSU firmware.
48 above cases regardless of which PSU image is newer.
50 different PSU firmware images need to be supported.
52 For some PSUs, it is risky to do PSU code update while the host is running to
[all …]
/openbmc/phosphor-psu-code-mgmt/
H A DREADME.md1 # phosphor-psu-code-mgmt
3 phosphor-psu-code-mgmt is a service to provide management for PSU code,
6 - PSU code version
7 - PSU code update
29 This repo contains generic code to handle the PSU versions and updates. It
30 depends on vendor-specific tools to provide the below functions on the real PSU
33 - Get PSU firmware version
34 - Get PSU model
36 - Update the PSU firmware
41 the PSU inventory path as input, and outputs the PSU version string to stdout.
[all …]
H A Dmeson.options33 description: 'The base path for PSU inventory',
40 description: 'The directory where downloaded or uploaded PSU images are placed and extracted',
43 # The PSU_VERSION_UTIL specifies an executable that accepts the PSU
47 # get_version <some-psu-path>
52 description: 'The command and arguments to get PSU version',
55 # The PSU_MODEL_UTIL specifies an executable that accepts the PSU
56 # inventory path as input and outputs the PSU model string.
63 description: 'The command and arguments to get the PSU model',
66 # The PSU_VERSION_COMPARE_UTIL specifies an executable that accepts the PSU
75 description: 'The command and arguments to compare PSU versions',
[all …]
/openbmc/phosphor-power/phosphor-power-supply/test/
H A Dpower_supply_tests.cpp10 using namespace phosphor::power::psu;
142 auto psu = std::make_unique<PowerSupply>(bus, "", 3, 0x68, "ibm-cffps", in TEST_F() local
160 auto psu = std::make_unique<PowerSupply>(bus, PSUInventoryPath, 3, 0x68, in TEST_F() local
178 auto psu = std::make_unique<PowerSupply>( in TEST_F() local
182 EXPECT_EQ(psu->isPresent(), false); in TEST_F()
183 EXPECT_EQ(psu->isFaulted(), false); in TEST_F()
184 EXPECT_EQ(psu->hasCommFault(), false); in TEST_F()
185 EXPECT_EQ(psu->hasInputFault(), false); in TEST_F()
186 EXPECT_EQ(psu->hasMFRFault(), false); in TEST_F()
187 EXPECT_EQ(psu->hasVINUVFault(), false); in TEST_F()
[all …]
/openbmc/linux/Documentation/hwmon/
Dcorsair-psu.rst
/openbmc/linux/drivers/hwmon/pmbus/
Dibm-cffps.c
Dq54sj108a2.c
/openbmc/phosphor-power/phosphor-power-supply/
H A Dpsu_manager.cpp231 std::find_if(psus.begin(), psus.end(), [&invpath](auto& psu) { in getPSUProperties() argument
232 return psu->getInventoryPath() == invpath; in getPSUProperties()
249 auto psu = std::make_unique<PowerSupply>( in getPSUProperties() local
254 psus.emplace_back(std::move(psu)); in getPSUProperties()
396 // Call to validate the psu configuration if the power is on and both in entityManagerIfaceAdded()
473 // A PSU became present, force the PSU validation to run. in presenceChanged()
487 // Call D-Bus method to inform pseq of PSU error in setPowerSupplyError()
565 for (auto& psu : psus) in syncHistory() local
567 psu->clearSyncHistoryRequired(); in syncHistory()
574 std::any_of(psus.begin(), psus.end(), [](const auto& psu) { in analyze() argument
[all …]
H A Dchassis.cpp137 std::find_if(psus.begin(), psus.end(), [&invpath](auto& psu) { in getPSUProperties() argument
138 return psu->getInventoryPath() == invpath; in getPSUProperties()
156 auto psu = std::make_unique<PowerSupply>( in getPSUProperties() local
159 psus.emplace_back(std::move(psu)); in getPSUProperties()
296 // A PSU became present, force the PSU validation to run. in psuPresenceChanged()
327 std::for_each(psus.begin(), psus.end(), [&driverName](auto& psu) { in populateDriverName() argument
328 if (!psu->getDriverName().empty()) in populateDriverName()
330 driverName = psu->getDriverName(); in populateDriverName()
335 [&driverName](auto& psu) { psu->setDriverName(driverName); }); in populateDriverName() argument
378 for (const auto& psu : psus) in validateConfig() local
[all …]
/openbmc/entity-manager/configurations/solum/
H A Dsolum_pssf162202_psu.json7 "Name": "SOLUM CO IS162F22 PSU FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Fan Speed 2"
46 "Name": "PSU$ADDRESS % 4 + 1 Fan 2",
51 "Pwm PSU$ADDRESS % 4 + 1 Fan 2"
59 "PSU"
70 "PSU$ADDRESS % 4 + 1 Temperature"
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/
H A Dphosphor-psu-software-manager_git.bb2 SUMMARY = "Phosphor PSU software manager"
3 DESCRIPTION = "Providing PSU firmware version and upgrade"
4 HOMEPAGE = "https://github.com/openbmc/phosphor-psu-code-mgmt"
17 SRC_URI = "git://github.com/openbmc/phosphor-psu-code-mgmt;branch=master;protocol=https"
20 SYSTEMD_SERVICE:${PN} = "xyz.openbmc_project.Software.Psu.Updater.service"
21 SYSTEMD_SERVICE:${PN} += "psu-update@.service"
41 ## * PSU_VERSION_UTIL accepts a PSU inventory path and returns the PSU
43 ## * PSU_MODEL_UTIL accepts a PSU inventory path and returns the PSU
45 ## * PSU_VERSION_COMPARE_UTIL accepts several PSU inventory paths and return
50 ## The psu-update@.service from repo is an example service that only prints a log and fails
[all …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.hpp41 * @brief Manages the activation of the PSU version items.
88 * new "running" PSU images
95 * "running" PSU software image
107 /** @brief Notify a PSU is updated
110 * @param[in] psuInventoryPath - The PSU inventory path that is updated
138 /** @brief Callback function for PSU inventory match.
144 /** @brief Called when a PSU inventory object has changed
145 * @details Update an Activation D-Bus object for PSU inventory.
148 * @param[in] psuPath - The PSU inventory path
167 /** @brief Create Activation and Version object for PSU inventory
[all …]
H A Dactivation.cpp58 // PSU image could be activated even when it's in active, in requestedActivation()
59 // e.g. in case a PSU is replaced and has a older image, it will be in requestedActivation()
60 // updated with the running PSU image that is stored in BMC. in requestedActivation()
75 // Activate again once the current activation is done. New PSU in requestedActivation()
76 // information may have been found on D-Bus, or a new PSU may have in requestedActivation()
138 lg2::error("Error starting update service for PSU {PSU}: {ERROR}", in doUpdate()
139 "PSU", psuInventoryPath, "ERROR", e); in doUpdate()
154 // Do the update on a PSU in doUpdate()
155 const auto& psu = psuQueue.front(); in doUpdate() local
156 return doUpdate(psu); in doUpdate()
[all …]
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dampere_psu_reset_hotswap.sh3 # When system only use single PSU ( ex : PSU1 ) to power ON normal 12V,
7 # Due to HSC2 protected, the PSU redundancy mechanism can't be created.
12 # - When BMC detect event PSU is plugged in system, BMC will reset HSC
18 # BMC can't detect PSU plug/unplug, then the work-around won't be executed
29 # $1 will be the name of the psu
30 PSU=$1
32 if [ "$PSU" = 0 ]; then
35 elif [ "$PSU" = 1 ]; then
60 echo "PSU $PSU: FET health problems have been detected"
61 echo "Reset Hot swap output on PSU $PSU"
[all …]
/openbmc/entity-manager/configurations/
H A D3ypower_vast2112_psu.json6 "Name": "psu$ADDRESS % 4 fru",
21 "Name": "psu$ADDRESS % 4",
24 "fan1_Name": "psu$ADDRESS % 4 fan",
25 "iout1_Name": "psu$ADDRESS % 4 iout",
26 "pin_Name": "psu$ADDRESS % 4 pin",
27 "pout1_Name": "psu$ADDRESS % 4 pout",
28 "temp1_Name": "psu$ADDRESS % 4 temp",
29 "vin_Name": "psu$ADDRESS % 4 vin",
30 "vout1_Name": "psu$ADDRESS % 4 vout"
33 "Name": "3YPOWER VAST2112 PSU$ADDRESS % 4",
H A Dflextronics_s-1100adu00-201_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]
/openbmc/phosphor-psu-code-mgmt/vendor-example/
H A Dget_version.cpp4 // Get the version string for a PSU and output to stdout
12 printf("Usage: %s <psu-inventory-path>\n", argv[0]); in main()
16 std::string psu = argv[1]; in main() local
17 if (psu.size() < NUM_OF_BYTES) in main()
19 psu.append(NUM_OF_BYTES - psu.size(), '0'); //"0", 8 - psu.size()); in main()
22 printf("%s", psu.substr(psu.size() - NUM_OF_BYTES).c_str()); in main()
/openbmc/entity-manager/configurations/delta/
H A Ddelta_dps-750xb_psu.json7 "Name": "PSU$ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU$ADDRESS % 4 + 1 LCC",
[all …]
H A Ddelta_dps-1600ab_psu.json7 "Name": "PSU$ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU$ADDRESS % 4 + 1 LCC",
[all …]
H A Ddelta_dps-2000ab_psu.json7 "Name": "PSU$ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU$ADDRESS % 4 + 1 LCC",
[all …]
/openbmc/entity-manager/configurations/aspower/
H A Daspower_u1a-d10550_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]
H A Daspower_u1d-d10800_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]
H A Daspower_u1a-d11600_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]
H A Daspower_u1a-d10800_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]
H A Daspower_u1a-d11200_psu.json7 "Name": "PSU $ADDRESS % 4 + 1 FRU",
18 "PSU$ADDRESS % 4 + 1 Fan Speed 1"
20 "Name": "PSU$ADDRESS % 4 + 1 Fan 1",
25 "Pwm PSU$ADDRESS % 4 + 1 Fan 1"
33 "PSU"
44 "PSU$ADDRESS % 4 + 1 Temperature"
46 "Name": "PSU$ADDRESS % 4 + 1 Temperature",
58 "PSU"
64 "PSU$ADDRESS % 4 + 1 Temperature"
66 "Name": "PSU $ADDRESS % 4 + 1 LCC",
[all …]

123456789