Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
org/open_power/OCC/ | H | - | - | 9 | 7 | |
scripts/ | H | - | - | 438 | 411 | |
subprojects/ | H | - | - | |||
.clang-format | H A D | 01-Feb-2025 | 3.7 KiB | 137 | 135 | |
.gitignore | H A D | 09-Mar-2025 | 50 | 53 | 44 | |
LICENSE | H A D | 13-Oct-2015 | 11.1 KiB | 203 | 169 | |
OWNERS | H A D | 21-Dec-2023 | 1.6 KiB | 45 | 40 | |
README.md | H A D | 09-Mar-2025 | 1.6 KiB | 52 | 36 | |
bootstrap.sh | H A D | 13-Apr-2021 | 521 | 20 | 14 | |
elog-errors.hpp | H A D | 16-Aug-2024 | 14.1 KiB | 521 | 404 | |
host-interface.cpp | H A D | 16-Aug-2024 | 1.9 KiB | 67 | 42 | |
host-interface.hpp | H A D | 22-Jul-2022 | 1.8 KiB | 63 | 27 | |
meson.build | H A D | 09-Mar-2025 | 1.3 KiB | |||
meson.options | H A D | 09-Mar-2025 | 318 | |||
oemhandler.cpp | H A D | 09-Mar-2025 | 14.8 KiB | 466 | 333 | |
oemhandler.hpp | H A D | 16-Aug-2024 | 2.5 KiB | 89 | 61 |
README.md
1This .so file is designed to support the OpenPOWER's BIOS OEM commands. 2Documentation can be found by contacting the OpenPOWER mailing list @ 3https://github.com/open-power/op-build 4 5## To Build 6 7``` 8To build this package, do the following steps: 9 10 meson setup build 11 ninja -C build 12 13To clean the repository again run rm -rf build. 14``` 15 16## Supported Commands 17 18- Partial Add 19- Prepare for host update 20- BMC Factory Reset 21 22## Command Documentation 23 24### BMC Factory Reset 25 26Netfun: 0x3a Command: 0x11 27 28This command will call to reset the BMC to its factory default. See [here][0] 29for the factory reset implementation details. 30 31This includes: 32 331. Power the chassis off. The host needs to be powered off because the factory 34 reset deletes the inventory items, which are needed for the BMC during the 35 power on path, causing the power on to fail. The inventory items are 36 repopulated during a host power on. An enhancement to OpenBMC would be to 37 handle missing inventory items during a BMC reboot when the host is on. 382. Set the BMC to perform factory reset on reboot. 393. Reboot the BMC for the factory reset to take effect. 40 41Because the chassis is powered off, the host does not receive a return code when 42successful. 43 44This command is not allowed when the IPMI restriction mode is set to 45'Whitelist'. See [here][1] for more information. 46 47[0]: 48 https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Common/FactoryReset#xyzopenbmc_projectsoftwarebmcupdater 49[1]: 50 https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml 51