{"id":18368657,"url":"https://github.com/openbmc/openpower-host-ipmi-oem","last_synced_at":"2025-04-06T17:31:47.767Z","repository":{"id":74554705,"uuid":"44199337","full_name":"openbmc/openpower-host-ipmi-oem","owner":"openbmc","description":"phosphor-host-ipmid support package for OpenPower OEM commands.","archived":false,"fork":false,"pushed_at":"2025-03-17T15:13:47.000Z","size":214,"stargazers_count":2,"open_issues_count":1,"forks_count":8,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-17T16:28:13.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openbmc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-13T19:22:50.000Z","updated_at":"2025-03-17T15:13:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdc096e7-5a97-408f-845f-b207a7c79c3d","html_url":"https://github.com/openbmc/openpower-host-ipmi-oem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fopenpower-host-ipmi-oem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fopenpower-host-ipmi-oem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fopenpower-host-ipmi-oem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fopenpower-host-ipmi-oem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openbmc","download_url":"https://codeload.github.com/openbmc/openpower-host-ipmi-oem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522391,"owners_count":20952540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T23:26:54.964Z","updated_at":"2025-04-06T17:31:47.760Z","avatar_url":"https://github.com/openbmc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"This .so file is designed to support the OpenPOWER's BIOS OEM commands.\nDocumentation can be found by contacting the OpenPOWER mailing list @\nhttps://github.com/open-power/op-build\n\n## To Build\n\n```\nTo build this package, do the following steps:\n\n    meson setup build\n    ninja -C build\n\nTo clean the repository again run rm -rf build.\n```\n\n## Supported Commands\n\n- Partial Add\n- Prepare for host update\n- BMC Factory Reset\n\n## Command Documentation\n\n### BMC Factory Reset\n\nNetfun: 0x3a Command: 0x11\n\nThis command will call to reset the BMC to its factory default. See [here][0]\nfor the factory reset implementation details.\n\nThis includes:\n\n1. Power the chassis off. The host needs to be powered off because the factory\n   reset deletes the inventory items, which are needed for the BMC during the\n   power on path, causing the power on to fail. The inventory items are\n   repopulated during a host power on. An enhancement to OpenBMC would be to\n   handle missing inventory items during a BMC reboot when the host is on.\n2. Set the BMC to perform factory reset on reboot.\n3. Reboot the BMC for the factory reset to take effect.\n\nBecause the chassis is powered off, the host does not receive a return code when\nsuccessful.\n\nThis command is not allowed when the IPMI restriction mode is set to\n'Whitelist'. See [here][1] for more information.\n\n[0]:\n  https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Common/FactoryReset#xyzopenbmc_projectsoftwarebmcupdater\n[1]:\n  https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Control/Security/RestrictionMode.interface.yaml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbmc%2Fopenpower-host-ipmi-oem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbmc%2Fopenpower-host-ipmi-oem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbmc%2Fopenpower-host-ipmi-oem/lists"}